/* Rocketclad Studios — shared styles for every page */
:root {
  /* gunmetal and brushed steel, with one ember accent */
  --bg: #0c0e13;
  --bg-2: #12151c;
  --panel: #151922;
  --panel-2: #1b202b;
  --line: rgba(255, 255, 255, .08);
  --text: #eceef3;
  --muted: #979eae;
  --copper: #ff7a3d;
  --copper-hi: #ffa36e;
  --steel: #c9cfdb;
  --link: #ffa36e;
  --radius: 18px;
  --wrap: 1080px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 var(--font);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 9%, rgba(255,255,255,.45) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 85% 32%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 44%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 70%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 7% 82%, rgba(255,255,255,.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 88%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(ellipse at 80% -20%, rgba(255, 122, 61, .14) 0%, transparent 55%),
    radial-gradient(ellipse at 15% -10%, #1d2330 0%, transparent 60%);
  background-size: 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, 100% 900px, 100% 900px;
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat, no-repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--copper-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--copper); color: #1a0f06; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(12, 14, 19, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 122, 61, .55) 50%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand .wm {
  font-size: 17px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #d4d9e3 45%, #8d95a6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand .wm-sub { font-size: 11px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--copper-hi); padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .18); }
.brand:hover .wm { background: linear-gradient(180deg, #fff 0%, #fff 50%, #c9cfdb 100%); -webkit-background-clip: text; background-clip: text; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.07); }

/* Type */
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 850; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 750; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase; color: var(--copper-hi); margin-bottom: 14px; }
.accent { background: linear-gradient(90deg, #ffc49a, var(--copper) 60%, #e0502a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--steel); max-width: 40em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 750; text-decoration: none; border: 1px solid transparent; font-size: 16px; }
.btn-primary { background: linear-gradient(180deg, var(--copper-hi), var(--copper)); color: #1f0d03; box-shadow: 0 6px 22px rgba(255, 122, 61, .28); }
.btn-primary:hover { color: #1f0d03; filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.09); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Sections */
section { padding: 64px 0; }
.hero { padding: 72px 0 56px; }
.plate {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px rgba(0, 0, 0, .25);
}
/* the "clad" look: four rivets on a metal plate */
.plate.riveted::before, .plate.riveted::after {
  content: ""; position: absolute; top: 12px; width: 6px; height: 6px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 1px, var(--steel) 2px, #59627a 4px);
  opacity: .55;
}
.plate.riveted::before { left: 12px; }
.plate.riveted::after { right: 12px; }

/* App cards on the home page */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.app-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .2s ease, border-color .2s ease; }
.app-card:hover { transform: translateY(-3px); border-color: rgba(255, 163, 110, .45); color: var(--text); }
.app-card .art { height: 240px; position: relative; overflow: hidden; }
.app-card .art img.bg { width: 100%; height: 100%; object-fit: cover; }
.app-card .art img.icon { position: absolute; left: 22px; bottom: -1px; width: 92px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.45)); }
.app-card .body { padding: 22px 24px 26px; }
.app-card .tag { font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--copper-hi); }
.app-card h3 { font-size: 24px; margin: 6px 0 8px; }
.app-card .more { font-weight: 750; color: var(--link); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.feature { padding: 22px; }
.feature h3 { font-size: 18px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Store availability */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: var(--text); text-decoration: none; font-size: 13px; line-height: 1.2; }
.store svg { width: 24px; height: 24px; flex: none; fill: currentColor; }
.store b { display: block; font-size: 16px; }
.store.soon { opacity: .8; }

/* Two-column hero for app pages */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.phone { width: min(300px, 80%); margin: 0 auto; border-radius: 36px; overflow: hidden; border: 6px solid #1d2440; box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08); }

/* Info lists */
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 3px rgba(232,137,74,.2); }

/* Contact cards */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact { padding: 24px; }
.contact h3 { margin-bottom: 4px; }
.contact p { color: var(--muted); font-size: 15px; }
.contact a.mail { font-weight: 750; word-break: break-all; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 14px 32px 14px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 24px; color: var(--copper-hi); font-weight: 400; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 16px; color: var(--steel); }
details > div p:last-child { margin-bottom: 0; }

/* Legal documents */
.doc { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); }
.doc h2 { font-size: 24px; margin-top: 2.2em; padding-top: .4em; }
.doc h3 { font-size: 18px; margin-top: 1.6em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: .45em; }
.doc .updated { color: var(--muted); font-size: 15px; }
.summary-box { padding: 22px 24px; margin: 26px 0 8px; }
.summary-box h2 { margin-top: 0 !important; padding-top: 0 !important; font-size: 20px; }
.summary-box ul { margin: 0; }
.toc { padding: 18px 22px; margin: 22px 0; font-size: 15px; }
.toc ol { margin: 6px 0 0; padding-left: 1.3em; columns: 2; column-gap: 28px; }
.toc a { color: var(--steel); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0 18px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 10px 10px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--copper-hi); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 44px; margin-top: 40px; color: var(--muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--steel); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

/* Liftoff Legacy page accents */
.theme-legacy .hero { background: linear-gradient(90deg, rgba(12,14,19,.78) 0%, rgba(12,14,19,.45) 60%, rgba(12,14,19,.2) 100%), linear-gradient(180deg, transparent 60%, var(--bg) 98%), url("../img/legacy-island.jpg") center 35% / cover no-repeat; }
.theme-legacy .hero .lede { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.theme-legacy { --copper: #ffb627; --copper-hi: #ffd166; --link: #ffd166; }
.theme-legacy .btn-primary { color: #2b1a00; }

/* Liftoff Golf Academy page accents */
.theme-golf { --bg: #0c1a13; --panel: #11251b; --panel-2: #163023; --copper: #c9a24a; --copper-hi: #e6c878; --link: #e6c878; --steel: #d8d2bf; --muted: #a9b3a5; }
.theme-golf body, body.theme-golf { background-image: radial-gradient(ellipse at 50% -10%, #1f3a2b 0%, transparent 60%); background-size: 100% 900px; background-repeat: no-repeat; background-color: var(--bg); }
.theme-golf .site-header { background: rgba(12, 26, 19, .85); }
.theme-golf h1, .theme-golf h2 { font-family: var(--serif); font-weight: 600; letter-spacing: 0; }
.theme-golf .hero { background: linear-gradient(90deg, rgba(12,26,19,.96) 0%, rgba(12,26,19,.75) 55%, rgba(12,26,19,.35) 100%), url("../img/golf-course.jpg") center 70% / cover no-repeat; }
.theme-golf .btn-primary { color: #1b1606; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  section { padding: 48px 0; }
  .hero { padding: 48px 0 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand .wm { font-size: 15px; letter-spacing: .14em; }
  .brand .wm-sub { display: none; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a { padding: 6px 8px; font-size: 14px; }
  .theme-legacy .hero { background: linear-gradient(180deg, rgba(12,14,19,.72) 0%, rgba(12,14,19,.55) 45%, var(--bg) 96%), url("../img/legacy-island.jpg") center 35% / cover no-repeat; }
  .site-header .wrap { min-height: 58px; }
  table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
  table.data thead { display: none; }
  table.data tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  table.data td { border: 0; padding: 4px 0; }
  table.data td::before { content: attr(data-label); display: block; color: var(--copper-hi); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .app-card { transition: none; }
}
