/* riftcustodian.com — matches the game's title screen: deep space black, cyan and the pink outline title. */
:root {
  color-scheme: dark;
  --bg: #02050a;
  --panel: rgba(6, 14, 22, .86);
  --line: rgba(151, 214, 236, .18);
  --text: #c9dce6;
  --muted: #8aa1ae;
  --bright: #edfaff;
  --cyan: #47dfff;
  --pink: #ff74c8;
  --amber: #ffcf96;
  --gutter: clamp(16px, 4vw, 48px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--cyan); }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }

.site-header { position: absolute; z-index: 2; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px var(--gutter); }
.studio { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .2em; text-decoration: none; }
.site-header nav { display: flex; gap: clamp(12px, 2.5vw, 28px); align-items: center; }
.site-header nav a { color: var(--text); font-size: 13px; letter-spacing: .08em; text-decoration: none; }
.site-header nav a:hover { color: var(--bright); }
.site-header .nav-cta { padding: 7px 12px; border: 1px solid rgba(71, 223, 255, .45); }

/* Hero: the title-screen ship art on the right, the title lockup over a dark fade on the left. */
.hero { position: relative; display: grid; align-items: center; min-height: min(100vh, 900px); padding: 110px var(--gutter) 72px; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(2, 5, 10, .97) 0%, rgba(2, 5, 10, .82) 38%, rgba(2, 5, 10, .2) 70%, rgba(2, 5, 10, .35) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(2, 5, 10, 0) 30%), url("img/ship.jpg") right center / cover no-repeat; }
.hero-copy { max-width: 640px; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .24em; }
h1 { margin: 0; color: var(--bright); line-height: .82; }
.title-series { display: block; margin: 0 0 .16em .04em; color: #cfeaf4; font-size: clamp(20px, 2.6vw, 34px); font-weight: 700; letter-spacing: .32em; }
.title-word { display: block; font-size: clamp(56px, 10vw, 128px); font-weight: 800; letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 116, 200, .95); filter: drop-shadow(-1.6px 0 rgba(255, 48, 96, .7)) drop-shadow(1.6px 0 rgba(48, 224, 255, .65)); text-shadow: 0 0 34px rgba(255, 78, 184, .28); }
.tagline { margin: 26px 0 10px; color: var(--bright); font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.35; }
.lede { margin: 0; max-width: 560px; color: var(--text); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-top: 30px; }
.status { color: var(--amber); font-size: 13px; letter-spacing: .04em; }

.button { display: inline-block; padding: 13px 22px; border: 1px solid rgba(201, 220, 230, .35); background: rgba(6, 14, 22, .7); color: var(--bright); font: 600 14px/1.2 inherit; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.button:hover { border-color: var(--bright); }
.button.primary { border-color: rgba(71, 223, 255, .7); background: linear-gradient(90deg, rgba(20, 110, 140, .55), rgba(150, 40, 110, .45)); }
.button.primary:hover { border-color: var(--cyan); }
.button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.button:disabled { opacity: .6; cursor: progress; }

.section-title { margin: 0 0 28px; color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .26em; }
.features, .screens, .updates { padding: 72px var(--gutter); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { padding: 24px; border: 1px solid var(--line); background: var(--panel); }
.feature h3 { margin: 14px 0 8px; color: var(--bright); font-size: 20px; }
.feature p { margin: 0; color: var(--text); }
.feature-mark { display: block; width: 34px; height: 3px; }
.feature-mark.blue { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.feature-mark.cyan { background: #9ef3e6; box-shadow: 0 0 14px #9ef3e6; }
.feature-mark.pink { background: var(--pink); box-shadow: 0 0 14px var(--pink); }

.shot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shot-grid figure { margin: 0; border: 1px solid var(--line); background: #000; }
.shot-grid figcaption { padding: 10px 12px; color: var(--muted); font-size: 13px; letter-spacing: .03em; }

.updates-panel { max-width: 640px; margin: 0 auto; padding: clamp(24px, 4vw, 40px); border: 1px solid rgba(71, 223, 255, .28); background: var(--panel); }
.updates-panel > p { margin: 0 0 20px; }
.signup-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.field input { width: 100%; padding: 12px 13px; border: 1px solid rgba(129, 161, 174, .4); background: #07121c; color: var(--bright); font: 500 16px/1.2 inherit; letter-spacing: 0; text-transform: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--cyan); }
.signup-form .button { justify-self: start; }
.signup-status { min-height: 1.4em; margin: 0; color: var(--cyan); font-size: 15px; }
.signup-status.error { color: #ff9a9a; }
.fineprint { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.feedback-panel { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; max-width: 640px; margin: 20px auto 0; padding: 22px clamp(24px, 4vw, 40px); border: 1px solid rgba(255, 116, 200, .3); background: var(--panel); }
.feedback-panel > div { flex: 1 1 300px; }
.feedback-panel .section-title { margin-bottom: 8px; color: var(--pink); }
.feedback-panel p { margin: 0; }

.site-footer { padding: 36px var(--gutter) 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: var(--text); }
.footer-note { font-size: 12px; }

@media (max-width: 900px) {
  .feature-grid, .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding-top: 96px; padding-bottom: 24px; }
  .hero-art { background: linear-gradient(0deg, rgba(2, 5, 10, 1) 0%, rgba(2, 5, 10, .86) 45%, rgba(2, 5, 10, .55) 100%), url("img/ship.jpg") 70% center / cover no-repeat; }
  .feature-grid, .shot-grid { grid-template-columns: 1fr; }
  .button { width: 100%; text-align: center; }
  .signup-form .button { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
