/* Cyclink site — warm-cream theme (the app's locked brand). No external requests, no JS.
   Motif: the logged bead — the hero orbit, and a bead closing every headline in place of a
   full stop. Landing page = bands; subpages = .wrap + .prose. */
/* Palette is the app's shipped Sage theme, verbatim — Packages/DesignCore/ThemePalette.swift
   (CONTRACTS §20.8, locked v3). The screenshots on this page are rendered in exactly these
   values, so any drift here shows up as two different greens sitting side by side.
   --deep-accent is the one value with no app counterpart: #41756A darkened for the dark band,
   same hue, cream on it measures ~9:1. */
:root {
  --cream: #F6F1E8; --card: #FFFDF9; --panel: #EFE6D8;
  --ink: #2B2620; --muted: #706658; --hairline: #E7DECD;
  --forest: #41756A; --deep-forest: #284942; --rose: #A96F60;
  --cream-on-dark: rgba(246, 241, 232, 0.88); --cream-dim-on-dark: rgba(246, 241, 232, 0.62);
  --serif: Baskerville, 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 14px; --maxw: 1140px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* Tracking is a function of size, not a constant: strongly negative at display sizes,
   crossing positive for small caps/eyebrows, slightly negative again for body. */
body { margin: 0; background: var(--cream); color: var(--ink);
  font: 17px/1.6 var(--sans); letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
  text-wrap: pretty; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
a { color: var(--forest); }
.prose a, p a { color: var(--deep-forest); }
a:focus-visible, .pill:focus-visible, summary:focus-visible { outline: 2px solid var(--forest);
  outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--forest); color: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
img { max-width: 100%; }

/* ---- sticky header ---- */
header.site { position: sticky; top: 0; z-index: 20; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 16px 28px;
  max-width: var(--maxw); margin: 0 auto;
  background: rgba(246, 241, 232, 0.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-head { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent;
  background: rgba(246, 241, 232, 0.82); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); }
.site-head header.site { position: static; background: none; backdrop-filter: none;
  -webkit-backdrop-filter: none; padding-left: 28px; padding-right: 28px; }
.wordmark { font: 400 27px/1 var(--serif); color: var(--deep-forest); text-decoration: none; letter-spacing: 0.005em; }
nav.site { display: flex; align-items: center; gap: 26px; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.site a:hover { color: var(--ink); }
nav.site .pill { margin-left: 4px; }
.nav-hide-sm { display: inline; }

/* ---- type ---- */
h1.display { font: 400 clamp(42px, 5.6vw, 76px)/1.04 var(--serif); letter-spacing: -0.022em;
  color: var(--rose); margin: 0 0 24px; text-wrap: balance; }
h1.display em { font-style: italic; letter-spacing: -0.012em; }
.dot-period { display: inline-block; width: 0.15em; height: 0.15em; border-radius: 50%;
  background: var(--forest); margin-left: 0.08em; vertical-align: baseline; }
h2 { font: 400 clamp(30px, 3.9vw, 46px)/1.12 var(--serif); color: var(--ink);
  margin: 0 0 18px; letter-spacing: -0.008em; text-wrap: balance; }
h3 { font: 400 26px/1.25 var(--serif); color: var(--ink); margin: 0 0 10px; letter-spacing: 0.004em; }
.kicker { display: flex; align-items: center; gap: 12px; font: 600 12px/1 var(--sans);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); flex: none; }
.kicker::after { content: ""; height: 1px; flex: 1; max-width: 40px; background: var(--hairline); }
.sub { font-size: 20px; line-height: 1.55; max-width: 31em; margin: 0 0 32px;
  color: var(--ink); letter-spacing: -0.013em; }
.lede { font-size: 19px; line-height: 1.58; max-width: 34em; color: var(--muted); letter-spacing: -0.012em; }
.muted { color: var(--muted); }
.fine { font-size: 14px; line-height: 1.55; }

/* ---- pills ---- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px; font-size: 16px;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.pill.primary { background: var(--forest); color: var(--card); }
a.pill.primary:hover { background: var(--deep-forest); transform: translateY(-1px); }
.pill.secondary { background: transparent; color: var(--ink); border-color: var(--hairline); }
a.pill.secondary:hover { border-color: var(--forest); color: var(--deep-forest); transform: translateY(-1px); }
.pill.small { min-height: 40px; padding: 8px 18px; font-size: 15px; }
/* Not a button: the App Store link does not exist yet, so it must not look clickable. */
.status { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 12px 22px;
  border-radius: 999px; font-size: 15.5px; color: var(--muted);
  background: rgba(43, 38, 32, 0.04); border: 1px solid var(--hairline); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); flex: none; }
.band--cta .status { background: rgba(43, 38, 32, 0.045); }
.pill.on-dark { background: var(--cream); color: var(--deep-forest); }
a.pill.on-dark:hover { background: #fff; transform: translateY(-1px); }
.pill.ghost-dark { background: transparent; color: var(--cream); border-color: rgba(246, 241, 232,0.4); }
a.pill.ghost-dark:hover { border-color: var(--cream); transform: translateY(-1px); }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }

/* ---- bands ---- */
.band { padding: 78px 0; }
.band--hero { padding: 8px 0 56px; overflow: hidden; }
.band--trust { background: var(--card); border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline); padding: 26px 0; }
.band--steps { padding: 80px 0 74px; }
.band--features { background: var(--panel); }
.band--privacy { background: var(--deep-forest); position: relative; overflow: hidden; }
.band--faq { background: var(--card); border-top: 1px solid var(--hairline); }
.band--cta { background: var(--cream); text-align: center; padding: 84px 0 92px; }

/* ---- secondary capability grid ---- */
.also { margin-top: 72px; border-top: 1px solid var(--hairline); padding-top: 44px; }
.also h3 { font-size: 22px; margin-bottom: 30px; }
.also-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 44px; list-style: none; margin: 0; padding: 0; }
.also-grid li { padding-left: 20px; position: relative; }
.also-grid li::before { content: ""; position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--forest); opacity: 0.55; }
.also-grid strong { display: block; font-weight: 600; font-size: 16px; margin-bottom: 4px; letter-spacing: -0.004em; }
.also-grid span { color: var(--muted); font-size: 15.5px; line-height: 1.5; }

/* ---- hero + screen carousel ---- */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-top: 34px; }
.hero-copy p:last-child { margin-bottom: 0; }

.screens { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.device { position: relative; width: 246px; aspect-ratio: 840 / 1826; flex: none;
  border: 9px solid #241f1a; border-radius: 44px; background: #241f1a; overflow: hidden;
  box-shadow: 0 36px 84px rgba(43, 38, 32, 0.24), 0 5px 16px rgba(43, 38, 32, 0.12); }
.screen-slide { position: absolute; inset: 0; margin: 0; opacity: 0; border-radius: 35px;
  overflow: hidden; transition: opacity 0.5s ease; }
.screen-slide.is-on { opacity: 1; }
.screen-slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Without JS the first slide is the hero image and the controls never appear. */
.screens:not(.is-live) .screen-ui { display: none; }
.screens:not(.is-live) .screen-slide:first-child { opacity: 1; }

.screen-ui { display: flex; align-items: center; gap: 16px; }
.screen-prev, .screen-next { width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--hairline); background: var(--card); color: var(--ink);
  font: 400 20px/1 var(--sans); display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s; }
.screen-prev:hover, .screen-next:hover { border-color: var(--forest); color: var(--forest); }
.screen-dots { display: flex; gap: 9px; }
.screen-dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 0; background: rgba(43, 38, 32, 0.2); transition: background 0.25s, transform 0.25s; }
.screen-dot.is-on { background: var(--forest); transform: scale(1.3); }
.screen-caption { margin: 0; font-size: 14.5px; color: var(--muted); text-align: center;
  min-height: 1.5em; max-width: 24em; }

/* ---- trust strip ---- */
.trust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  list-style: none; margin: 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; color: var(--muted); }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--forest); flex: none; }
.trust li:last-child::before { background: var(--rose); }

/* ---- how it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px;
  border-top: 1px solid var(--hairline); padding-top: 40px; }
.steps > li { position: relative; list-style: none; }
.steps > li::before { content: ""; position: absolute; top: -46px; left: 0;
  width: 11px; height: 11px; border-radius: 50%; background: var(--forest); }
.steps > li:last-child::before { background: var(--rose); }
.step-n { display: block; font: 400 15px/1 var(--serif); font-style: italic; color: var(--rose); margin: 0 0 12px; }
.steps h3 { font-size: 25px; }
.steps p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* ---- feature rows (zig-zag) ---- */
.frow { display: grid; grid-template-columns: 1fr 1.08fr; gap: 68px; align-items: center; }
.frow + .frow { margin-top: 72px; }
.frow--flip .frow-copy { order: 2; }
.frow-copy p { color: var(--muted); font-size: 17.5px; max-width: 30em; margin: 0 0 18px; }
.frow-copy p:last-child { margin-bottom: 0; }
.frow-note { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px;
  color: var(--muted); border-top: 1px solid var(--hairline); padding-top: 16px; margin-top: 6px; max-width: 30em; }
.frow-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--rose); flex: none; margin-top: 8px; }
.shot { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden;
  background: var(--card); box-shadow: 0 20px 48px rgba(43, 38, 32, 0.1); }
.shot img { display: block; width: 100%; height: auto; }

/* ---- privacy band ---- */
.privacy-ring { position: absolute; right: -96px; top: -80px; width: 480px; height: 480px; }
.band--privacy .wrap { position: relative; }
.band--privacy h2 { color: var(--cream); }
.band--privacy .kicker { color: var(--cream-dim-on-dark); }
.band--privacy .kicker::before { background: var(--rose); }
.band--privacy .kicker::after { background: rgba(246, 241, 232, 0.25); }
.privacy-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
  margin: 38px 0 34px; padding: 0; list-style: none; }
.privacy-facts li { border-top: 1px solid rgba(246, 241, 232, 0.3); padding-top: 16px;
  font: 400 21px/1.3 var(--serif); color: var(--cream-on-dark); letter-spacing: 0.004em; }
.privacy-facts span { display: block; font: 400 15px/1.5 var(--sans);
  color: var(--cream-dim-on-dark); margin-top: 8px; }
.band--privacy p { color: var(--cream-on-dark); max-width: 44em; }
.band--privacy .founder { color: var(--cream-dim-on-dark); }

.disclaimer { max-width: 60em; color: var(--muted); opacity: 0.85; margin-top: 22px !important;
  padding-top: 18px; border-top: 1px solid var(--hairline); }

/* ---- FAQ ---- */
.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font: 400 21px/1.35 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 13px; height: 13px;
  margin-top: -6px; background:
    linear-gradient(var(--forest), var(--forest)) center/13px 1.5px no-repeat,
    linear-gradient(var(--forest), var(--forest)) center/1.5px 13px no-repeat;
  transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq details[open] summary::before { content: ""; }
.faq details[open] summary::after { background:
    linear-gradient(var(--forest), var(--forest)) center/13px 1.5px no-repeat; }
.faq p { margin: 0 0 22px; color: var(--muted); max-width: 60ch; padding-right: 40px; }

/* ---- final CTA ---- */
.cta-inner { max-width: 720px; margin: 0 auto; }
.band--cta .pill-row { justify-content: center; margin-top: 30px; }
.band--cta .fine { margin-top: 18px; }

/* ---- prose pages ---- */
.prose { max-width: 44em; padding: 40px 0 24px; }
.prose h1.display { font-size: 40px; }
.prose h2 { font-size: 23px; margin-top: 34px; }
.card { background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }

/* ---- footer ---- */
footer.site { background: var(--panel); border-top: 1px solid var(--hairline);
  padding: 54px 0 46px; font-size: 15px; color: var(--muted); }
footer.site a { color: var(--muted); }
.foot-row { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.foot-row .wordmark { font-size: clamp(32px, 4.2vw, 46px); }
footer.site p { margin: 10px 0 0; }

/* ---- motion ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(14px);
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .hero-copy > :nth-child(2) { animation-delay: 0.07s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.21s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.26s; }
  .hero-copy > :nth-child(6) { animation-delay: 0.31s; }
  .screens { opacity: 0; animation: settle 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(0.985); } to { opacity: 1; transform: none; } }

/* NOTE: deliberately no scroll-driven (animation-timeline: view()) reveals here.
   Elements inside the final viewport-height of the document can never finish their
   range — measured: the closing CTA rested at opacity 0.07, i.e. an invisible primary
   action. No CSS-only range guarantees completion at the page end, so the entrance
   animation stays limited to the time-based hero sequence above. */

/* ---- responsive ---- */
@media (max-width: 980px) {
  .frow, .frow--flip { grid-template-columns: 1fr; gap: 30px; }
  .frow--flip .frow-copy { order: 0; }
  .frow + .frow { margin-top: 76px; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .device { width: 236px; }
  .band { padding: 72px 0; }
  .band--steps { padding: 76px 0 70px; }
  .band--hero { padding-bottom: 56px; }
  .band--cta { padding: 80px 0 86px; }
  .steps { grid-template-columns: 1fr; gap: 0; border-top: 0; padding-top: 0; }
  .steps > li { border-top: 1px solid var(--hairline); padding: 34px 0 30px; }
  .steps > li::before { top: 30px; left: auto; right: 2px; }
  .privacy-facts { grid-template-columns: 1fr 1fr; gap: 22px; }
  .also { margin-top: 72px; padding-top: 38px; }
  .also-grid { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
  .privacy-ring { width: 330px; right: -120px; top: -100px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 900px) {
  @keyframes settle { from { transform: scale(0.985); } to { opacity: 1; transform: none; } }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  header.site { padding: 14px 20px; }
  .nav-hide-sm { display: none; }
  .trust { flex-direction: column; gap: 10px; }
  .pill-row .pill { width: 100%; }
  .faq summary { font-size: 19px; }
  .privacy-facts { grid-template-columns: 1fr; gap: 20px; }
  .also-grid { grid-template-columns: 1fr; gap: 24px; }
}
