/* centlyapp.com. Cently brand: near-black ink, white surface, lime used rarely. Geist, self-hosted. */
@font-face { font-family: Geist; src: url(/assets/fonts/geist-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/assets/fonts/geist-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/assets/fonts/geist-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --surface: #FFFFFF;
  --sunken: #F6F6F3;
  --ink: #0D0E10;
  --muted: #5E6066;
  --line: rgba(13, 14, 16, 0.1);
  --lime: #C8F04A;
  --on-lime: #0D0E10;
  --frame: #0D0E10;
  --radius: 24px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0D0E10;
    --sunken: #17181B;
    --ink: #F6F6F3;
    --muted: #A2A4A9;
    --line: rgba(246, 246, 243, 0.12);
    --frame: #2A2C30;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 400 17px/1.6 Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 48px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 10; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--surface) 85%, transparent); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; min-height: 44px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav .lang { color: var(--ink); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; border: 1px solid var(--line); padding: 6px 10px; min-height: 0; margin-left: 6px; }
@media (max-width: 640px) { .nav a:not(.lang) { display: none; } }

/* button: "coming soon" is information, not a link, until the app is live */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--surface); font-weight: 500; font-size: 16px; padding: 14px 22px; border-radius: 999px; min-height: 52px; }
.btn .apple { width: 18px; height: 18px; fill: currentColor; margin-top: -2px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 0 96px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 88px); letter-spacing: -0.045em; line-height: 0.98; }
.hero .lead { margin-top: 24px; max-width: 30ch; }
.hero-cta { margin-top: 36px; display: grid; gap: 14px; justify-items: start; }
.hero-shots { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-shots .front { position: relative; width: min(290px, 70vw); z-index: 2; transform: translateX(28px); }
.hero-shots .back { position: absolute; width: min(250px, 60vw); top: 72px; left: 50%; transform: translateX(-118%) rotate(-4deg); opacity: 0.96; }
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 72px; gap: 40px; }
  .hero-shots { min-height: 0; }
  .hero-shots .back { display: none; }
  .hero-shots .front { transform: none; }
}

/* phone */
.phone { background: var(--frame); border-radius: 46px; padding: 9px; box-shadow: 0 30px 60px -24px rgba(13, 14, 16, 0.35); }
.phone img { border-radius: 37px; width: 100%; }

/* sections */
.section { padding: 96px 0; }
.head { max-width: 640px; margin-bottom: 44px; }
.head h2 { font-size: clamp(34px, 4.6vw, 52px); letter-spacing: -0.035em; }
.head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--sunken); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-shot { height: 420px; overflow: hidden; display: flex; justify-content: center; padding-top: 40px; }
.card-shot .phone { width: 240px; height: max-content; box-shadow: 0 20px 40px -20px rgba(13, 14, 16, 0.3); }
.card-text { padding: 24px 26px 28px; border-top: 1px solid var(--line); }
.card-text h3 { font-size: 20px; }
.card-text p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; max-width: 460px; } .card-shot { height: 380px; } }

.small-grid { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.small-grid li { display: flex; gap: 14px; }
.small-grid h3 { font-size: 16.5px; }
.small-grid p { color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: 4px; }
@media (max-width: 960px) { .small-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .small-grid { grid-template-columns: 1fr; } }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* privacy band: always dark */
.dark { background: #0D0E10; color: #F6F6F3; }
@media (prefers-color-scheme: dark) { .dark { background: #17181B; } }
.dark .head p, .dark p { color: #A2A4A9; }
.priv-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.priv-grid h3 { font-size: 18px; margin-top: 18px; color: #F6F6F3; }
.priv-grid p { margin-top: 6px; font-size: 15.5px; line-height: 1.5; }
.icon.lime { color: #C8F04A; width: 28px; height: 28px; }
@media (max-width: 960px) { .priv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .priv-grid { grid-template-columns: 1fr; } }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 500; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--muted); transition: transform 0.2s ease; }
.faq details[open] .chev { transform: rotate(90deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }

/* final */
.final { text-align: center; padding: 72px 0 120px; display: grid; gap: 28px; justify-items: center; }
.final h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.035em; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.foot-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.foot .muted { margin-top: 6px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; display: inline-flex; min-height: 44px; align-items: center; }
.foot-links a:hover { color: var(--ink); }

/* documents: legal and support */
.doc { padding: 64px 0 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.035em; margin-bottom: 10px; }
.doc .lead { margin-top: 28px; }
.doc section { margin-top: 40px; }
.doc h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 10px; }
.doc > h2 { margin-top: 56px; margin-bottom: 8px; }
.doc section p + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li { margin-top: 8px; }
.mail { margin-top: 32px; display: inline-flex; align-items: center; gap: 14px; background: var(--sunken); border-radius: 18px; padding: 18px 24px 18px 20px; text-decoration: none; font-weight: 500; font-size: 18px; line-height: 1.3; }
.mail .icon { width: 26px; height: 26px; }
