/* JPAM Marine: site styles (navy and gold) */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dm-sans-400.woff) format("woff"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dm-sans-500.woff) format("woff"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/dm-sans-700.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-600.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-700.woff) format("woff"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-800.woff) format("woff"); }

:root {
  --bg: #050e1a;
  --bg-2: #071628;
  --panel: #0a1d33;
  --panel-2: #0d2540;
  --line: rgba(150, 185, 220, .14);
  --line-2: rgba(215, 183, 121, .38);
  --text: #eef3f8;
  --soft: #c5d1dd;
  --muted: #92a5b9;
  --gold: #d7b779;
  --gold-2: #ebd09b;
  --gold-3: #b8954f;
  --sea: #6cc3d5;
  --radius: 22px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-underline-offset: 3px; }
a:hover { color: #fff3d6; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #1a1408; }
.skip:focus { left: 12px; }
.gradient-text { background: linear-gradient(100deg, var(--gold-2) 0%, var(--gold) 45%, #f6e6c2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--gold-2); font: 700 .78rem/1.3 var(--head); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--soft); max-width: 640px; }
.muted { color: var(--muted); }
section { padding: 84px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; font: 700 .97rem/1.2 var(--head); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1b1407; box-shadow: 0 10px 28px -12px rgba(215, 183, 121, .7); }
.btn-primary:hover { color: #1b1407; background: linear-gradient(180deg, #f5dfb1, var(--gold-2)); }
.btn-ghost { border-color: var(--line-2); color: var(--gold-2); background: rgba(215, 183, 121, .04); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(215, 183, 121, .1); color: #fff3d6; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 14, 26, .78); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 800 1.28rem/1 var(--head); letter-spacing: .04em; }
.brand-word small { margin-top: 4px; color: var(--gold); font: 700 .62rem/1 var(--head); letter-spacing: .42em; }
.nav-links { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav-links > li > a, .nav-links > li > button { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border: 0; border-radius: 999px; background: none; color: var(--soft); font: 600 .95rem/1 var(--head); text-decoration: none; cursor: pointer; }
.nav-links > li > a:hover, .nav-links > li > button:hover, .nav-links > li > a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links .nav-cta { margin-left: 6px; color: #1b1407; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.nav-links .nav-cta:hover { color: #1b1407; background: linear-gradient(180deg, #f5dfb1, var(--gold-2)); }
.has-menu { position: relative; }
.has-menu > button svg { width: 12px; height: 12px; transition: transform .2s; }
.has-menu.open > button svg { transform: rotate(180deg); }
.menu { list-style: none; margin: 0; position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; width: 360px; padding: 10px; border-radius: 20px; border: 1px solid var(--line); background: #091b2f; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-menu.open .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 901px) { .has-menu:hover .menu { opacity: 1; visibility: visible; transform: none; } .has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; } }
.menu a { display: flex; align-items: center; gap: 13px; padding: 10px; border-radius: 14px; color: var(--text); text-decoration: none; }
.menu a:hover { background: rgba(215, 183, 121, .08); color: var(--text); }
.menu img { width: 44px; height: 44px; border-radius: 11px; }
.menu b { display: block; font: 700 .97rem/1.2 var(--head); }
.menu small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 14px; background: none; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 22px; background: #06111f; border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-open .nav-links { display: flex; }
  .nav-links > li > a, .nav-links > li > button { width: 100%; justify-content: space-between; min-height: 50px; padding: 12px 14px; font-size: 1.02rem; border-radius: 14px; }
  .nav-links .nav-cta { margin: 8px 0 0; justify-content: center; }
  .menu { position: static; width: auto; translate: none; display: none; margin: 2px 0 6px; padding: 4px; box-shadow: none; background: rgba(255, 255, 255, .02); opacity: 1; visibility: visible; transform: none; }
  .has-menu.open .menu { display: block; }
}

/* Chart texture used behind heroes */
.chart-bg { position: relative; isolation: isolate; }
.chart-bg::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(900px 520px at 78% 18%, rgba(108, 195, 213, .12), transparent 62%),
  radial-gradient(700px 480px at 12% 0%, rgba(215, 183, 121, .10), transparent 60%),
  linear-gradient(180deg, var(--bg-2), var(--bg)); }
.chart-bg::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-image:
  linear-gradient(rgba(150, 185, 220, .07) 1px, transparent 1px),
  linear-gradient(90deg, rgba(150, 185, 220, .07) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }

/* Home hero */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-apps a { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); color: var(--soft); font: 600 .88rem/1 var(--head); text-decoration: none; }
.hero-apps a:hover { border-color: var(--line-2); color: var(--text); }
.hero-apps img { width: 30px; height: 30px; border-radius: 8px; }
.hero-art { position: relative; height: 560px; }
.rose { position: absolute; inset: 50% auto auto 50%; width: 560px; height: 560px; translate: -50% -50%; opacity: .55; }
.rose .spin { transform-origin: 50% 50%; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.phone { position: absolute; width: 230px; border-radius: 34px; padding: 8px; background: linear-gradient(160deg, #23364d, #0b1828 60%); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.phone img { border-radius: 27px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; width: 100%; }
.phone.p1 { left: 4%; top: 70px; rotate: -8deg; }
.phone.p2 { left: 50%; top: 16px; translate: -50% 0; z-index: 2; width: 250px; }
.phone.p3 { right: 4%; top: 80px; rotate: 8deg; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 470px; margin-top: 10px; }
  .phone { width: 190px; } .phone.p2 { width: 210px; }
  .rose { width: 470px; height: 470px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 44px; }
  .hero-art { height: 380px; }
  .phone { width: 150px; border-radius: 26px; padding: 6px; } .phone img { border-radius: 21px; }
  .phone.p2 { width: 170px; } .phone.p1 { left: 0; top: 60px; } .phone.p3 { right: 0; top: 66px; }
  .rose { width: 380px; height: 380px; }
}

/* Section heads */
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head p { color: var(--soft); font-size: 1.08rem; }

/* App cards (home) */
.app-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.app-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; padding: 28px; border-radius: 26px; border: 1px solid var(--line); background: linear-gradient(170deg, var(--panel-2), var(--panel) 55%); overflow: hidden; transition: border-color .2s, transform .2s; }
.app-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.app-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(108, 195, 213, .14)), transparent 70%); pointer-events: none; }
.app-top { display: flex; gap: 16px; align-items: center; }
.app-top img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); }
.app-top h3 { margin: 0 0 4px; font-size: 1.4rem; }
.app-top h3 a { color: var(--text); text-decoration: none; }
.app-top h3 a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.app-top small { color: var(--gold-2); font: 700 .74rem/1.3 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.app-card p { margin: 0; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.app-card .btn-row { position: relative; z-index: 1; }
@media (max-width: 820px) { .app-grid { grid-template-columns: 1fr; } .app-card { padding: 22px; } }

/* Feature points */
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.point { padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.point .ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: rgba(215, 183, 121, .1); color: var(--gold-2); }
.point .ic svg { width: 24px; height: 24px; }
.point h3 { font-size: 1.08rem; }
.point p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* Who it's for */
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.role { padding: 26px 24px; border-right: 1px solid var(--line); text-decoration: none; color: var(--text); transition: background .2s; }
.role:last-child { border-right: 0; }
.role:hover { background: rgba(215, 183, 121, .05); color: var(--text); }
.role small { display: block; margin-bottom: 10px; color: var(--muted); font: 700 .72rem/1.2 var(--head); letter-spacing: .16em; text-transform: uppercase; }
.role b { display: block; margin-bottom: 6px; font: 800 1.15rem/1.25 var(--head); }
.role span { color: var(--gold-2); font-size: .92rem; font-weight: 500; }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .role:nth-child(2) { border-right: 0; } .role:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .roles { grid-template-columns: 1fr; } .role { border-right: 0; border-bottom: 1px solid var(--line); } .role:last-child { border-bottom: 0; } }

/* Band */
.band { position: relative; padding: 46px; border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(600px 300px at 90% 0%, rgba(215, 183, 121, .14), transparent 70%), linear-gradient(160deg, var(--panel-2), var(--panel)); overflow: hidden; }
.band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: center; }
.band h2 { margin-bottom: 12px; }
.band p { color: var(--soft); }
.steps-mini { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: s; }
.steps-mini li { position: relative; padding: 14px 16px 14px 56px; border-radius: 16px; background: rgba(5, 14, 26, .5); border: 1px solid var(--line); color: var(--soft); font-size: .95rem; counter-increment: s; }
.steps-mini li::before { content: counter(s); position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1b1407; font: 800 .9rem/1 var(--head); }
.steps-mini b { color: var(--text); }
@media (max-width: 820px) { .band { padding: 28px 22px; } .band-grid { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-grid p { color: var(--soft); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.facts div { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.facts b { display: block; color: var(--gold-2); font: 800 1.9rem/1.1 var(--head); }
.facts span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }

/* App page */
.app-hero { padding: 64px 0 56px; }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.app-hero-grid.wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.app-id img { width: 76px; height: 76px; border-radius: 19px; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .8); }
.app-id small { display: block; color: var(--gold-2); font: 700 .76rem/1.3 var(--head); letter-spacing: .15em; text-transform: uppercase; }
.app-id b { display: block; font: 800 1.15rem/1.3 var(--head); color: var(--soft); }
.app-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.app-hero .lead { margin-bottom: 22px; }
.app-hero .chips { margin: 0 0 28px; }
.app-hero .chips li { color: var(--soft); border-color: var(--line-2); background: rgba(215, 183, 121, .05); }
.shot-hero { display: flex; justify-content: center; }
.shot-hero .phone { position: relative; inset: auto; rotate: none; translate: none; width: 280px; }
.shot-hero.wide-shot img { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 900px) { .app-hero-grid, .app-hero-grid.wide { grid-template-columns: 1fr; } .shot-hero .phone { width: 240px; } }
.feat-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { padding: 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(170deg, var(--panel-2), var(--panel)); }
.feat .ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 15px; background: rgba(215, 183, 121, .1); color: var(--gold-2); }
.feat .ic svg { width: 24px; height: 24px; }
.feat p { margin: 0; color: var(--muted); font-size: .96rem; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; padding: 26px 24px 24px; border-radius: 22px; border: 1px solid var(--line); counter-increment: st; }
.steps li::before { content: "0" counter(st); display: block; margin-bottom: 14px; color: var(--gold); font: 800 1.6rem/1 var(--head); letter-spacing: .02em; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.gallery { display: flex; gap: 16px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(215, 183, 121, .4) transparent; }
.gallery button { flex: none; scroll-snap-align: start; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; color: var(--muted); font: inherit; }
.gallery img { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); }
.gallery .g-phone img { width: 200px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.gallery .g-wide img { height: 433px; width: auto; }
.gallery span { display: block; max-width: 240px; margin-top: 10px; font-size: .85rem; line-height: 1.35; }
.gallery .g-wide span { max-width: 600px; }
@media (max-width: 600px) { .gallery .g-phone img { width: 160px; } .gallery .g-wide img { height: 346px; } }
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 56px 16px 70px; background: rgba(2, 7, 14, .94); }
.lightbox.on { display: grid; }
.lightbox img { max-height: calc(100vh - 140px); max-width: min(1200px, 100%); width: auto; border-radius: 16px; }
.lightbox p { position: absolute; left: 0; right: 0; bottom: 22px; margin: 0; text-align: center; color: var(--soft); font-size: .95rem; padding: 0 70px; }
.lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lb-x { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.price { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 30px; border-radius: 24px; border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
.price img { width: 64px; height: 64px; border-radius: 16px; }
.price h2 { font-size: 1.5rem; margin-bottom: 6px; }
.price p { margin: 0; color: var(--soft); }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }
.note { margin-top: 22px; color: var(--muted); font-size: .88rem; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.more-grid a { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 20px; border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .2s; }
.more-grid a:hover { border-color: var(--line-2); color: var(--text); }
.more-grid img { width: 54px; height: 54px; border-radius: 14px; }
.more-grid b { display: block; font: 700 1.02rem/1.25 var(--head); }
.more-grid small { color: var(--muted); font-size: .84rem; }
@media (max-width: 820px) { .more-grid { grid-template-columns: 1fr; } }
.crumbs { margin-bottom: 26px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }

/* Text pages (support, privacy, terms) */
.page-hero { padding: 70px 0 26px; }
.page-hero .lead { margin-bottom: 0; }
.prose > * { max-width: 820px; }
.prose > .help-grid { max-width: 900px; }
.prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; }
.prose p, .prose li { color: var(--soft); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--text); }
.prose .btn-row { margin-top: 26px; }
.updated { color: var(--muted); font-size: .92rem; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 6px 0 26px; }
.help-grid a { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.help-grid a:hover { border-color: var(--line-2); color: var(--text); }
.help-grid img { width: 50px; height: 50px; border-radius: 13px; }
.help-grid b { display: block; font: 700 1rem/1.25 var(--head); }
.help-grid small { color: var(--muted); }
@media (max-width: 640px) { .help-grid { grid-template-columns: 1fr; } }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; padding: 16px 30px 16px 0; position: relative; list-style: none; font: 700 1.04rem/1.4 var(--head); color: var(--text); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--gold); font-size: 1.4rem; font-weight: 400; }
details.faq[open] summary::after { content: "\2013"; }
details.faq > div { padding: 0 0 12px; }

/* Footer */
.site-footer { margin-top: 30px; padding: 60px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .25)); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 30px; }
.foot-grid p { color: var(--muted); font-size: .93rem; max-width: 340px; margin-top: 16px; }
.foot-grid h4 { margin: 4px 0 14px; color: var(--text); font: 700 .8rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.foot-grid ul a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.foot-grid ul a:hover { color: var(--gold-2); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot-base a { color: var(--muted); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .rose .spin { animation: none; } html { scroll-behavior: auto; } .btn:hover, .app-card:hover { transform: none; } }

/* 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.lost .btn-row { justify-content: center; }
