/* Dusk's palette (ios/Packages/TollUI/Sources/TollUI/Tokens): dark first, light as warm paper,
   nothing pure white in either (design §2.3, decisions D95). The sky is the same night in both. */
:root {
  color-scheme: dark light;
  --bg: #131210;
  --surface: #1c1a17;
  --raised: #25231f;
  --sep: #2d2b27;
  --label: #eeece6;
  --label2: #aaa69e;
  --label3: #77736b;
  --accent: #e9b96e;
  --accent-soft: rgba(233, 185, 110, 0.14);
  --on-accent: #1c1408;
  --sky-text: #eeece6;
  --sky-text2: #c9c6d3;
  --gutter: 24px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #edeae4;
    --surface: #e6e3dc;
    --raised: #dad6ce;
    --sep: #cfcac0;
    --label: #1a1c20;
    --label2: #4f5258;
    --label3: #72757b;
    --accent: #744c0b;
    --accent-soft: rgba(116, 76, 11, 0.14);
    --on-accent: #f6f4ef;
  }
}

@media (prefers-contrast: more) {
  :root {
    --label: #f7f5f0;
    --label2: #c2beb6;
    --accent: #f2cd91;
  }
}

@media (prefers-contrast: more) and (prefers-color-scheme: light) {
  :root {
    --label: #0e0f11;
    --label2: #3f4247;
    --accent: #5e3d09;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--label);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.sky :focus-visible {
  outline-color: #e9b96e;
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  background: var(--surface);
  color: var(--label);
  padding: 10px 14px;
  border-radius: 10px;
}

.skip:focus {
  top: 12px;
}

.eyebrow {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--label2);
  margin-bottom: 14px;
}

/* The sky: Your sky's evening light (SkyColor.palette(.evening)), with its amber glow from the
   horizon, a fixed dust of faint stars, and land in the page's own colour. */
.sky {
  position: relative;
  color: var(--sky-text);
  background:
    radial-gradient(ellipse 75% 42% at 50% 100%, rgba(233, 185, 110, 0.34), transparent 72%),
    linear-gradient(#05070f 0%, #0c1030 42%, #1f1d47 74%, #3a2b4e 100%);
  isolation: isolate;
}

.sky::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 6% 18%, #eeece6 50%, transparent 51%),
    radial-gradient(1px 1px at 12% 42%, #dde3f0 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 19% 9%, #eeece6 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 30%, #dde3f0 50%, transparent 51%),
    radial-gradient(2px 2px at 31% 14%, #f3e6cf 50%, transparent 51%),
    radial-gradient(1px 1px at 37% 48%, #dde3f0 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 43% 6%, #eeece6 50%, transparent 51%),
    radial-gradient(1px 1px at 48% 26%, #dde3f0 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 55% 11%, #e4ebf7 50%, transparent 51%),
    radial-gradient(1px 1px at 59% 38%, #dde3f0 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 66% 20%, #eeece6 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 7%, #dde3f0 50%, transparent 51%),
    radial-gradient(2.2px 2.2px at 78% 16%, #e9b96e 50%, transparent 51%),
    radial-gradient(1px 1px at 83% 34%, #dde3f0 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 89% 10%, #eeece6 50%, transparent 51%),
    radial-gradient(1px 1px at 94% 27%, #dde3f0 50%, transparent 51%),
    radial-gradient(1px 1px at 3% 60%, #dde3f0 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 15% 70%, #eeece6 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 58%, #dde3f0 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 55%, #dde3f0 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 92% 52%, #eeece6 50%, transparent 51%),
    radial-gradient(1px 1px at 97% 66%, #dde3f0 50%, transparent 51%);
  opacity: 0.9;
}

.land {
  display: block;
  width: 100%;
  height: clamp(48px, 9vw, 120px);
  margin-top: -1px;
}

.land .ridge {
  fill: var(--bg);
  opacity: 0.32;
}

.land .hill {
  fill: var(--bg);
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
}

.top nav ul {
  display: flex;
  gap: 4px 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}

.top nav a {
  color: inherit;
  text-decoration: none;
  opacity: 0.86;
}

.top nav a:hover,
.top nav a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-top: 40px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

.hero .lead {
  margin-top: 22px;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.45;
  color: var(--sky-text2);
  max-width: 32em;
}

.terms {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 16px;
  background: #e9b96e;
  color: #1c1408;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  background: #f2cd91;
}

.terms p {
  color: var(--sky-text2);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.terms strong {
  color: var(--sky-text);
  font-weight: 600;
}

.phone.hero-phone {
  justify-self: center;
  margin-bottom: -220px;
  position: relative;
  z-index: 1;
}

/* A phone: the screenshot in a dark frame. No shadow (design §2.4); the frame and the page's
   tone set it apart. */
.phone {
  width: min(300px, 78vw);
  border-radius: 52px;
  padding: 9px;
  background: #0a0a0b;
  border: 1px solid #3b3a40;
  margin: 0;
}

.phone img {
  width: 100%;
  border-radius: 43px;
  aspect-ratio: 600 / 1304;
  object-fit: cover;
  background: #131210;
}

.phone.small {
  width: min(250px, 66vw);
  border-radius: 44px;
  padding: 8px;
}

.phone.small img {
  border-radius: 36px;
}

/* Sections */
main section {
  padding: clamp(72px, 10vw, 136px) 0 0;
}

main > section:last-of-type {
  padding-bottom: clamp(72px, 10vw, 136px);
}

.facts {
  padding-top: 200px;
}

.facts ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sep);
}

.facts li {
  padding: 28px 24px 0 0;
}

.facts li + li {
  padding-left: 24px;
  border-left: 1px solid var(--sep);
}

.facts .num {
  display: block;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.facts .what {
  display: block;
  margin-top: 8px;
  color: var(--label2);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}

.feature.flip .copy {
  order: 2;
}

.feature .copy {
  max-width: 30em;
}

.feature h2,
.band h2 {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

.feature .copy > p:not(.eyebrow),
.band .intro {
  margin-top: 18px;
  color: var(--label2);
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
}

.feature .copy > p strong {
  color: var(--label);
  font-weight: 600;
}

.feature .shots {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.notes {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--sep);
}

.notes li {
  padding: 14px 0;
  border-bottom: 1px solid var(--sep);
  color: var(--label2);
  font-size: 0.9875rem;
  line-height: 1.5;
}

.notes li strong {
  color: var(--label);
  font-weight: 600;
}

/* Cards: the page's surface, a hairline, 18 pt corners. */
.cards {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--sep);
  border-radius: 18px;
  padding: 22px 20px 24px;
}

.card h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.card p {
  margin-top: 8px;
  color: var(--label2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.band .intro {
  max-width: 38em;
}

.privacy-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.privacy-grid .card {
  padding: 24px 22px 26px;
}

.band .more {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-weight: 500;
}

/* Price */
.price {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--sep);
  border-radius: 18px;
  overflow: hidden;
}

.price > div {
  padding: 24px 24px 26px;
}

.price > div + div {
  border-top: 1px solid var(--sep);
}

.price .big {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price .big.accent {
  color: var(--accent);
}

.price .sub {
  margin-top: 12px;
  color: var(--label2);
}

.price ul {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.price li {
  padding: 10px 0;
  border-top: 1px solid var(--sep);
  color: var(--label);
  font-size: 0.9875rem;
}

/* FAQ: disclosure without script. */
.faq {
  margin-top: 36px;
  border-top: 1px solid var(--sep);
  max-width: 50em;
}

.faq details {
  border-bottom: 1px solid var(--sep);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  font-size: 1.0625rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--label3);
  border-bottom: 2px solid var(--label3);
  transform: translateY(-70%) rotate(45deg);
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq details > div {
  padding: 0 0 22px;
  color: var(--label2);
  max-width: 42em;
}

.faq details > div p + p {
  margin-top: 10px;
}

/* Footer */
.foot {
  border-top: 1px solid var(--sep);
  padding: 36px 0 48px;
  color: var(--label2);
  font-size: 0.9375rem;
}

.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}

.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot a {
  color: var(--label);
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

.foot .brand {
  color: var(--label);
  font-size: 1rem;
}

.foot .brand img {
  width: 24px;
  height: 24px;
}

/* Text pages: privacy, support, 404. The sky is a band under the header. */
.page-head {
  padding-bottom: 8px;
}

.page-head h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  padding: 36px 0 8px;
}

.page-head .lead {
  color: var(--sky-text2);
  font-size: 1.125rem;
  max-width: 36em;
}

.prose,
.page-head {
  max-width: calc(44rem + 2 * var(--gutter));
}

.prose {
  padding-top: 32px;
  padding-bottom: 96px;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 48px 0 14px;
  letter-spacing: -0.01em;
}

.prose p,
.prose li {
  color: var(--label2);
}

.prose p + p {
  margin-top: 14px;
}

.prose strong {
  color: var(--label);
  font-weight: 600;
}

.prose ul {
  padding-left: 1.2em;
  margin: 14px 0 0;
}

.prose li + li {
  margin-top: 12px;
}

.prose li::marker {
  color: var(--label3);
}

.prose .updated {
  color: var(--label2);
  font-size: 0.9375rem;
}

.prose .first {
  color: var(--label);
  font-size: 1.1875rem;
  margin-top: 20px;
}

.contact {
  margin-top: 8px;
  background: var(--surface);
  border: 1px solid var(--sep);
  border-radius: 18px;
  padding: 22px 22px 24px;
}

.contact p {
  color: var(--label2);
}

.contact p + p {
  margin-top: 10px;
}

.contact .address {
  color: var(--label);
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.qa h2 {
  font-size: 1.25rem;
  margin: 40px 0 10px;
}

.center {
  text-align: center;
  padding: 72px 0 120px;
}

.center p {
  color: var(--label2);
  margin-top: 14px;
}

.center .links {
  margin-top: 28px;
  display: flex;
  gap: 12px 28px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Wide tablets and narrow laptops */
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* Phones */
@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 20px;
  }
  .phone.hero-phone {
    margin-bottom: -150px;
  }
  .facts {
    padding-top: 150px;
  }
  .facts ul {
    grid-template-columns: 1fr;
  }
  .facts li,
  .facts li + li {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--sep);
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature.flip .copy {
    order: 0;
  }
  .feature .shots {
    gap: 12px;
  }
  .feature .shots .phone.small {
    width: min(220px, 44vw);
    border-radius: 34px;
    padding: 6px;
  }
  .feature .shots .phone.small img {
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  :root {
    --gutter: 16px;
  }
  .top nav ul {
    gap: 4px 16px;
  }
}

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

.sky .eyebrow {
  color: var(--sky-text2);
}

.also-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
}

.band .site-note {
  margin-top: 20px;
  font-size: 0.9375rem;
}
