/* Suzul's site, in the app's own look: colours from İznik tiles (cobalt, turquoise, coral on deep ink, text in a
   warm off-white), a serif for headings like the app's wordmark, the system sans for reading and the system
   mono for labels. No web fonts: the serif is the system's (New York on a Mac). */
:root {
  --ink: #0e121b;
  --ink-2: #131826;
  --cream: #ede6d6;
  --text-2: rgba(237, 230, 214, 0.66);
  --text-3: rgba(237, 230, 214, 0.42);
  --line: rgba(237, 230, 214, 0.09);
  --line-2: rgba(237, 230, 214, 0.16);
  --turq: #45bab3;
  --cobalt: #3361b3;
  --coral: #db5c4d;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { overflow-x: clip; background: var(--ink); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text-2); font: 16px/1.6 var(--sans); overflow-x: hidden; }
/* Fine grain over the page, so the dark has texture rather than a flat fill. */
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
code, kbd { font-family: var(--mono); }
code { font-size: 0.86em; color: var(--cream); overflow-wrap: anywhere; }
kbd { font-size: 0.78em; color: var(--cream); background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 4px; padding: 1px 5px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.label { margin: 0; font: 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--turq); }

/* buttons: cream primary, quiet secondary */
.btn { display: inline-flex; align-items: center; height: 42px; padding: 0 20px; border-radius: 8px; background: var(--cream); color: var(--ink);
  font-weight: 600; font-size: 15px; transition: background 0.15s; }
.btn:hover { background: #fff; }
.btn.ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: var(--ink-2); }
.btn.small { height: 32px; padding: 0 13px; font-size: 14px; border-radius: 7px; }
.ic { width: 16px; height: 16px; flex: none; }
.btn .ic { margin-right: 8px; }
.with-ic { display: inline-flex; align-items: center; gap: 6px; }
.gh-pill { display: inline-flex; align-items: center; height: 32px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--cream);
  font-size: 14px; overflow: hidden; transition: border-color 0.15s, background 0.15s; }
.gh-pill:hover { border-color: var(--text-3); background: var(--ink-2); }
.gh-pill > .ic { margin: 0 7px 0 10px; }
.gh-name { padding-right: 10px; }
.gh-stars { display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 10px; border-left: 1px solid var(--line-2); color: var(--text-2); }
.gh-stars .ic { width: 14px; height: 14px; color: var(--turq); }
.gh-stars b { font-weight: 500; font-variant-numeric: tabular-nums; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(14, 18, 27, 0.6); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font: 500 21px/1 var(--serif); }
.brand img { border-radius: 6px; }
.nav nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav nav a:not(.btn):hover { color: var(--cream); }
@media (max-width: 760px) { .nav nav > a:not(.btn):not(.gh-pill) { display: none; } .gh-name { display: none; } }

/* hero: a gull glides across a dusk sky (site.js draws it in .sky) */
.hero-band { position: relative; margin-top: -60px; padding-top: 60px; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.hero { text-align: center; padding: 200px 0 72px; }
.hero .label { color: var(--text-3); }
h1 { margin: 18px 0 0; color: var(--cream); font: 400 clamp(42px, 6.6vw, 80px)/1.02 var(--serif); letter-spacing: -0.025em; }
.lead { max-width: 580px; margin: 24px auto 0; font-size: 18px; line-height: 1.55; }
.actions { display: flex; gap: 10px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.req { margin: 18px 0 0; font: 12px var(--mono); color: var(--text-3); }
@media (max-width: 560px) { .hero { padding-top: 150px; } .wide { display: none; } }

/* the app itself */
.shot { padding-bottom: 40px; }
.shot img { display: block; width: 100%; height: auto; }

/* feature sections */
.feature { padding: 96px 0 0; }
.feature h2 { max-width: 820px; margin: 14px 0 0; color: var(--cream); font: 400 clamp(28px, 3.6vw, 42px)/1.15 var(--serif); letter-spacing: -0.015em; }
.feature h2 span { color: var(--text-3); }

/* demo: the same motion at 30 and at 60/120 */
.demo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .demo { grid-template-columns: 1fr; } }
.demo figure { margin: 0; }
.lane { display: block; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); }
.demo figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font: 13px var(--mono); color: var(--text-3); }
.demo figcaption b { color: var(--cream); font: 500 18px var(--serif); }
.strip { display: block; width: 100%; height: 34px; margin-top: 10px; }
.rates { display: inline-flex; margin-left: auto; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.rates button { border: 0; background: none; color: var(--text-3); font: 12px var(--mono); padding: 4px 10px; cursor: pointer; }
.rates button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.caption, .note { max-width: 720px; margin: 22px 0 0; font-size: 14px; color: var(--text-3); }

/* features grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.grid article { padding: 26px 24px 28px; background: var(--ink); }
.grid h3 { margin: 0; color: var(--cream); font: 400 20px/1.25 var(--serif); }
.grid p { margin: 10px 0 0; font-size: 14.5px; }

/* how it works */
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3rem 14rem 1fr; gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 13px var(--mono); color: var(--turq); padding-top: 4px; }
.steps b { color: var(--cream); font: 400 20px/1.3 var(--serif); }
@media (max-width: 760px) { .steps li { grid-template-columns: 2.5rem 1fr; } .steps li span { grid-column: 2; } }

/* measured */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }
.facts div { padding-top: 18px; border-top: 1px solid var(--line-2); }
.facts strong { display: block; color: var(--cream); font: 400 clamp(40px, 5vw, 56px)/1 var(--serif); }
.facts span { display: block; margin-top: 12px; font-size: 14.5px; }

/* install */
.install { padding-top: 110px; }
.install h2, .faq h2 { margin: 0; color: var(--cream); font: 400 clamp(32px, 4vw, 46px)/1.1 var(--serif); }
.rows { margin-top: 32px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } }
.row h3 { margin: 0; color: var(--cream); font: 500 16px var(--sans); }
.row p { margin: 6px 0 0; max-width: 560px; font-size: 14.5px; }
.cmd { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 6px 6px 6px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ink-2); }
.cmd code { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.copy { flex: none; height: 28px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; background: none; color: var(--cream); font: 12px var(--sans); cursor: pointer; }
.copy:hover { background: var(--ink); }

/* questions */
.faq { padding-top: 110px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq h2 { margin-bottom: 24px; }
.faq summary { padding: 18px 0; color: var(--cream); font: 400 19px var(--serif); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font: 16px var(--mono); color: var(--text-3); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; max-width: 720px; }
.faq a { color: var(--cream); border-bottom: 1px solid var(--line-2); }

/* footer */
.foot-band { margin-top: 120px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 30px 0 44px; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { border-radius: 7px; }
.foot-brand p { margin: 0; }
.foot-brand b { color: var(--cream); font: 500 18px var(--serif); }
.foot nav { display: flex; gap: 22px; font-size: 14px; }
.foot nav a:hover { color: var(--cream); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; translate: 0 18px; } }
  .hero > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero > :nth-child(2) { animation-delay: 70ms; }
  .hero > :nth-child(3) { animation-delay: 140ms; }
  .hero > :nth-child(4) { animation-delay: 210ms; }
  .hero > :nth-child(5) { animation-delay: 280ms; }
}
