/* Last Light website — shared styles */
:root {
  --night: #1d1a3c; --night-2: #2b2752; --ink: #f6f0e2; --ink-muted: #c9c2e6;
  --amber: #f2a33a; --amber-hot: #ffc861; --line: rgba(255,255,255,.12);
  --bg: #faf7f0; --card: #ffffff; --text: #221f3d; --muted: #5c587a; --border: #e7e1d3; --link: #b5620c;
  --radius: 16px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #16142c; --card: #201d3d; --text: #f1ede3; --muted: #b4afd0; --border: #34305a; --link: #f5b04a; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* top bar */
.bar { background: var(--night); color: var(--ink); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.bar nav { display: flex; gap: 16px; font-size: 15px; font-weight: 700; }
.bar nav a { color: var(--ink-muted); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--amber-hot); }

/* hero */
.hero { background: radial-gradient(120% 90% at 80% 10%, #4a3f86 0%, var(--night-2) 45%, var(--night) 100%); color: var(--ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.eyebrow { color: var(--amber-hot); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(40px, 8vw, 68px); line-height: 1.02; margin: 0 0 16px; letter-spacing: -.01em; }
.hero .lead { font-size: clamp(18px, 2.6vw, 21px); color: var(--ink-muted); margin: 0 0 28px; max-width: 32em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 900; font-size: 17px; text-decoration: none; }
.btn.primary { background: var(--amber); color: #241d10; box-shadow: 0 4px 0 #b9741c; }
.btn.ghost { color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn .soon { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.18); padding: 3px 8px; border-radius: 999px; }
.note { font-size: 14px; color: var(--ink-muted); margin: 14px 0 0; }
.phone { justify-self: center; width: min(320px, 78vw); aspect-ratio: 390 / 844; border-radius: 38px; padding: 10px; background: #0d0b1d; box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; }

/* sections */
section { padding: 64px 0; }
h2 { font-size: clamp(28px, 4.6vw, 38px); line-height: 1.15; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 18px; margin: 0 0 32px; max-width: 40em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,163,58,.16); font-size: 22px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 22px; border: 1px solid var(--border); background: var(--night); }
.shots figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; text-align: center; }

.family { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.member { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.member b { display: block; font-size: 18px; }
.member span { color: var(--muted); font-size: 15px; }

.band { background: var(--night); color: var(--ink); text-align: center; }
.band h2 { color: var(--ink); }
.band .sub { color: var(--ink-muted); margin-left: auto; margin-right: auto; }
.band .cta { justify-content: center; }

/* legal pages */
.doc-head { background: var(--night-2); color: var(--ink); padding: 40px 0 34px; }
.doc-head h1 { font-size: clamp(30px, 7vw, 42px); line-height: 1.15; margin: 6px 0; }
.doc-head .date { color: var(--ink-muted); margin: 0; font-size: 15px; }
.doc { padding-top: 32px; padding-bottom: 16px; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 4px; }
.summary { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--amber); border-radius: 12px; padding: 16px 18px; margin: 0 0 24px; }
.summary p { margin: 0; }

footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 48px; gap: 36px; }
  .features { grid-template-columns: 1fr; }
  .family { grid-template-columns: repeat(2, 1fr); }
  section { padding: 48px 0; }
}
@media (max-width: 420px) {
  .bar nav { gap: 12px; font-size: 14px; }
  .family { grid-template-columns: 1fr 1fr; }
  .btn { width: 100%; justify-content: center; }
}
