/* Star Plate site. Layout: a single centered column with a night-sky hero band on the home page. */
:root {
  --bg: #f4f5fa;
  --panel: #ffffff;
  --ink: #1a1e42;
  --muted: #555b7e;
  --line: #dcdfeb;
  --gold: #a8681a;
  --gold-soft: #f6ead6;
  --night: #161a3c;
  --night-ink: #eceefa;
  --star: #f0b44a;
  --display: "Gloock", Georgia, serif;
  --body: "Figtree", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10132c; --panel: #1a1e42; --ink: #eceefa; --muted: #a7acd0;
    --line: #2d3263; --gold: #f0b44a; --gold-soft: #2c2a3d; --night: #0b0d22;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 720px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-header nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }

/* Home hero */
.hero { background: radial-gradient(120% 90% at 50% 0%, #2b3270 0%, var(--night) 60%); color: var(--night-ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 64px 0; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; padding-bottom: 56px; min-width: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--star); margin: 0; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 7vw, 64px); line-height: 1.02; margin: 0; text-wrap: balance; }
.hero p.lede { font-size: 19px; color: #c4c8ea; margin: 0; max-width: 34em; }
.soon { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(240, 180, 74, .5); color: var(--night-ink); font-weight: 600; font-size: 15px; }
.soon::before { content: ""; width: 10px; height: 10px; background: var(--star); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.phones { display: flex; gap: 16px; justify-content: center; align-items: flex-end; align-self: end; min-width: 0; }
.phones img { width: 46%; max-width: 230px; border-radius: 26px 26px 0 0; border: 6px solid #2d3263; border-bottom: 0; box-shadow: 0 -10px 40px rgba(0, 0, 0, .35); }
.phones img:first-child { transform: translateY(28px); }

/* Sections */
.section { padding-block: 64px; }
.section h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4.5vw, 38px); line-height: 1.1; margin: 0 0 8px; text-wrap: balance; }
.section .sub { color: var(--muted); margin: 0 0 28px; max-width: 40em; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feature h3 { margin: 0; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .1em; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); }

.elements { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.element { padding: 20px; border-left: 1px solid var(--line); min-width: 0; }
.element:first-child { border-left: 0; }
.element h3 { margin: 0 0 2px; font-size: 17px; }
.element .signs { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.element p { margin: 0; font-size: 15px; }
@media (max-width: 860px) { .element { border-left: 0; border-top: 1px solid var(--line); } .element:first-child { border-top: 0; } }

/* Document pages (privacy, support) */
.doc { padding-block: 48px 64px; display: flex; flex-direction: column; gap: 32px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 7vw, 46px); line-height: 1.05; margin: 0; text-wrap: balance; }
.doc .dates { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.doc section { display: flex; flex-direction: column; gap: 10px; }
.doc section h2 { font-size: 20px; font-weight: 700; margin: 0; }
.doc section p, .doc section ul { margin: 0; }
.doc section ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

.summary { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.summary h2 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 0; text-wrap: balance; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 20px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.facts li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.facts b { display: block; }
.facts span { color: var(--muted); font-size: 15px; }

.stored { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.stored div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 15px; }
.stored div:first-child { border-top: 0; background: var(--gold-soft); font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.stored div span:first-child { font-weight: 600; }
@media (max-width: 480px) { .stored div { grid-template-columns: 1fr; gap: 2px; } .stored div:first-child { display: none; } }

.contact { background: var(--gold-soft); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.contact p { margin: 0; }
.email { font-weight: 700; font-size: 19px; user-select: all; word-break: break-all; }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 14px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-weight: 700; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ol { margin: 10px 0 0; color: var(--muted); }
.faq ol { padding-left: 1.2em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 32px; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; gap: 8px; }
  .hero-copy { padding-bottom: 16px; }
  .phones img { width: 44%; }
}
@media (prefers-reduced-motion: no-preference) {
  .phones img { transition: transform .4s ease; }
}
