/* CodeDen — clean, modern theme: neutral colours, one blue accent, soft surfaces, clear type. */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --surface: #ffffff;
  --text: #111214;
  --text-2: #565b63;
  --text-3: #868b93;
  --line: #e6e8eb;
  --line-strong: #cfd2d7;
  --accent: #2a5bd7;
  --accent-hover: #1f47ad;
  --accent-soft: #e9effd;
  --on-accent: #ffffff;
  /* Palette for icons, labels and highlights */
  --blue: #2a5bd7;   --blue-soft: #e9effd;
  --violet: #7552e0; --violet-soft: #f0ebfd;
  --teal: #0e8f86;   --teal-soft: #e3f5f3;
  --green: #2c9a5b;  --green-soft: #e5f5ec;
  --coral: #e0573a;  --coral-soft: #fdece8;
  --glow-1: rgba(42, 91, 215, .20);
  --glow-2: rgba(117, 82, 224, .17);
  --glow-3: rgba(14, 143, 134, .13);
  --band: #f3f6fd;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(17, 18, 20, .04), 0 8px 24px -12px rgba(17, 18, 20, .12);
  --wrap: 1120px;
  --gutter: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f11;
    --bg-soft: #16181b;
    --surface: #1a1c20;
    --text: #ececee;
    --text-2: #a5a9b0;
    --text-3: #777c84;
    --line: #26292e;
    --line-strong: #3a3e44;
    --accent: #7ea2ff;
    --accent-hover: #a9c1ff;
    --accent-soft: #1a2540;
    --on-accent: #0b1020;
    --blue: #7ea2ff;   --blue-soft: #1a2540;
    --violet: #a993ff; --violet-soft: #241d3d;
    --teal: #4fd1c5;   --teal-soft: #11302e;
    --green: #5fd08f;  --green-soft: #13301f;
    --coral: #ff8a70;  --coral-soft: #3a1d17;
    --glow-1: rgba(126, 162, 255, .18);
    --glow-2: rgba(169, 147, 255, .15);
    --glow-3: rgba(79, 209, 197, .10);
    --band: #13161c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .5);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
/* Full-width bands reach past the page edge; clip so the page never scrolls sideways */
body { overflow-x: clip; }
body {
  margin: 0; color: var(--text);
  background:
    radial-gradient(42% 520px at 8% -80px, var(--glow-1), transparent 70%),
    radial-gradient(38% 480px at 92% -60px, var(--glow-2), transparent 70%),
    radial-gradient(30% 420px at 55% -120px, var(--glow-3), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 650; color: var(--text); }
h1 { font-size: clamp(36px, 5.2vw, 58px); letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.02em; }
h3 { font-size: 17px; letter-spacing: -0.01em; margin-bottom: .45em; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

@media (prefers-reduced-motion: no-preference) {
  .button, .card, .contact-card, .nav a, .links a { transition: background-color .15s, border-color .15s, color .15s, box-shadow .2s, transform .2s; }
}

/* Palette tones: set the colour, children use var(--tone) and var(--tone-soft) */
.tone-blue { --tone: var(--blue); --tone-soft: var(--blue-soft); }
.tone-violet { --tone: var(--violet); --tone-soft: var(--violet-soft); }
.tone-teal { --tone: var(--teal); --tone-soft: var(--teal-soft); }
.tone-green { --tone: var(--green); --tone-soft: var(--green-soft); }
.tone-coral { --tone: var(--coral); --tone-soft: var(--coral-soft); }

/* Skip link: hidden until focused with the keyboard */
.skip { position: absolute; left: 16px; top: -48px; z-index: 20; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; color: var(--bg); }

/* Header: stays at the top, see-through */
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 650; letter-spacing: -0.015em; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand-mark { height: 30px; width: auto; flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--text); background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.lang { font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }
.lang:hover { color: var(--text); border-color: var(--line-strong); }

/* Phone menu: a button that opens the links as a full-width list (hidden on wider screens) */
.menu { display: none; }
.menu summary { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; list-style: none; color: var(--text); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: none; }
.menu summary svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu[open] summary { background: var(--bg-soft); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.menu-panel a { padding: 14px 4px; font-size: 18px; font-weight: 550; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-panel a:last-child { border-bottom: 0; }
.menu-panel a[aria-current="page"] { color: var(--accent); }

/* Section links: stay under the header while scrolling */
.jump { position: sticky; top: 69px; z-index: 9; background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.jump .wrap { display: flex; gap: 8px; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.jump .wrap::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 14px; font-weight: 550; text-decoration: none; }
.jump a:hover { color: var(--accent); border-color: var(--accent); }
html { scroll-padding-top: 136px; }

/* Breadcrumbs (an app's pages) */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 24px; font-size: 14px; color: var(--text-3); }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); font-weight: 500; }
.crumbs + .doc, .crumbs + .hero { padding-top: 40px; }

/* Page sections */
main { padding-bottom: 72px; }
.hero { padding-block: 104px 80px; }
.hero p { font-size: 20px; line-height: 1.6; color: var(--text-2); max-width: 620px; }
.section { padding-block: 72px; }
.section > h2 { margin-bottom: 28px; }
.section + .section { border-top: 1px solid var(--line); }
.band { position: relative; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: var(--band); z-index: -1; }
.section.band + .section, .section + .section.band { border-top: 0; }
.lead { font-size: 18px; color: var(--text-2); max-width: 660px; }

/* Gradient word in a headline */
.grad { background: linear-gradient(100deg, var(--blue), var(--violet) 55%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Home hero illustration: code window, floating chips, soft shapes */
.hero-home { padding-block: 88px 72px; }
.hero-art { position: relative; min-height: 380px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .9; }
.blob-1 { width: 220px; height: 220px; background: var(--violet-soft); top: 0; right: 4%; }
.blob-2 { width: 160px; height: 160px; background: var(--teal-soft); bottom: 6%; left: 2%; }
.blob-3 { width: 90px; height: 90px; background: var(--coral-soft); top: 12%; left: 14%; }
.code-card { position: relative; width: min(420px, 100%); background: #14161b; color: #e7e9ee; border-radius: 18px; padding: 16px 20px 20px; box-shadow: 0 30px 60px -24px rgba(17, 18, 20, .5), 0 0 0 1px rgba(255, 255, 255, .06) inset; transform: rotate(-2deg); }
.code-dots { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; }
.code-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-dots i:nth-child(2) { background: #febc2e; }
.code-dots i:nth-child(3) { background: #28c840; }
.code-dots span { margin-left: 10px; font-size: 12px; color: #8b909a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.code-card pre { margin: 0; font: 13.5px/1.7 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; overflow: hidden; }
.code-card .k { color: #ff7ab2; }
.code-card .t { color: #6bdfff; }
.code-card .s { color: #ffa86b; }
.code-card .f { color: #b281eb; }
.chip { position: absolute; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 650; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); }
.chip::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--tone, var(--accent)); }
.chip-1 { --tone: var(--coral); top: -3%; left: 2%; }
.chip-2 { --tone: var(--blue); bottom: 12%; right: 0; }
.chip-3 { --tone: var(--teal); top: 4%; right: 18%; }
.spark { position: absolute; width: 14px; height: 14px; border-radius: 4px; background: var(--amber, #f2b233); transform: rotate(45deg); }
.spark-1 { top: 2%; left: 46%; background: var(--violet); }
.spark-2 { bottom: 4%; right: 30%; width: 10px; height: 10px; background: var(--coral); }

@media (prefers-reduced-motion: no-preference) {
  .blob-1, .chip-2 { animation: drift 9s ease-in-out infinite; }
  .blob-2, .chip-1 { animation: drift 11s ease-in-out infinite reverse; }
  .blob-3, .chip-3, .spark { animation: drift 7s ease-in-out infinite; }
  .code-card { animation: bob 8s ease-in-out infinite; }
}
@keyframes drift { 50% { translate: 0 -12px; } }
@keyframes bob { 50% { transform: rotate(-1deg) translateY(-6px); } }

/* Hero illustration: a web dashboard in a browser, with a small code card on top */
.hero-art::before { content: ""; position: absolute; inset: -10% 0; background-image: radial-gradient(var(--line-strong) 1.2px, transparent 1.6px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent); mask-image: radial-gradient(closest-side, #000 40%, transparent); opacity: .7; }
.browser { position: relative; width: min(460px, 100%); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(17, 18, 20, .35); overflow: hidden; transform: rotate(1.5deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar .url { margin-left: 12px; flex: 1; font-size: 12px; color: var(--text-3); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.browser-body { display: grid; grid-template-columns: 54px 1fr; min-height: 230px; }
.browser-side { display: grid; align-content: start; gap: 10px; padding: 16px 12px; border-right: 1px solid var(--line); }
.browser-side b { height: 10px; border-radius: 5px; background: var(--line); }
.browser-side b.on { background: var(--accent); }
.browser-main { padding: 16px; display: grid; gap: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 10px 12px; border-radius: 12px; background: var(--tone-soft); }
.kpi small { display: block; font-size: 11px; color: var(--text-3); }
.kpi strong { font-size: 18px; color: var(--tone); letter-spacing: -0.02em; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 10px 12px 0; border-radius: 12px; background: var(--bg-soft); }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--violet), var(--blue)); opacity: .85; }
.bars span:nth-child(even) { background: linear-gradient(180deg, var(--teal), var(--blue)); }
.code-mini { position: absolute; width: auto; left: -2%; bottom: 2%; padding: 12px 16px 14px; transform: rotate(-3deg); }
.code-mini pre { font-size: 12.5px; }
.code-card .c { color: #7f8692; }
@media (prefers-reduced-motion: no-preference) {
  .browser { animation: bob2 9s ease-in-out infinite; }
  .bars span { animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
  .bars span:nth-child(2) { animation-delay: .05s; } .bars span:nth-child(3) { animation-delay: .1s; }
  .bars span:nth-child(4) { animation-delay: .15s; } .bars span:nth-child(5) { animation-delay: .2s; }
  .bars span:nth-child(6) { animation-delay: .25s; } .bars span:nth-child(7) { animation-delay: .3s; }
  .bars span:nth-child(8) { animation-delay: .35s; }
}
@keyframes bob2 { 50% { transform: rotate(.5deg) translateY(-8px); } }
@keyframes grow { from { height: 4%; } }

/* What we do: two featured services and a wide one */
.section-lead { margin-top: -12px; margin-bottom: 32px; }
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { position: relative; overflow: hidden; border-radius: 22px; padding: 32px; }
.service h3 { font-size: 24px; letter-spacing: -0.02em; }
.service p { color: var(--text-2); font-size: 16px; }
.service-feature { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(140deg, var(--tone), color-mix(in srgb, var(--tone) 10%, var(--line)) 55%) border-box; box-shadow: 0 24px 50px -34px var(--tone); }
.service-feature::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; background: var(--tone-soft); z-index: 0; }
.service > * { position: relative; z-index: 1; }
.service .card-icon { width: 54px; height: 54px; border-radius: 16px; }
.service .card-icon svg { width: 26px; height: 26px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--tone-soft); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 7px; width: 8px; height: 5px; border: solid var(--tone); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.service-wide { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; background: color-mix(in srgb, var(--tone-soft) 70%, var(--bg)); border: 1px solid color-mix(in srgb, var(--tone) 18%, var(--line)); padding: 24px 32px; }
.service-wide .card-icon { margin: 0; flex: none; }
.service-wide h3 { font-size: 20px; margin-bottom: 4px; }
.service-wide p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .service { transition: transform .25s, box-shadow .25s; }
  .service:hover { transform: translateY(-4px); }
  .service:hover .card-icon { animation: wiggle .5s ease; }
}

/* How we work: numbered steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: none; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 18px; background: var(--tone); color: #fff; font-weight: 700; font-size: 17px; box-shadow: 0 8px 18px -8px var(--tone); }
.step p { color: var(--text-2); font-size: 15px; margin: 0; }
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: -14px; width: 12px; height: 2px; background: var(--line-strong); }
}

/* Closing call to action: bright gradient panel */
.cta-band { position: relative; overflow: hidden; margin-block: 24px 16px; padding: 56px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, #2a5bd7, #7552e0 35%, #0e8f86 65%, #e0573a); background-size: 220% 220%; box-shadow: 0 30px 60px -30px rgba(42, 91, 215, .6); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 10px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 18px; max-width: 560px; position: relative; }
.cta-band .cta { position: relative; margin-top: 24px; }
.cta-band .blob-4 { width: 260px; height: 260px; right: -60px; top: -80px; background: rgba(255, 255, 255, .14); }
.cta-band .blob-5 { width: 160px; height: 160px; right: 18%; bottom: -70px; background: rgba(255, 255, 255, .1); }
.cta-band @media (prefers-reduced-motion: no-preference) { .cta-band { animation: hue 14s ease-in-out infinite alternate; } }
@keyframes hue { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.button-light { background: #fff; color: #1b2a5c; border-color: #fff; box-shadow: none; }
.cta-band .button-light:hover { background: #eef2ff; color: #1b2a5c; border-color: #eef2ff; }
.cta-band .button-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.cta-band .button-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* Hero with a phone beside the text */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; padding-block: 72px 64px; }
.hero-media { display: flex; justify-content: center; }
.hero-media .device { width: min(300px, 100%); }

/* An app screenshot in a simple phone frame */
.device { width: 100%; border-radius: 44px; padding: 9px; background: #16171a; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 30px 60px -24px rgba(17, 18, 20, .45); }
.device img { display: block; width: 100%; border-radius: 36px; }

/* Cards (services, features) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--text-2); font-size: 15px; }
.card p:last-child { margin-bottom: 0; }
.card:hover { border-color: var(--line-strong); }
@media (prefers-reduced-motion: no-preference) {
  .card, .step { transition: transform .25s, box-shadow .25s, border-color .2s; }
  .card:hover, .step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .card:hover .card-icon, .contact-card:hover .card-icon { animation: wiggle .5s ease; }
  /* Sections fade up as they scroll into view (browsers with scroll-driven animations) */
  @supports (animation-timeline: view()) {
    .section, .cta-band { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@keyframes wiggle { 25% { rotate: -8deg; } 60% { rotate: 6deg; } 100% { rotate: 0deg; } }
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
.card[class*="tone-"] { background: color-mix(in srgb, var(--tone-soft) 75%, var(--bg)); border-color: color-mix(in srgb, var(--tone) 16%, var(--line)); }
.card[class*="tone-"]:hover { border-color: color-mix(in srgb, var(--tone) 40%, var(--line)); }
.section[class*="tone-"] .card { border-top: 3px solid var(--tone); }
.section[class*="tone-"] .card .badge { color: var(--coral); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--tone-soft, var(--accent-soft)); color: var(--tone, var(--accent)); margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; }

/* Small uppercase label (status, "New") */
.badge { display: block; width: fit-content; font-size: 11.5px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.hero .badge { margin-bottom: 18px; display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); letter-spacing: .06em; }

/* App icon: rounded like on iOS */
.app-icon { display: block; border-radius: 22.5%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent), 0 6px 16px -8px rgba(17, 18, 20, .35); }
.app-icon-hero { margin-bottom: 24px; }
.app-icon-card { margin: 0 0 20px; }

/* Featured app on the home page: text and phone in one panel */
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; background: linear-gradient(135deg, var(--blue-soft), var(--violet-soft) 55%, var(--teal-soft)); border: 1px solid color-mix(in srgb, var(--blue) 14%, var(--line)); border-radius: 24px; padding: 48px 56px; overflow: hidden; }
.feature h3 { font-size: 28px; letter-spacing: -0.02em; }
.feature p { font-size: 17px; color: var(--text-2); max-width: 480px; }
.feature-media { display: flex; justify-content: center; margin-bottom: -120px; }
.feature-media .device { width: min(250px, 100%); }

/* Screenshot gallery: a row that scrolls sideways on small screens */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; margin: 0 -4px; scrollbar-width: thin; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots figcaption { margin-top: 16px; font-size: 14.5px; color: var(--text-2); line-height: 1.5; }

/* Apps page: a compact intro, then one panel per app (same look as the home page's featured app) */
.hero-compact { padding-block: 72px 36px; }
.app-list { display: grid; gap: 24px; padding-bottom: 24px; }
.app-panel h2 { font-size: 30px; letter-spacing: -0.02em; margin-bottom: 4px; }
.app-panel h2 a { color: var(--text); text-decoration: none; }
.app-panel h2 a:hover { color: var(--accent); }
.app-panel .meta { margin-bottom: 14px; }
.app-panel .feature-media { gap: 16px; align-items: flex-start; }
.app-panel .feature-media .device { width: min(190px, 46%); }
.app-panel .feature-media .device + .device { margin-top: 56px; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; }
a.contact-card:hover { color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.contact-card .card-icon { margin-bottom: 14px; }
.contact-label { font-size: 13px; font-weight: 500; color: var(--text-3); }
.contact-value { font-size: 16px; font-weight: 550; overflow-wrap: anywhere; }
a.contact-card .contact-value { color: var(--accent); }
a.contact-card:hover { border-color: var(--accent); }

/* Buttons and link rows */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; background: var(--accent); color: var(--on-accent); text-decoration: none; border: 1px solid var(--accent); border-radius: 12px; font-size: 15px; font-weight: 600; box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.button:hover { color: var(--on-accent); background: var(--accent-hover); border-color: var(--accent-hover); }
.button-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.button-secondary:hover { color: var(--text); background: var(--bg-soft); }
.links { display: flex; gap: 10px 28px; flex-wrap: wrap; margin-top: 8px; font-size: 15px; }
.links a { color: var(--text); font-weight: 500; text-decoration: none; }
.links a::after { content: " →"; color: var(--accent); }
.links a:hover { color: var(--accent); }
.cta { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; margin-top: 32px; }
.cta .button + .button { margin-left: -16px; }
.cta .links { margin-top: 0; }

/* Documents (about, contact, privacy, terms, support) */
.doc { padding-top: 80px; }
.doc > * { max-width: 720px; }
.doc > .contact-grid { max-width: none; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); }
.doc h2 { font-size: 20px; margin-top: 2.2em; padding-top: 1.4em; border-top: 1px solid var(--line); }
.doc > .lead + h2, .doc > .meta + h2 { border-top: 0; padding-top: 0; }
.doc ul { padding-left: 1.1em; }
.doc li { margin-bottom: .6em; }
.doc li::marker { color: var(--text-3); }
.doc .card { border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.doc .card p { font-size: 15px; color: var(--text); }
.meta { color: var(--text-3); font-size: 14px; }
.details { border-collapse: collapse; width: 100%; margin-top: 8px; font-size: 15px; }
.details th, .details td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.details tr:first-child th, .details tr:first-child td { border-top: 1px solid var(--line); }
.details th { font-weight: 500; color: var(--text-2); width: 38%; padding-right: 24px; }

/* FAQ: each question a rounded row that opens */
details:not(.menu) { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); margin-bottom: 8px; }
details:not(.menu)[open] { background: var(--surface); border-color: var(--line-strong); }
details:not(.menu) summary { cursor: pointer; font-weight: 550; padding: 16px 48px 16px 18px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
details:not(.menu) summary::after { content: "+"; position: absolute; right: 18px; top: 13px; font-size: 22px; font-weight: 300; color: var(--text-3); }
details:not(.menu)[open] summary::after { content: "−"; }
details:not(.menu) p { margin: 0; padding: 0 18px 18px; color: var(--text-2); font-size: 15px; }

/* Footer */
.site-footer { position: relative; margin-top: 48px; border-top: 0; background: var(--bg-soft); font-size: 14px; color: var(--text-2); padding: 48px 0 32px; }
.site-footer .wrap { display: flex; gap: 48px; justify-content: space-between; flex-wrap: wrap; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--violet), var(--teal), var(--coral)); }
.site-footer p { margin: 0 0 6px; }
.site-footer strong { color: var(--text); font-weight: 650; }
.site-footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 40px; align-content: start; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }
.site-footer .wrap + .wrap { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); display: block; }

/* Tablets: stack the split layouts */
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .hero-media .device { width: min(260px, 70%); }
  .feature { grid-template-columns: 1fr; padding: 36px 28px 0; gap: 32px; }
  .feature-media { margin-bottom: -80px; padding-bottom: 80px; overflow: hidden; }
  .feature-media .device { width: min(240px, 70%); }
  .app-panel .feature-media .device { width: min(170px, 42%); }
  .hero-art { min-height: 320px; }
  .services { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 120px; }
  .jump { top: 61px; }
  .hero { padding-block: 56px 48px; }
  .hero p { font-size: 17px; }
  .hero-split { padding-block: 40px 40px; }
  .section { padding-block: 52px; }
  .doc { padding-top: 48px; }
  .site-header .wrap { gap: 10px; min-height: 60px; }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .menu { display: block; }
  .cta .button { flex: 1 1 auto; }
  .hero-home { padding-block: 40px 24px; }
  .hero-art { min-height: 280px; margin-inline: 4px; }
  .code-card { padding: 14px 14px 16px; }
  .code-card pre { font-size: 12px; }
  .chip { font-size: 12.5px; padding: 6px 12px; }
  .chip-1 { top: -8px; bottom: auto; left: 4%; }
  .chip-2 { bottom: -14px; right: 4%; }
  .chip-3 { top: -8px; right: 4%; }
  .spark { display: none; }
  .hero-art { padding-block: 18px; }
  .cta-band { padding: 36px 24px; border-radius: 22px; }
  .browser-body { grid-template-columns: 40px 1fr; min-height: 190px; }
  .kpi strong { font-size: 15px; }
  .bars { height: 80px; }
  .code-mini { left: 0; bottom: -4px; }
  .code-mini pre { font-size: 11px; }
  .service { padding: 24px; }
  .service h3 { font-size: 21px; }
  .service-wide { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px; }
  .cta .button + .button { margin-left: 0; }
  .shots { grid-auto-columns: 62%; gap: 16px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding-left: var(--gutter); }
  .site-footer nav { grid-template-columns: 1fr; }
  .details th, .details td { display: block; width: 100%; padding: 12px 0 0; border: 0; }
  .details tr:first-child th { border-top: 1px solid var(--line); }
  .details tr:first-child td { border-top: 0; }
  .details td { padding: 2px 0 12px; border-bottom: 1px solid var(--line); }
}

/* App Store screenshots: the caption and phone are part of the image, so no device frame */
.store-shot { display: block; width: min(340px, 100%); height: auto; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(20, 30, 60, .45); }
.hero-media .store-shot { margin-inline: auto; }
.feature-media.feature-store { margin-bottom: 0; padding-bottom: 0; }
.feature-store .store-shot { width: min(300px, 100%); }
@media (max-width: 900px) { .feature-media.feature-store { margin-bottom: 0; padding-bottom: 36px; } .store-shot { width: min(300px, 80%); } }
