:root {
  --ink: #15182B;
  --ink-2: #1E2238;
  --cream: #F4EFE6;
  --muted: #C4BEB2;
  --orange: #E8632A;
  --line: rgba(244,239,230,0.1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { letter-spacing: -0.02em; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

nav { border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand svg { height: 26px; width: auto; }
.brand b { color: var(--orange); font-weight: 700; }
.nav-links { display: flex; gap: 24px; font-size: 0.95rem; font-weight: 500; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }

.hero { padding: 72px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); line-height: 1.04; font-weight: 800; }
.hero-sub { margin-top: 22px; max-width: 44ch; font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--muted); }
.hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
/* Crops the padded logo PNG to the artwork; the PNG background matches the page, so it blends in. */
.logo-crop { position: relative; width: 100%; max-width: 440px; margin-left: auto; aspect-ratio: 500 / 320; overflow: hidden; }
.logo-crop img { position: absolute; width: 160%; height: auto; max-width: none; left: -30%; top: -75%; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 0.95rem; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-ghost { color: var(--cream); border-color: rgba(244,239,230,0.28); }

section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 28px; }
h3 { font-weight: 700; }

/* Inner-page header */
.page-head { padding: 64px 0 56px; }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); line-height: 1.08; font-weight: 800; }
.page-head .hero-sub { max-width: 56ch; }
.page-head .app-icon { width: 84px; height: 84px; border-radius: 18px; margin-bottom: 22px; }

.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.app-card { display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.app-card img { width: 72px; height: 72px; border-radius: 16px; margin-bottom: 20px; }
.app-card h3 { font-size: 1.4rem; font-weight: 800; }
.app-tagline { margin-top: 2px; color: var(--orange); font-weight: 600; }
.app-desc { margin-top: 12px; color: var(--muted); flex: 1; }
.app-links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 0.9rem; margin-bottom: 14px; }

.copy p { color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.copy p + p { margin-top: 16px; }
.copy a:not(.btn) { color: var(--orange); font-weight: 600; text-underline-offset: 3px; }
.copy .hero-ctas { margin-top: 28px; }
.lead { color: var(--muted); max-width: 62ch; margin: -12px 0 28px; font-size: 1.05rem; }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 10px; }
.legal a { color: var(--orange); text-underline-offset: 3px; }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; font-size: 0.9rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }

@media (max-width: 820px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .logo-crop { margin: 0; max-width: 360px; }
  .apps-grid, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .page-head { padding: 44px 0 40px; }
}
@media (max-width: 520px) { .cards-4 { grid-template-columns: 1fr; } .nav-links { gap: 14px; font-size: 0.88rem; } .brand span { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
