:root {
  --bg: #ffffff;
  --ink: #161616;
  --paper: #ffffff;
  --surface: #fbfaf7;
  --muted: #746d64;
  --line: rgba(22, 22, 22, 0.12);
  --white: #ffffff;
  --gold: #b8893b;
  --sage: #6f8a63;
  --shadow: 0 22px 60px rgba(34, 25, 15, 0.12);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(22, 22, 22, 0.06);
  backdrop-filter: blur(18px);
}

.solid-header {
  position: sticky;
  background: rgba(255, 255, 255, 0.94);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: url("/favicon.svg") center / contain no-repeat;
  box-shadow: 0 10px 26px rgba(184, 137, 59, 0.18);
}

.nav-links {
  gap: clamp(12px, 2.5vw, 30px);
  font-size: 14px;
  color: rgba(22, 22, 22, 0.72);
}

.nav-links a {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid rgba(22, 22, 22, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}

.portfolio-hero {
  min-height: 82svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(116px, 16vw, 180px) clamp(20px, 5vw, 72px) clamp(64px, 8vw, 110px);
  background:
    radial-gradient(circle at 82% 24%, rgba(184, 137, 59, 0.12), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.portfolio-copy {
  max-width: 760px;
}

.portfolio-symbol {
  width: min(100%, 380px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(251, 250, 247, 0.78)),
    var(--white);
  box-shadow: var(--shadow);
}

.portfolio-symbol img {
  width: 58%;
  height: 58%;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 39%, rgba(255, 255, 255, 0.12) 74%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(690px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 88px);
  padding-top: 72px;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(60px, 11vw, 132px);
  line-height: 0.9;
  font-weight: 760;
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(22, 22, 22, 0.68);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.button-secondary {
  border: 1px solid rgba(22, 22, 22, 0.18);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.section-heading {
  position: sticky;
  top: 110px;
}

.apps-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.app-list {
  display: grid;
  gap: 20px;
}

.app-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(22, 22, 22, 0.1);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-preview {
  min-height: 340px;
  background: var(--white);
}

.app-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 62% center;
}

.app-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(26px, 4vw, 46px);
}

.app-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.app-card-body .eyebrow {
  margin: 0;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
}

.text-link {
  color: #2f615f;
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.feature-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-item {
  min-height: 220px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
}

.feature-index {
  display: block;
  margin-bottom: 34px;
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
}

.feature-item p,
.privacy-strip p,
.policy-content p {
  color: var(--muted);
  line-height: 1.72;
}

.privacy-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--ink);
}

.policy-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(197, 164, 106, 0.16), transparent 28rem),
    var(--paper);
}

.policy-shell {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) 0 clamp(72px, 10vw, 128px);
}

.policy-hero {
  margin-bottom: clamp(36px, 6vw, 70px);
}

.policy-hero h1 {
  color: var(--ink);
  font-size: clamp(48px, 8vw, 92px);
}

.policy-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.policy-content {
  display: grid;
  gap: 34px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.policy-content section {
  display: grid;
  gap: 12px;
}

.policy-content h2 {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.15;
}

.policy-content p {
  margin: 0;
  font-size: 16px;
}

.policy-content a {
  color: #2f615f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .site-header {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 88svh;
    align-items: end;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.8) 48%, rgba(255, 255, 255, 0.2) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.1));
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 110px 0 58px;
  }

  .feature-band,
  .apps-section,
  .privacy-strip {
    grid-template-columns: 1fr;
  }

  .portfolio-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .portfolio-symbol {
    width: min(72vw, 300px);
    border-radius: 30px;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-preview {
    min-height: 260px;
  }

  .section-heading {
    position: static;
  }

  .privacy-strip .button {
    width: fit-content;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 15px;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    padding-inline: 18px;
  }

  .feature-item {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
