/* ScentMe public web surface.
   Palette mirrors AppPalette in the iPhone app so both read as one brand.
   System fonts only: no third-party font host, nothing to leak, nothing to block. */

:root {
  --ground: #FAF9F6;
  --field: #F3F0EA;
  --card: #FFFFFF;
  --ink: #241F2B;
  --muted: #736C65;
  --gold: #E4C57C;
  --violet: #554A6E;
  --border: rgba(36, 31, 43, 0.11);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #17141B;
    --field: #201C27;
    --card: #1E1A24;
    --ink: #F0EDE7;
    --muted: #A79FA8;
    --gold: #E4C57C;
    --violet: #B9A9D4;
    --border: rgba(240, 237, 231, 0.14);
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0 22px 88px;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 43rem; margin: 0 auto; }

/* --- masthead --- */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 44px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.wordmark::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-1px);
}

.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a {
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); border-bottom-color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* --- type --- */

h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 6vw, 47px);
  line-height: 1.08;
  letter-spacing: -0.018em;
  font-weight: 600;
  margin: 0 0 14px;
  text-wrap: balance;
}

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 40px;
}

h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.008em;
  margin: 44px 0 10px;
  text-wrap: balance;
}

h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin: 30px 0 8px;
}

p { margin: 0 0 15px; }
ul, ol { margin: 0 0 15px; padding-left: 21px; }
li { margin-bottom: 7px; }

a { color: var(--violet); text-underline-offset: 2px; }
a:hover { color: var(--ink); }

strong { font-weight: 650; }

.effective {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 38px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

/* --- blocks --- */

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  margin: 26px 0;
}
.panel h2, .panel h3 { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }

.pull {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
  color: var(--muted);
}
.pull > :last-child { margin-bottom: 0; }

.contact {
  display: inline-block;
  font-weight: 600;
  font-size: 17px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ground);
  text-decoration: none;
  margin: 6px 0 4px;
}
.contact:hover, .contact:focus-visible { background: var(--violet); color: #fff; }

dl.facts { margin: 0; }
dl.facts div {
  display: flex;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
dl.facts div:last-child { border-bottom: none; }
dl.facts dt { flex: 0 0 11rem; font-weight: 600; margin: 0; }
dl.facts dd { flex: 1 1 14rem; margin: 0; color: var(--muted); }

/* --- footer --- */

footer {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 3px; }

@media (max-width: 540px) {
  body { font-size: 16.5px; }
  dl.facts dt { flex-basis: 100%; }
}

/* --- public launch holding page --- */

body.coming-soon {
  min-height: 100dvh;
  padding: 0;
  overflow-x: hidden;
  background: #1C1720;
  color: #F7F2E9;
}

.coming-soon-main {
  width: min(100%, 100rem);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(4rem, 11vh, 8rem) clamp(1.5rem, 8vw, 8rem) max(2rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.coming-soon-lockup {
  margin-block: auto;
}

.coming-soon-lockup h1 {
  max-width: none;
  margin: 0;
  color: #F7F2E9;
  font-family: var(--serif);
  font-size: clamp(5rem, 17vw, 15.5rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.065em;
  text-wrap: nowrap;
}

.coming-soon-lockup p {
  margin: clamp(2.25rem, 6vh, 4.5rem) 0 0;
  color: #B6A7C0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1.3;
}

.coming-soon-links {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 2.4rem);
  padding-top: 2rem;
}

.coming-soon-links a {
  color: #B6A7C0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

.coming-soon-links a:hover,
.coming-soon-links a:focus-visible {
  color: #F7F2E9;
}

@media (max-width: 620px) {
  .coming-soon-main {
    padding: max(2rem, env(safe-area-inset-top)) 1.5rem max(1.5rem, env(safe-area-inset-bottom));
    justify-content: flex-start;
  }

  .coming-soon-lockup {
    margin: 27dvh 0 auto;
  }

  .coming-soon-lockup h1 {
    font-size: clamp(4.4rem, 23.5vw, 7rem);
    line-height: 0.86;
  }

  .coming-soon-lockup p {
    margin-top: 2rem;
    font-size: 1.1rem;
  }

  .coming-soon-links {
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .coming-soon-lockup,
  .coming-soon-links {
    animation: coming-soon-enter 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .coming-soon-links { animation-delay: 80ms; }
}

@keyframes coming-soon-enter {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}
