:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --white: #fff;
  --ink: #171713;
  --muted: #706f67;
  --line: #e4dfd3;
  --gold: #a68b59;
  --gold-dark: #79643f;
  --sand: #f5efe2;
  --sage: #536a4d;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { overflow-x: clip; margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.site-header,
.site-footer {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 760; text-decoration: none; }
.brand-mark, .closing-mark { width: 31px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.site-nav { display: flex; align-items: center; gap: 27px; }
.site-nav > a { color: var(--muted); font-size: .9rem; font-weight: 650; text-decoration: none; }
.site-nav > a:hover { color: var(--ink); }
.language-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.72); }
.language-switch a { display: grid; min-width: 31px; height: 30px; place-items: center; border-radius: 99px; padding: 0 7px; font-size: .72rem; font-weight: 720; text-decoration: none; }
.language-switch a[aria-current="page"] { color: white; background: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(480px, 1.2fr) minmax(300px, .8fr);
  align-items: center;
  gap: clamp(52px, 9vw, 124px);
  width: min(1160px, calc(100% - 48px));
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: 50px 0 100px;
}

.eyebrow, .section-label { margin: 0 0 18px; color: var(--gold-dark); font-size: .76rem; font-weight: 780; letter-spacing: .15em; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px rgba(83,106,77,.11); }
.hero h1 { margin: 0; font-size: clamp(3.75rem, 7.5vw, 7.4rem); font-weight: 750; line-height: .98; letter-spacing: -.075em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .english-hero-title { font-size: clamp(3.25rem, 6vw, 5rem); letter-spacing: -.06em; }
.keep-line { white-space: nowrap; }
.keep-word { white-space: nowrap; }
.hero-lead { max-width: 630px; margin: 30px 0 0; color: #595951; font-size: clamp(1.02rem, 1.7vw, 1.22rem); line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 23px; margin-top: 34px; }
.store-placeholder { display: inline-flex; min-height: 49px; align-items: center; border-radius: 99px; padding: 0 21px; color: white; background: var(--ink); font-size: .9rem; font-weight: 700; }
.text-link { color: var(--gold-dark); font-size: .88rem; font-weight: 700; text-underline-offset: 4px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; color: #7a786f; font-size: .78rem; }
.trust-row span::before { margin-right: 7px; color: var(--sage); content: "✓"; font-weight: 800; }

.device-column { display: flex; min-width: 0; align-items: center; flex-direction: column; }
.phone-stage { position: relative; width: min(100%, 326px); }
.phone-glow { position: absolute; inset: 17% -10% -5%; border-radius: 50%; background: radial-gradient(circle, rgba(190,169,119,.31), transparent 67%); filter: blur(10px); }
.phone-frame { position: relative; padding: 9px; border: 2px solid #494943; border-radius: 56px; background: linear-gradient(145deg, #66655f, #111 18%, #030303 78%, #4a4944); box-shadow: 0 42px 90px rgba(77,65,42,.22), inset 0 0 0 2px rgba(255,255,255,.16); }
.phone-screen { position: relative; overflow: hidden; border-radius: 46px; aspect-ratio: 1179 / 2556; background: #fff; cursor: pointer; outline: none; }
.phone-screen:focus-visible { box-shadow: inset 0 0 0 3px var(--gold); }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 170ms ease, transform 220ms ease; }
.phone-screen:hover img { transform: scale(1.006); }
.phone-screen img.is-changing { opacity: .24; }
.dynamic-island { position: absolute; top: 13px; left: 50%; width: 30%; height: 24px; border-radius: 99px; background: #050505; transform: translateX(-50%); }
.phone-hardware { position: absolute; z-index: 0; inset: 0; pointer-events: none; }
.phone-hardware::before,
.phone-hardware::after { position: absolute; display: block; content: ""; }
.phone-hardware::before {
  top: 16%;
  left: -5px;
  width: 4px;
  height: 23%;
  border-radius: 4px 0 0 4px;
  background:
    linear-gradient(#303137 0 0) top / 100% 15% no-repeat,
    linear-gradient(#303137 0 0) center / 100% 31% no-repeat,
    linear-gradient(#303137 0 0) bottom / 100% 31% no-repeat;
  box-shadow: inset 1px 0 rgba(255,255,255,.13);
}
.phone-hardware::after {
  top: 29%;
  right: -5px;
  width: 4px;
  height: 12%;
  border-radius: 0 4px 4px 0;
  background: #303137;
  box-shadow: inset -1px 0 rgba(255,255,255,.13);
}
.showcase-dots { display: flex; gap: 10px; margin-top: 26px; }
.showcase-dot { width: 9px; height: 9px; border: 0; border-radius: 99px; padding: 0; background: #d3cfc5; cursor: pointer; transition: width 180ms ease, background 180ms ease; }
.showcase-dot.is-active { width: 28px; background: var(--gold); }

.intro { width: min(850px, calc(100% - 48px)); margin: 80px auto 110px; text-align: center; }
.intro h2, .privacy-callout h2, .closing h2 { margin: 0; font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.15; letter-spacing: -.055em; }
.intro > p:last-child { max-width: 650px; margin: 24px auto 0; color: var(--muted); font-size: 1.05rem; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.feature-card { position: relative; overflow: hidden; min-height: 500px; border: 1px solid var(--line); border-radius: 34px; padding: clamp(28px, 4vw, 52px); background: rgba(255,255,255,.7); }
.feature-card h2 { max-width: 510px; margin: 17px 0 14px; font-size: clamp(1.75rem, 3.5vw, 3rem); line-height: 1.13; letter-spacing: -.045em; text-wrap: balance; }
.feature-card p { max-width: 540px; margin: 0; color: var(--muted); }
.feature-number { color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.feature-card-large, .library-card { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 410px; align-items: center; gap: 60px; min-height: 680px; padding-bottom: 0; background: linear-gradient(135deg, #fff 0%, #f6f0e4 100%); }
.feature-card ul { margin: 26px 0 0; padding: 0; color: #54534c; list-style: none; font-size: .9rem; }
.feature-card li { margin: 9px 0; }
.feature-card li::before { margin-right: 9px; color: var(--gold); content: "—"; }
.feature-phone { position: relative; align-self: end; width: 335px; margin: 0 auto; filter: drop-shadow(0 28px 35px rgba(74,59,29,.15)); transform: translateY(42px); }
.feature-phone img, .screen-pair img { width: 100%; border: 0; border-radius: 14% / 6.5%; background: white; }
.calendar-card { display: flex; min-height: 620px; flex-direction: column; background: #f3eee3; }
.wide-screen { position: relative; width: 72%; margin: 44px -5% -38% auto; transform: rotate(-3deg); filter: drop-shadow(0 24px 28px rgba(77,60,27,.13)); }
.wide-screen img { width: 100%; border: 6px solid #252522; border-radius: 38px; }
.share-card { display: flex; min-height: 620px; flex-direction: column; background: linear-gradient(145deg, #eef3e8, #f7f1e5); }
.share-phone { position: relative; width: 67%; margin: 44px -3% -35% auto; filter: drop-shadow(0 24px 28px rgba(54,72,43,.15)); transform: rotate(3deg); }
.share-phone img { width: 100%; border: 6px solid #252522; border-radius: 38px; }
.insight-card { background: var(--ink); color: white; }
.insight-card p { color: #bcbcb3; }
.metric-demo { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-top: 58px; }
.metric-demo div { border-top: 1px solid #45453e; padding-top: 17px; }
.metric-demo b, .metric-demo span { display: block; }
.metric-demo b { font-size: clamp(1.35rem,3vw,2.2rem); letter-spacing: -.04em; }
.metric-demo span { margin-top: 5px; color: #96958d; font-size: .72rem; }
.reward-card { background: #eef1e9; }
.milestone { position: absolute; right: 44px; bottom: 44px; left: 44px; border-radius: 22px; padding: 25px; background: rgba(255,255,255,.7); }
.milestone > span, .milestone > strong, .milestone > small { display: block; }
.milestone > span, .milestone > small { color: #747b70; font-size: .72rem; }
.milestone > strong { margin: 4px 0 14px; font-size: 2rem; }
.milestone div { height: 6px; overflow: hidden; border-radius: 99px; background: #dce1d8; }
.milestone i { display: block; width: 67%; height: 100%; border-radius: inherit; background: var(--sage); }
.milestone small { margin-top: 9px; }
.library-card { grid-template-columns: .78fr 1.22fr; background: #f7f4ec; }
.screen-pair { display: flex; align-self: end; align-items: flex-end; gap: 18px; }
.screen-pair figure { position: relative; width: 50%; margin: 0; filter: drop-shadow(0 25px 24px rgba(77,60,27,.13)); }
.screen-pair figure:first-child { transform: translateY(60px); }
.screen-pair figure:last-child { transform: translateY(95px); }
.profiles-card { display: grid; grid-column: 1 / -1; grid-template-columns: 1fr 285px; align-items: center; gap: 60px; min-height: 500px; padding-bottom: 0; background: #fff; }
.profiles-card p { max-width: 660px; }
.profile-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 55px; }
.profile-chips span { border: 1px solid var(--line); border-radius: 99px; padding: 13px 19px; color: var(--muted); font-size: .82rem; }
.profile-chips .is-selected { border-color: #d6c394; color: var(--gold-dark); background: var(--sand); }
.profile-phone { position: relative; align-self: end; width: 255px; margin: 0 auto; filter: drop-shadow(0 25px 25px rgba(77,60,27,.12)); transform: translateY(35px); }
.profile-phone img { width: 100%; border: 0; border-radius: 14% / 6.5%; background: white; }
.feature-phone,
.screen-pair figure,
.profile-phone {
  padding: clamp(5px, 0.7vw, 8px);
  border: 2px solid #4a515b;
  border-radius: 16% / 7.4%;
  background: linear-gradient(145deg, #646b74, #12161b 18%, #050709 76%, #3d444c);
  box-shadow:
    0 24px 46px rgba(29,49,72,.18),
    inset 0 0 0 1px rgba(255,255,255,.16);
}
.feature-phone::after,
.screen-pair figure::after,
.profile-phone::after {
  position: absolute;
  z-index: 2;
  top: clamp(7px, 2.6vw, 14px);
  left: 50%;
  width: 29%;
  aspect-ratio: 3.25 / 1;
  border-radius: 999px;
  background: #050505;
  content: "";
  transform: translateX(-50%);
}

.privacy-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; width: min(1160px, calc(100% - 48px)); margin: 120px auto 0; border-radius: 34px; padding: 55px; color: white; background: var(--ink); }
.privacy-icon { display: grid; width: 65px; height: 65px; place-items: center; border: 1px solid #44443e; border-radius: 50%; color: #d3bc8b; font-size: 2rem; }
.privacy-callout .section-label { margin-bottom: 12px; color: #cab17c; }
.privacy-callout h2 { max-width: 720px; font-size: clamp(2rem,4vw,3.6rem); }
.privacy-callout .keep-privacy-title { max-width: none; font-size: clamp(1.2rem, 3.15vw, 3rem); white-space: nowrap; }
.privacy-callout p:last-child { max-width: 710px; margin: 18px 0 0; color: #b5b4ac; }
.privacy-link { white-space: nowrap; color: #e5d6b5; font-size: .85rem; font-weight: 700; text-underline-offset: 4px; }
.closing { width: min(860px, calc(100% - 48px)); margin: 150px auto; text-align: center; }
.closing-mark { width: 58px; }
.closing h2 { margin-top: 26px; }
.closing p { margin: 22px 0 0; color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 27px 0 38px; color: #7d7b72; font-size: .77rem; }
.site-footer div { display: flex; gap: 22px; }

.policy-page { background: #f5f2ea; }
.policy-shell { width: min(860px, calc(100% - 40px)); margin: 55px auto 100px; }
.policy-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.policy-card { border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px,6vw,68px); background: white; box-shadow: 0 24px 65px rgba(77,66,42,.07); }
.policy-card h1 { margin: 0 0 8px; font-size: clamp(2.2rem,5vw,3.9rem); line-height: 1.08; letter-spacing: -.055em; }
.policy-card h2 { margin: 42px 0 12px; font-size: 1.18rem; letter-spacing: -.02em; }
.policy-card p, .policy-card li { color: #5f5e57; font-size: .94rem; }
.policy-card .policy-summary { border-left: 3px solid #b9a16d; margin: 30px 0; padding: 5px 0 5px 20px; color: #3f3e38; font-size: 1.02rem; }
.effective-date { margin: 0; color: #97948a !important; font-size: .78rem !important; }
.policy-card a { color: var(--gold-dark); }
.policy-foot { margin-top: 24px; color: #8c897f; text-align: center; font-size: .75rem; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; text-align: center; }
  .hero-copy { display: flex; align-items: center; flex-direction: column; }
  .hero h1 { font-size: clamp(3.7rem,15vw,6.3rem); }
  .device-column { margin-top: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large, .library-card, .profiles-card { grid-column: auto; }
  .feature-card-large, .library-card { grid-template-columns: 1fr 300px; gap: 20px; }
  .privacy-callout { grid-template-columns: auto 1fr; }
  .privacy-link { grid-column: 2; }
}

@media (max-width: 640px) {
  .site-header, .site-footer, .hero, .feature-grid, .privacy-callout { width: min(100% - 30px, 1160px); }
  .site-header { padding: 18px 0; }
  .site-nav { gap: 13px; }
  .site-nav > a:first-child { display: none; }
  .hero { gap: 35px; padding: 56px 0 75px; }
  .hero h1 { font-size: clamp(3rem,14vw,4.7rem); }
  .hero .english-hero-title { font-size: clamp(2.6rem, 11.3vw, 4rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { flex-direction: column; gap: 14px; }
  .trust-row { justify-content: center; gap: 10px 15px; }
  .phone-stage { width: 270px; }
  .intro { margin: 65px auto 75px; }
  .feature-card { min-height: 440px; border-radius: 25px; padding: 30px 25px; }
  .feature-card-large, .library-card { display: block; padding-bottom: 0; }
  .feature-phone { width: 240px; margin-top: 30px; }
  .calendar-card, .share-card { min-height: 590px; }
  .wide-screen { width: 88%; margin: 42px -2% -25% auto; }
  .share-phone { width: 78%; margin: 42px -2% -25% auto; }
  .metric-demo { margin-top: 48px; }
  .milestone { right: 25px; bottom: 28px; left: 25px; }
  .screen-pair { margin-top: 30px; }
  .screen-pair figure:first-child { transform: translateY(35px); }
  .screen-pair figure:last-child { transform: translateY(58px); }
  .profiles-card { display: block; min-height: 650px; }
  .profile-phone { width: 225px; margin-top: 35px; }
  .privacy-callout { display: block; margin-top: 80px; padding: 35px 27px; }
  .privacy-icon { margin-bottom: 26px; }
  .privacy-link { display: inline-block; margin-top: 25px; }
  .closing { margin: 100px auto; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; }
  .policy-shell { margin-top: 28px; }
  .policy-top .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
