/* DimSnap web — direction B "Tape". Orange is for marks only, never text or behind white text. */
:root {
  --ink: #111111;
  --ground: #f5f5f7;
  --sheet: #ffffff;
  --hairline: #e5e5ea;
  --muted: #6e6e73;
  --signal: #ff5a1f;
  --radius: 28px;
  --max: 1080px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f5f5f7; --ground: #000000; --sheet: #1c1c1e; --hairline: #2c2c2e; --muted: #a1a1a6; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--ground) 80%, transparent); border-bottom: 1px solid var(--hairline); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 10px 22px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { margin-left: auto; display: flex; gap: 20px; align-items: center; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-links .pill { color: var(--sheet); background: var(--ink); padding: 6px 14px; border-radius: 999px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .nav-links .pill { color: #000; } }

/* Sections */
section { padding: 96px 22px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.center { text-align: center; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .02em; margin: 0 0 10px; }
h1, h2 { letter-spacing: -0.025em; line-height: 1.07; margin: 0; font-weight: 700; }
h1 { font-size: clamp(44px, 8vw, 88px); }
h2 { font-size: clamp(34px, 5.4vw, 60px); }
.lead { font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); max-width: 640px; margin: 18px auto 0; line-height: 1.4; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 17px; text-decoration: none; }
.btn-ink { background: var(--ink); color: var(--ground); }
.btn-ghost { border: 1.5px solid var(--hairline); color: var(--ink); }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Measurement mark: the brand's dimension line, drawn under a headline word. */
.mark { position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: -0.04em; height: 0.055em; background: var(--signal); border-radius: 1px; }
.mark::before { content: ""; position: absolute; left: 0.02em; right: 0.02em; bottom: -0.1em; height: 0.18em;
  border-left: 0.05em solid var(--signal); border-right: 0.05em solid var(--signal); }

/* Phones */
.phone { width: min(320px, 78vw); border-radius: 46px; padding: 10px; background: #1d1d1f;
  box-shadow: 0 30px 80px rgba(0,0,0,.18), 0 2px 0 rgba(255,255,255,.06) inset; }
.phone img { border-radius: 37px; }
.hero-phone { margin: 56px auto 0; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature.flip .copy { order: 2; }
.feature .copy h2 { font-size: clamp(32px, 4.2vw, 48px); }
.feature .copy p { font-size: 19px; color: var(--muted); margin: 16px 0 0; max-width: 440px; }
.feature .art { display: flex; justify-content: center; }
.band { background: var(--sheet); }
@media (max-width: 760px) {
  section { padding: 72px 22px; }
  .feature { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .feature.flip .copy { order: 0; }
  .feature .copy p { margin-left: auto; margin-right: auto; }
}

/* Privacy trio */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.tile { background: var(--sheet); border-radius: var(--radius); padding: 30px 26px; text-align: left; }
.band .tile { background: var(--ground); }
.tile .k { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.tile p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.plan { background: var(--sheet); border-radius: var(--radius); padding: 30px 26px; border: 2px solid transparent; text-align: left; }
.band .plan { background: var(--ground); }
.plan.best { border-color: var(--signal); }
.plan .name { font-weight: 600; color: var(--muted); font-size: 15px; }
.plan .price { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: 17px; font-weight: 600; color: var(--muted); }
.plan .sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.free-line { margin-top: 28px; color: var(--muted); font-size: 16px; }
.checks { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; max-width: 760px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.checks li::before { content: ""; width: 14px; height: 8px; border-left: 2.5px solid var(--signal); border-bottom: 2.5px solid var(--signal);
  transform: rotate(-45deg) translateY(-2px); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 40px auto 0; text-align: left; }
details { border-top: 1px solid var(--hairline); padding: 18px 2px; }
details:last-child { border-bottom: 1px solid var(--hairline); }
summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p, details li { color: var(--muted); font-size: 16px; }
details p { margin: 12px 0 0; }

/* Footer */
footer { padding: 40px 22px 56px; border-top: 1px solid var(--hairline); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
footer a { color: var(--muted); }
footer .sp { margin-left: auto; }

/* Long-form (privacy) */
.doc { max-width: 720px; margin: 0 auto; padding: 72px 22px 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); }
.doc h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 40px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); margin-top: 10px; }
.doc hr { border: 0; border-top: 1px solid var(--hairline); margin: 64px 0; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
[id] { scroll-margin-top: 64px; }
h1, h2, .lead { text-wrap: balance; }
.nav-links a { white-space: nowrap; }
@media (max-width: 640px) {
  .nav-links { gap: 14px; }
  .nav-links .sec { display: none; }
}
