:root {
  --ink: #26302c;
  --muted: #68716d;
  --paper: #f7f6f1;
  --surface: #fffefa;
  --accent: #3f6653;
  --accent-dark: #2f4d3f;
  --accent-soft: #e5ece6;
  --blue: #687b8a;
  --warm: #a47f67;
  --gold: #b49a66;
  --line: #d9ddd8;
  --shadow: 0 18px 48px rgba(38, 48, 44, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 221, 216, 0.9);
  background: rgba(247, 246, 241, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 23px;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 38px);
}

.site-nav a {
  color: #4d5853;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-nav a:not(.nav-cta):hover { color: var(--accent); }

.nav-cta {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white !important;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(78px, 10vw, 140px) clamp(24px, 7vw, 104px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span { width: 22px; height: 1px; background: var(--accent); }

h1, h2 {
  margin: 0;
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 730;
}

h1 em, h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

h1 em { color: var(--accent); }

.hero-lead {
  margin: 36px 0 32px;
  color: #4e5954;
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 13px 19px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.primary-button:hover { background: var(--accent-dark); transform: translateY(-2px); }
.primary-button span { font-size: 17px; }

.hero-art {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.phone {
  position: relative;
  z-index: 3;
  width: min(280px, 66vw);
  height: 540px;
  padding: 9px;
  border: 1px solid #59615d;
  border-radius: 40px;
  background: #303936;
  box-shadow: var(--shadow);
}

.phone-camera {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 68px;
  height: 18px;
  border-radius: 20px;
  background: #303936;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  border-radius: 32px;
  background: #dfe8e1;
  overflow: hidden;
}

.screen-word {
  position: absolute;
  top: 128px;
  left: 24px;
  color: #5c7869;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.08em;
}

.screen-card {
  position: absolute;
  right: 24px;
  bottom: 38px;
  width: 150px;
  padding: 17px;
  border: 1px solid rgba(63, 102, 83, 0.22);
  border-radius: 12px;
  background: rgba(255, 254, 250, 0.9);
  color: #46534d;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.2;
}

.screen-dot { position: absolute; border-radius: 50%; opacity: 0.7; }
.dot-one { top: 62px; right: 28px; width: 42px; height: 42px; background: #b6c7bd; }
.dot-two { top: 274px; left: 48px; width: 24px; height: 24px; background: #c9b69c; }

.orbit, .sticker { display: none; }

.hero-note {
  position: absolute;
  bottom: 28px;
  left: clamp(24px, 7vw, 104px);
  margin: 0;
  color: #8a918d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

.hero-note span { margin-left: 10px; }

.apps-section {
  padding: clamp(90px, 11vw, 150px) clamp(24px, 7vw, 104px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.section-heading, .filter-row, .app-grid { max-width: 1240px; margin-inline: auto; }

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 64px;
}

.section-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.section-heading h2 { font-size: clamp(50px, 6.3vw, 84px); }
.section-heading h2 em { color: var(--accent); }
.section-heading > p:last-child { max-width: 390px; margin: 0 0 6px; color: var(--muted); font-size: 16px; }

.filter-row { display: flex; gap: 8px; margin-top: 52px; margin-bottom: 26px; }

.filter {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: transparent;
  color: #5a645f;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.filter:hover, .filter.is-active { border-color: var(--accent); background: var(--accent); color: white; }

.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.app-card {
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) 1.2fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.app-card:hover { border-color: #c8cec9; box-shadow: var(--shadow); transform: translateY(-3px); }
.app-card[hidden] { display: none; }
.app-visual { position: relative; min-height: 100%; border-right: 1px solid var(--line); overflow: hidden; }
.app-content { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3vw, 40px); }
.app-type { margin: 0 0 18px; color: var(--muted); font-size: 9px; font-weight: 750; letter-spacing: 0.16em; }
.app-content h3 { margin: 0; font-size: clamp(27px, 2.7vw, 40px); line-height: 1.05; letter-spacing: -0.045em; font-weight: 690; }
.app-content > p:not(.app-type) { margin: 20px 0 28px; color: #606964; font-size: 14px; font-weight: 450; }
.app-content a { margin-top: auto; color: var(--accent); font-size: 12px; font-weight: 700; text-underline-offset: 5px; }
.app-content a span { font-size: 15px; }

.visual-roulette { display: grid; place-items: center; background: #eee6de; }
.roulette-wheel {
  width: 135px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid #59645f;
  border-radius: 50%;
  background: conic-gradient(#d7dfd8 0 25%, #faf9f5 0 50%, #b7c6bc 0 75%, #d7c4b6 0);
}
.roulette-wheel::after { content: ""; position: absolute; width: 30px; height: 30px; border: 2px solid #59645f; border-radius: 50%; background: white; }
.roulette-wheel span { position: relative; z-index: 2; color: #59645f; font-size: 17px; font-weight: 750; }

.visual-flow { display: grid; place-items: center; background: #dfe4e7; }
.flow-grid { width: 135px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.flow-grid i { aspect-ratio: 1; border-radius: 4px; background: #758795; }
.flow-grid i:nth-child(2), .flow-grid i:nth-child(6), .flow-grid i:nth-child(8) { background: #aebcaf; }
.flow-grid i:nth-child(3), .flow-grid i:nth-child(7) { opacity: 0; }

.visual-compass { display: grid; place-items: center; background: #e1ebe4; }
.compass-face { position: relative; width: 140px; aspect-ratio: 1; display: grid; place-items: start center; padding-top: 9px; border: 2px solid #59645f; border-radius: 50%; background: #fffefa; color: #59645f; font-weight: 700; }
.compass-face::before, .compass-face::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 52px; background: #a47f67; clip-path: polygon(50% 0, 100% 100%, 50% 80%, 0 100%); transform: translate(-50%, -82%); }
.compass-face::after { background: #687b8a; transform: translate(-50%, -18%) rotate(180deg); }

.visual-burger { display: grid; place-items: center; align-content: center; background: #efe7d5; }
.burger { width: 135px; }
.burger i { display: block; height: 21px; margin-top: 4px; border-radius: 5px; background: #bd8b5d; }
.burger i:first-child { height: 39px; border-radius: 60px 60px 9px 9px; background: #caa373; }
.burger i:nth-child(2) { height: 14px; background: #91a687; }
.burger i:nth-child(3) { background: #795b4d; }
.burger i:last-child { height: 29px; border-radius: 7px 7px 28px 28px; background: #caa373; }
.visual-burger b { margin-top: 22px; color: #765e4c; font-size: 29px; letter-spacing: -0.06em; }

.visual-chains { display: grid; place-items: center; background: #dfe5e8; }
.visual-chains i { position: absolute; width: 61px; aspect-ratio: 1; border: 2px solid rgba(47, 77, 63, 0.35); border-radius: 50%; background: #bdcbbf; }
.visual-chains i:nth-child(1) { transform: translate(-34px, -38px); }
.visual-chains i:nth-child(2) { width: 43px; background: #d0b9a9; transform: translate(34px, -28px); }
.visual-chains i:nth-child(3) { width: 76px; background: #879a8f; transform: translate(18px, 38px); }
.visual-chains i:nth-child(4) { width: 27px; background: white; transform: translate(-52px, 39px); }
.visual-chains i:nth-child(5) { width: 17px; background: #b6c4cb; transform: translate(62px, 61px); }

.app-card--more { display: flex; align-items: center; padding: clamp(26px, 3vw, 40px); background: #eef2ee; }
.app-card--more .app-content { flex: 1; padding: 0 0 0 30px; }
.more-icon { flex: 0 0 118px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #aebbb2; border-radius: 50%; color: var(--accent); }
.more-icon span { font-size: 34px; font-weight: 620; }

.about-section {
  min-height: 660px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.about-kicker {
  display: flex;
  align-items: flex-end;
  padding: clamp(44px, 7vw, 100px);
  background: #dfe8e1;
  color: #587061;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
  overflow: hidden;
}

.about-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(58px, 8vw, 118px); }
.about-copy h2 { font-size: clamp(42px, 4.7vw, 68px); line-height: 1.12; }
.about-copy h2 em { color: var(--accent); }
.about-copy > p:not(.eyebrow, .about-signature) { max-width: 580px; margin: 36px 0 0; color: var(--muted); font-size: 16px; line-height: 2; }
.about-signature { margin-top: 44px; color: #7a837f; font-family: Georgia, "Times New Roman", serif; font-style: italic; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  padding: 32px clamp(20px, 5vw, 72px);
  background: #2e3d36;
  color: #f7f6f1;
}

.brand--footer .brand-mark { background: #f7f6f1; color: var(--accent-dark); }
.site-footer p { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links { display: flex; justify-content: flex-end; gap: 25px; }
.footer-links a { color: #e7ebe8; font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.1em; }

.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid #82978b; outline-offset: 4px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 760px; }
  .hero-art { min-height: 570px; }
  .hero-note { display: none; }
  .app-card { grid-template-columns: 1fr; }
  .app-visual { min-height: 225px; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-card--more { display: flex; }
  .about-section { grid-template-columns: 1fr; }
  .about-kicker { min-height: 480px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 66px; }
  .brand { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-button { display: grid; gap: 6px; width: 40px; height: 40px; place-content: center; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
  .menu-button > span:not(.sr-only) { display: block; width: 19px; height: 1px; background: var(--ink); transition: 180ms ease; }
  .menu-button[aria-expanded="true"] > span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 66px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; font-size: 14px; }
  .site-nav .nav-cta { padding: 11px 14px; margin-top: 9px; text-align: center; }
  .hero { padding-top: 76px; }
  .hero-art { min-height: 475px; }
  .phone { width: 224px; height: 430px; border-radius: 34px; }
  .phone-screen { border-radius: 27px; }
  .screen-word { top: 106px; left: 18px; font-size: 70px; }
  .screen-card { width: 125px; font-size: 14px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; }
  .section-heading .eyebrow { grid-column: auto; }
  .filter-row { margin-top: 38px; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 0; }
  .app-card--more { min-height: 280px; }
  .more-icon { flex-basis: 92px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: none; }
}

@media (max-width: 420px) {
  h1 { font-size: 49px; }
  .hero-art { min-height: 420px; }
  .phone { width: 202px; height: 385px; }
  .screen-word { font-size: 61px; }
  .app-card--more { align-items: flex-start; flex-direction: column; }
  .app-card--more .app-content { padding: 26px 0 0; }
  .about-kicker { min-height: 400px; font-size: 45px; }
  .about-copy { padding-inline: 25px; }
  .site-footer { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
