@font-face { font-family: 'Fraunces'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/Fraunces-500.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/Fraunces-600.woff2') format('woff2'); }
@font-face { font-family: 'Fraunces'; font-weight: 500; font-style: italic; font-display: swap; src: url('/fonts/Fraunces-500-italic.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/Inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/Inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/Inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/fonts/Inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Sacramento'; font-weight: 400; font-display: swap; src: url('/fonts/Sacramento-400.woff2') format('woff2'); }

:root {
  --bg: #FAF7F1;
  --surface: #F3EFE7;
  --line: #E5DFD3;
  --fg: #221F1C;
  --fg2: #4A443C;
  --muted: #6B6152;
  --green: #3F6259;
  --green-dark: #2E4A43;
  --link: #3F6259;
  --btn-bg: #3F6259;
  --btn-fg: #FFFFFF;
  --gold: #B8862F;
  --err: #A33F22;
  --ok: #2E6B4F;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Sacramento', cursive;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16201C;
    --surface: #1E2B26;
    --line: #2D3D36;
    --fg: #EDF2EE;
    --fg2: #C4D0C9;
    --muted: #A3B2AA;
    --green: #8FB8A8;
    --green-dark: #8FB8A8;
    --link: #A9CDBE;
    --btn-bg: #8FB8A8;
    --btn-fg: #10201A;
    --gold: #D6A24C;
    --err: #F0A38C;
    --ok: #9AD3B6;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; color: var(--fg); }
h1 { font-size: clamp(38px, 6.2vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 21px; }
em { font-style: italic; font-weight: 500; color: var(--green); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

.top { padding-block: 18px; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--script); font-size: 42px; line-height: 1; color: var(--green-dark); text-decoration: none; padding-top: 4px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--fg2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--fg); text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 16px; padding: 14px 24px; border-radius: 12px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { opacity: .92; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-line:hover { border-color: var(--green); }
.btn-small { padding: 9px 16px; font-size: 14px; }
.btn-big { padding: 18px 32px; font-size: 18px; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--fg2); max-width: 36em; margin-top: 22px; }
.sub { color: var(--fg2); max-width: 40em; margin-top: 14px; }

.hero { padding-block: clamp(24px, 6vw, 64px) clamp(40px, 7vw, 84px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-text { min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); max-width: 32em; }

.phones { position: relative; margin: 0; height: clamp(470px, 52vw, 600px); display: flex; justify-content: center; }
.phones figcaption { position: absolute; left: 0; right: 0; bottom: -4px; text-align: center; font-size: 13px; color: var(--muted); }
.phone { position: absolute; width: clamp(190px, 21vw, 250px); aspect-ratio: 9 / 18.6; border-radius: 34px; padding: 8px; background: #1A1F1D; box-shadow: 0 24px 50px rgba(34, 31, 28, .22); top: 0; }
.phone-light { left: 50%; transform: translateX(-88%) rotate(-3deg); z-index: 1; }
.phone-dark { left: 50%; transform: translateX(-10%) translateY(34px) rotate(3deg); z-index: 2; background: #0E1411; box-shadow: 0 24px 50px rgba(0, 0, 0, .4); }
.screen { height: 100%; border-radius: 27px; overflow: hidden; padding: 14px 12px 0; display: flex; flex-direction: column; gap: 9px; background: #F7F3EC; color: #221F1C; font-size: 11px; line-height: 1.3; }
.phone-dark .screen { background: #131C18; color: #EDF2EE; }
.s-top { display: flex; justify-content: space-between; align-items: center; }
.s-logo { font-family: var(--script); font-size: 26px; line-height: 1; color: #2F5249; }
.phone-dark .s-logo { color: #A9CDBE; }
.s-bell { width: 22px; height: 22px; border-radius: 8px; background: #EAE3D6; }
.phone-dark .s-bell { background: #243229; }
.s-hello { font-family: var(--serif); font-size: 17px; line-height: 1.12; font-weight: 600; }
.s-hello em { color: #3F6259; }
.phone-dark .s-hello em { color: #A9CDBE; }
.s-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 7px; }
.s-col { display: grid; gap: 7px; }
.tile { border-radius: 14px; padding: 9px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; position: relative; overflow: hidden; min-height: 58px; }
.tile b { font-family: var(--serif); font-size: 12.5px; line-height: 1.12; font-weight: 600; }
.tile small { font-size: 9.5px; opacity: .9; }
.tile-night { background: #2F5249; min-height: 130px; }
.tile-diary { background: #C77D4E; }
.tile-plan { background: #6F8452; }
.tile-ex { background: #D18F4D; min-height: 52px; }
.moon { position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%; background: #F1D9A0; box-shadow: inset -8px -2px 0 #2F5249; }
.s-tabs { margin-top: auto; margin-inline: -12px; display: flex; justify-content: space-around; padding: 9px 4px 11px; font-size: 8.5px; color: #8A8073; background: #FFFFFF; }
.phone-dark .s-tabs { background: #18241F; color: #8FA196; }
.s-tabs .on { color: #2F5249; font-weight: 700; }
.phone-dark .s-tabs .on { color: #A9CDBE; }

.block { padding-block: clamp(48px, 7vw, 88px); }
.block.alt { background: var(--surface); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; margin-top: 34px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.alt .card { background: var(--bg); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--fg2); font-size: 16px; }

.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--green); }
.steps b { font-size: 18px; }
.steps span { color: var(--fg2); font-size: 16px; }

.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.stores { display: grid; gap: 12px; margin-top: 26px; max-width: 420px; }
.store { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; opacity: .85; }
.store.live { opacity: 1; border-color: var(--green); background: var(--btn-bg); color: var(--btn-fg); }
.store[aria-disabled="true"] { cursor: default; }
.store-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); min-width: 70px; }
.store.live .store-k { color: inherit; opacity: .85; }
.store-n { font-weight: 600; font-size: 18px; }
.store-s { font-size: 13px; font-weight: 600; color: var(--gold); }
.store.live .store-s { color: inherit; }

.notify { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 14px; min-width: 0; }
.notify[hidden] { display: none; }
.notify-lead { color: var(--fg2); }
.field { font-size: 14px; font-weight: 600; color: var(--fg2); }
.notify input[type="email"] { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg); color: var(--fg); }
.notify input[type="email"]:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-color: var(--green); }
.seg { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.seg legend { font-size: 14px; font-weight: 600; color: var(--fg2); padding: 0; margin-bottom: 8px; }
.seg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg legend { grid-column: 1 / -1; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 11px 6px; border-radius: 10px; border: 2px solid var(--line); background: var(--bg); font-weight: 600; font-size: 15px; }
.seg input:checked + span { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.seg input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--fg2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--green); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.4em; font-size: 15px; font-weight: 500; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.small { font-size: 13.5px; color: var(--muted); }

.web { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.web > div { max-width: 40em; min-width: 0; }

.foot { padding-block: 40px 56px; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 16px; }
.urgent { font-size: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.foot-links a { color: var(--fg2); }

@media (max-width: 860px) {
  .hero-in, .two { grid-template-columns: minmax(0, 1fr); }
  .phones { height: 470px; order: 2; }
  .phone { width: 190px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .phones { height: 430px; }
  .phone { width: 168px; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.bio { min-height: 100vh; display: grid; place-items: center; padding-block: 36px; }
.bio-in { width: 100%; max-width: 460px; display: grid; gap: 22px; text-align: center; justify-items: center; }
.bio .logo { font-size: 64px; }
.bio h1 { font-size: clamp(26px, 7vw, 32px); }
.bio-sub { color: var(--fg2); max-width: 24em; margin-top: -8px; }
.bio-links { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.bio-link { display: grid; gap: 2px; text-align: left; padding: 18px 20px; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); text-decoration: none; min-height: 68px; align-content: center; transition: transform .15s ease, border-color .15s ease; }
.bio-link:hover { border-color: var(--green); }
.bio-link:active { transform: translateY(1px); }
.bio-link b { font-size: 18px; font-weight: 600; }
.bio-link span { font-size: 14px; color: var(--muted); }
.bio-link.main { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.bio-link.main span { color: inherit; opacity: .85; }
.bio-foot { font-size: 13px; color: var(--muted); max-width: 26em; }
