/* RigPass marketing site — the shared RigPass design system (same tokens as the Flutter apps and Windows Client).
   bg #0E0F12 · surface #16181D · raised #1E2128 · hairline #2A2D36 @60% · text #F2F0EB / #9A968C / #6E6B64 · gold #C6A45A
   Inter only · radius 14 / 22 · 8-pt spacing · 320 ms ease-out · generous logo and type. */
:root {
  --bg: #0e0f12; --surface: #16181d; --raised: #1e2128; --hair: rgba(42, 45, 54, .6); --hair-solid: #2a2d36;
  --text: #f2f0eb; --text2: #9a968c; --muted: #6e6b64;
  --gold: #c6a45a; --gold-hi: #d1b06a; --gold-soft: rgba(198, 164, 90, .12); --gold-line: rgba(198, 164, 90, .4); --on-gold: #16120a;
  --success: #6fbf9a; --danger: #d46a6a;
  --r: 14px; --r-pill: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1); --dur: 320ms;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px; --nav-h: 80px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); letter-spacing: -.006em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--text); text-wrap: balance; }
p { margin: 0; }
::selection { background: rgba(198, 164, 90, .35); color: var(--text); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 860px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: var(--r); background: var(--gold); color: var(--on-gold); font-weight: 600; }
.skip:focus { top: 16px; }
.gold { color: var(--gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid var(--gold); background: var(--gold); color: var(--on-gold); font: 600 16px/1 var(--font); letter-spacing: -.01em; cursor: pointer; white-space: nowrap; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 180ms var(--ease); }
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--on-gold); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--hair-solid); }
.btn--ghost:hover { background: rgba(242, 240, 235, .04); color: var(--text); border-color: var(--gold-line); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 17px; border-radius: 28px; }

/* Nav — big logo */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(14, 15, 18, .72); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.nav.is-on { background: rgba(14, 15, 18, .9); border-bottom-color: var(--hair); }
.nav__bar { display: flex; align-items: center; gap: 32px; min-height: var(--nav-h); }
.nav-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.nav__mark { width: 40px; height: 40px; }
.nav__word { width: auto; height: 30px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a { padding: 10px 14px; border-radius: 12px; color: var(--text2); font-size: 16px; font-weight: 500; transition: color var(--dur) var(--ease), background var(--dur) var(--ease); }
.nav__links a:hover { color: var(--text); background: rgba(242, 240, 235, .04); }
.nav__cta { flex: none; }
.burger { display: none; width: 48px; height: 48px; margin-left: auto; border: 1px solid var(--hair-solid); border-radius: var(--r); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform var(--dur) var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { display: none; }

/* Hero */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, rgba(198, 164, 90, .13), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(111, 191, 154, .16); }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.04em; }
.hero h1 .gold { display: block; }
.hero__lead { margin-top: 24px; max-width: 560px; color: var(--text2); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 48px 0 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--hair); }
.hero__facts li { display: flex; flex-direction: column; gap: 4px; }
.hero__facts strong { font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.hero__facts span { color: var(--text2); font-size: 15px; }
.hero__media { position: relative; margin: 0; }
.hero__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-pill); border: 1px solid var(--hair); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); filter: saturate(.85) contrast(1.05); }
.hero__media::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-pill); background: linear-gradient(180deg, transparent 55%, rgba(14, 15, 18, .65)); pointer-events: none; }
.hero__chip { position: absolute; z-index: 1; left: -28px; bottom: 36px; display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 18px; background: rgba(22, 24, 29, .92); border: 1px solid var(--hair-solid); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 48px -24px #000; }
.hero__chip img { width: 56px; height: 56px; border-radius: 12px; background: var(--raised); object-fit: contain; }
.hero__chip span { display: flex; flex-direction: column; gap: 2px; }
.hero__chip b { font-size: 16px; font-weight: 600; }
.hero__chip small { color: var(--text2); font-size: 14px; }

/* Strip */
.strip { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--surface); }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__row > div { display: flex; flex-direction: column; gap: 4px; padding: 32px 24px; border-left: 1px solid var(--hair); }
.strip__row > div:first-child { border-left: 0; padding-left: 0; }
.strip strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.strip span { color: var(--text2); font-size: 15px; }

/* Sections */
.section { padding: 120px 0; }
.section--tint { background: var(--surface); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__head h2, .visual__copy h2, .cta h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: -.035em; }
.section__sub { margin-top: 18px; color: var(--text2); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }

/* Features */
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { padding: 28px 24px 30px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--hair); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.feat:hover { border-color: var(--gold-line); transform: translateY(-2px); background: #181a20; }
.feat__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: var(--r); background: var(--gold-soft); border: 1px solid rgba(198, 164, 90, .25); }
.feat__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 10px; }
.feat p { color: var(--text2); font-size: 16px; line-height: 1.6; }

/* Visual */
.visual { padding: 0 0 120px; }
.visual__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.visual__shot { margin: 0; }
.visual__shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-pill); border: 1px solid var(--hair); filter: saturate(.85); }
.visual__copy > p { margin-top: 20px; color: var(--text2); font-size: 18px; line-height: 1.65; }
.visual__copy .btn { margin-top: 32px; }
.stations { margin-top: 36px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--hair); }
.stations__label { color: var(--text2); font-size: 15px; margin-bottom: 16px; }
.stations__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stations__row img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; border-radius: 12px; background: var(--raised); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.steps li { position: relative; padding: 32px 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--hair); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 50%; border: 1px solid var(--gold-line); color: var(--gold); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 10px; }
.steps p { color: var(--text2); font-size: 16px; }

/* For cafes */
.cafes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cafe { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--hair); }
.cafe h3 { font-size: 22px; letter-spacing: -.02em; }
.cafe p { color: var(--text2); font-size: 16px; flex: 1; }
.cafe__btns, .down__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cafe--accent { border-color: var(--gold-line); background: linear-gradient(180deg, rgba(198, 164, 90, .08), rgba(198, 164, 90, 0) 60%), var(--bg); }

/* Downloads */
.downs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.down { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 28px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--hair); }
.down__art { display: grid; place-items: center; aspect-ratio: 16 / 10; margin-bottom: 12px; border-radius: var(--r); background: radial-gradient(closest-side, rgba(198, 164, 90, .12), transparent), var(--raised); overflow: hidden; }
.down__art img { width: 70%; height: 90%; object-fit: contain; }
.down__art img[src*="setup-pc"] { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.down h3 { padding: 0 12px; font-size: 22px; letter-spacing: -.02em; }
.down p { padding: 0 12px; color: var(--text2); font-size: 16px; flex: 1; }
.down > .btn, .down__btns { margin: 8px 12px 0; }
.down > .btn { align-self: flex-start; }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.price { padding: 40px 36px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--hair); }
.price h3 { color: var(--text2); font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.price__num { margin: 18px 0 18px !important; font-size: clamp(56px, 7vw, 88px); font-weight: 600; line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price__num small { color: var(--text2); font-size: 18px; font-weight: 500; letter-spacing: 0; }
.price p:last-child { color: var(--text2); font-size: 17px; }
.price--accent { border-color: var(--gold-line); }
.price--accent .price__num { color: var(--gold); }

/* FAQ */
.faq { border-top: 1px solid var(--hair); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; list-style: none; cursor: pointer; font-size: 20px; font-weight: 600; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-right: 6px; border-right: 2px solid var(--text2); border-bottom: 2px solid var(--text2); transform: rotate(45deg) translateY(-3px); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-3px); border-color: var(--gold); }
.faq summary:hover { color: var(--gold); }
.faq details p { padding: 0 48px 28px 0; color: var(--text2); font-size: 17px; }

/* CTA */
.cta { position: relative; padding: 128px 0; text-align: center; overflow: hidden; border-top: 1px solid var(--hair); }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(198, 164, 90, .12), transparent 70%); pointer-events: none; }
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 72px; height: 72px; margin-bottom: 32px; }
.cta h2 { max-width: 820px; }
.cta p { margin-top: 18px; color: var(--text2); font-size: 20px; }
.cta .hero__cta { justify-content: center; }

/* Footer */
.foot { padding: 48px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--hair); color: var(--text2); font-size: 15px; }
.foot__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.foot__logo { display: inline-flex; align-items: center; gap: 10px; }
.foot__logo img:first-child { width: 36px; height: 36px; }
.foot__logo img:last-child { width: auto; height: 26px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-left: auto; }
.foot__links a { color: var(--text2); }
.foot__links a:hover { color: var(--text); }

/* Reveal (landing.js adds .rp-js only when motion is allowed) */
.rp-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
.rp-js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .nav__links a { padding: 10px 10px; }
}
@media (max-width: 920px) {
  :root { --nav-h: 72px; }
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }
  .menu { display: none; flex-direction: column; gap: 4px; padding: 8px 24px 24px; border-top: 1px solid var(--hair); background: rgba(14, 15, 18, .98); }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 16px 4px; color: var(--text); font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--hair); }
  .menu .btn { margin-top: 16px; min-height: 56px; font-size: 17px; }
  .hero { padding: 40px 0 72px; }
  .hero__grid, .visual__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__img { aspect-ratio: 4 / 3; }
  .hero__chip { left: 16px; bottom: 16px; }
  .visual__shot { order: 2; }
  .visual__shot img { aspect-ratio: 4 / 3; }
  .strip__row { grid-template-columns: repeat(2, 1fr); }
  .strip__row > div { padding: 24px 0; border-left: 0; border-top: 1px solid var(--hair); }
  .strip__row > div:nth-child(-n+2) { border-top: 0; }
  .strip__row > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--hair); }
  .steps, .cafes__grid, .downs, .prices { grid-template-columns: 1fr; }
  .section { padding: 88px 0; }
  .visual { padding-bottom: 88px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .nav__mark { width: 36px; height: 36px; }
  .nav__word { height: 27px; }
  .feats { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 16px 28px; }
  .hero__facts strong { font-size: 26px; }
  .stations__row { grid-template-columns: repeat(2, 1fr); }
  .price { padding: 32px 24px; }
  .faq summary { font-size: 18px; }
  .faq details p { padding-right: 0; }
  .foot__links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rp-js .reveal { opacity: 1; transform: none; }
}
