/* Worth website. White page, black ink, one blue. */
:root {
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e7e7e2;
  --soft: #f6f6f3;
  --blue: #2b2fd9;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arimo, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
  --read: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--read); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.top .brand img { width: 108px; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* Hero */
.hero { display: grid; gap: 32px; padding-block: 40px 72px; align-items: center; }
.hero h1 {
  font: 400 clamp(42px, 9vw, 76px)/1.04 var(--serif);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.hero h1 em { font-style: italic; color: var(--blue); }
.hero p.lede { font-size: 19px; color: var(--muted); margin: 0 0 32px; max-width: 30em; }
.hero .art, .closing img { mix-blend-mode: multiply; }
.hero .art { max-width: min(300px, 80%); justify-self: center; margin: -10px 0; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 14px;
  background: var(--ink); color: #fff; text-decoration: none;
  line-height: 1.15;
}
.badge:hover { color: #fff; background: #000; }
.badge svg { width: 24px; height: 24px; flex: none; }
.badge small { display: block; font-size: 11px; letter-spacing: 0.02em; opacity: 0.8; }
.badge strong { display: block; font-size: 18px; font-weight: 600; }
.badge.soon { background: transparent; color: var(--muted); border: 1px solid var(--line); cursor: default; }
.badge.soon:hover { color: var(--muted); }

/* Sections */
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; font-weight: 600; }
h2 { font: 400 clamp(32px, 6vw, 48px)/1.1 var(--serif); letter-spacing: -0.015em; margin: 0 0 16px; }
.intro { padding-block: 56px 24px; }
.intro p { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0; }


.closing { text-align: center; padding-block: 80px 96px; border-top: 1px solid var(--line); }
.closing img { width: min(320px, 70%); margin: 0 auto 8px; }
.closing p { color: var(--muted); max-width: 30em; margin: 0 auto 28px; }
.closing .badges { justify-content: center; }

/* Documents */
.doc { padding: 40px 0 80px; }
.doc h1 { font: 400 clamp(38px, 7vw, 56px)/1.08 var(--serif); letter-spacing: -0.02em; margin: 0 0 10px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 40px; }
.doc h2 { font: 600 19px/1.35 var(--sans); letter-spacing: 0; margin: 36px 0 8px; }
.doc p, .doc li { color: #333; }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc li { margin: 0 0 6px; }
.doc .note { background: var(--soft); border-radius: 16px; padding: 18px 20px; margin: 32px 0 0; font-size: 15px; color: var(--muted); }
.doc .note p:last-child { margin: 0; }
.steps li::marker { color: var(--blue); font-weight: 600; }
.mail { color: var(--blue); font-weight: 500; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (min-width: 800px) {
  .hero { grid-template-columns: 1.15fr 0.85fr; padding-block: 72px 104px; }
  .top nav { gap: 28px; }
  .hero .art { max-width: 420px; }
}

.hero .meta { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* Preview: a soft band with the store screenshots in a row that scrolls sideways. */
.gallery { background: var(--soft); padding-block: 72px 56px; margin-bottom: 24px; }
.gallery-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.gallery-head h2 { margin: 0; }
.gallery-head .eyebrow { margin-bottom: 10px; }
.arrows { display: none; gap: 10px; flex: none; }
.arrows button {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--line);
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.arrows button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.arrows button:disabled { opacity: 0.35; cursor: default; }
.arrows svg { width: 18px; height: 18px; }
.shots {
  --edge: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
  list-style: none; margin: 0; padding: 8px var(--edge) 44px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(72vw, 300px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.shots::-webkit-scrollbar { display: none; }
.shots:focus-visible { outline-offset: -4px; }
.shots li { scroll-snap-align: start; }
.shots img {
  width: 100%; border-radius: 28px; background: var(--blue);
  box-shadow: 0 24px 48px -24px rgba(43, 47, 217, 0.45), 0 2px 6px rgba(20, 20, 20, 0.06);
  transition: transform 0.35s ease;
}
.shots li:hover img { transform: translateY(-6px); }
.dots { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; }
.dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: #cfcfc8; transition: width 0.25s, background 0.25s;
}
.dots button[aria-current="true"] { width: 24px; background: var(--blue); }

@media (min-width: 800px) {
  .shots li:nth-child(even) { margin-top: 28px; }
  .shots { padding-bottom: 64px; }
}
@media (max-width: 799px) {
  .shots li { scroll-snap-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .shots img, .dots button, .arrows button { transition: none; }
  .shots li:hover img { transform: none; }
}

/* Features */
.features { display: grid; gap: 28px 40px; padding-block: 24px 80px; }
.features h3 { font: 600 18px/1.3 var(--sans); margin: 0 0 6px; }
.features p { margin: 0; color: var(--muted); }

@media (min-width: 800px) {
  .arrows { display: flex; }
  .features { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 560px) and (max-width: 799px) {
  .features { grid-template-columns: 1fr 1fr; }
}

/* Documents: lead, sub-headings, table, contact cards, questions */
.doc .lead { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0 8px; }
.doc h2#details { font: 400 clamp(28px, 5vw, 36px)/1.15 var(--serif); margin-top: 32px; }
.doc h3 { font: 600 17px/1.35 var(--sans); margin: 32px 0 8px; }
.doc .table { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--soft); font-weight: 600; color: var(--ink); }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { font-weight: 500; color: var(--ink); }
.doc .contact { display: grid; gap: 14px; margin: 8px 0 8px; }
.doc .contact > div { background: var(--soft); border-radius: 16px; padding: 4px 20px 16px; }
.doc .contact h2 { margin-top: 16px; }
.doc .contact p { margin: 0; }
.doc details { border-bottom: 1px solid var(--line); }
.doc details:first-of-type { border-top: 1px solid var(--line); }
.doc summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 22px; font-weight: 400; color: var(--blue); }
.doc details[open] summary::after { content: "–"; }
.doc details p { margin: -4px 0 16px; }
@media (min-width: 640px) { .doc .contact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) {
  .doc .table { border: 0; overflow: visible; }
  .doc table { min-width: 0; }
  .doc thead { display: none; }
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc tr { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; }
  .doc td { border: 0; padding: 2px 0; }
  .doc td:first-child { font-size: 16px; padding-bottom: 6px; }
  .doc td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}
