/* Starf public website. Colours and type follow BRAND.md; no outside fonts, so nothing is loaded from other companies. */
:root {
  --canvas: #F5F5F7; --surface: #FFFFFF; --ink: #1D1D1F; --text-2: #6E6E73; --border: #E5E5EA;
  --accent: #0071E3; --link: #0066CC; --good: #248A3D; --critical: #D70015; --critical-bg: rgb(255 59 48 / 0.12);
  --shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 4px 16px rgb(0 0 0 / 0.04);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #111113; --surface: #1C1C1E; --ink: #F5F5F7; --text-2: #A1A1A6; --border: #2E2E31;
    --accent: #0A84FF; --link: #2997FF; --good: #30D158; --critical: #FF6961; --critical-bg: rgb(255 69 58 / 0.18);
    --shadow: none;
  }
  .bloom path { mix-blend-mode: screen; opacity: 1; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.05; font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0; }
.hidden { position: absolute; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.small { font-size: 14px; }
.muted { color: var(--text-2); }
.center { text-align: center; }

.bloom path { opacity: 0.82; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 28px; }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--surface) 80%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; gap: 16px; }
.nav nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.nav nav a:not(.btn) { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 980px; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.btn:hover { text-decoration: none; opacity: 0.88; }
.btn-primary { background: var(--ink); color: var(--surface); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-small { height: 34px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: 0.5; cursor: default; }

.hero { padding: 72px 0 0; text-align: center; background: linear-gradient(var(--surface), var(--canvas)); }
.eyebrow { color: var(--text-2); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.lead { font-size: clamp(19px, 2.4vw, 22px); color: var(--text-2); max-width: 680px; margin: 20px auto 0; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 32px 0 12px; }
.shot { margin-top: 48px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px 16px 0 0; border: 1px solid var(--border); border-bottom: 0; box-shadow: 0 -2px 40px rgb(0 0 0 / 0.08); }

.section { padding: 96px 0; }
.section.alt { background: var(--canvas); }
.section h2 { text-align: center; }
.section-lead { color: var(--text-2); font-size: 19px; text-align: center; max-width: 640px; margin: 14px auto 48px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two h2, .two .section-lead { text-align: left; margin-left: 0; }
.two .section-lead { margin-bottom: 24px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.section:not(.alt) .card { background: var(--canvas); border-color: transparent; box-shadow: none; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 16px; }

.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.ticks li { padding-left: 32px; position: relative; color: var(--text-2); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--good); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg); }

.prices .card { text-align: center; }
.card .amount { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; color: var(--ink) !important; margin-top: 16px; }
.card .amount span { display: block; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-2); }
.prices + .small { margin-top: 24px; }

.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form select { height: 46px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--ink); padding: 0 14px; font: inherit; font-weight: 400; font-size: 16px; width: 100%; }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.form .btn { width: 100%; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message:empty { display: none; }
.form-message { font-size: 15px; border-radius: 10px; padding: 12px 14px; background: var(--critical-bg); color: var(--critical); }
.form-message.ok { background: color-mix(in srgb, var(--good) 14%, transparent); color: var(--ink); }
.form.done label, .form.done button { display: none; }

.faq { max-width: 760px; }
.faq h2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--border); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-2); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin-top: 10px; }

.footer { border-top: 1px solid var(--border); padding: 32px 0 48px; background: var(--canvas); }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner .small.muted { flex: 1 1 300px; }
.small-brand { font-size: 16px; }
.small-brand .mark { width: 22px; height: 22px; }

.doc { max-width: 720px; padding: 64px 24px 96px; }
.doc h1 { font-size: 40px; margin-bottom: 12px; }
.doc h2 { font-size: 22px; text-align: left; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc strong { color: var(--ink); }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  .shot img { border-radius: 12px 12px 0 0; }
}
