/* Starward Web */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/PlusJakartaSans-latin.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/PlusJakartaSans-latin-italic.woff2) format("woff2"); }

:root {
  --navy: #0E1B33; --navy-2: #172B52; --navy-3: #22396A;
  --gold: #F5B83D; --gold-2: #E6A321; --gold-soft: #FDF1D6;
  --cream: #FBF8F1; --white: #fff;
  --ink: #18223A; --muted: #5A6478; --line: #E6E0D2;
  --ok: #1F7A4D; --err: #B42318;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(14,27,51,.06), 0 8px 24px rgba(14,27,51,.08);
  --shadow-lg: 0 2px 4px rgba(14,27,51,.06), 0 24px 48px rgba(14,27,51,.14);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #fff; --surface: #fff; --text: var(--ink); --strong: var(--navy);
  --link: var(--navy-3); --link-hover: var(--navy);
  --header-bg: rgba(255,255,255,.94); --field-bg: #fff; --field-border: #D7D1C3;
  --callout-bg: var(--gold-soft); --callout-border: #F3DDA5; --tag-bg: var(--gold-soft); --tag-text: #8A5A00;
  --frame-bar: #EEF1F6; --frame-border: #DDE2EA; --frame-url-bg: #fff; --frame-url-text: #6B7487;
  --prose: #344055; --btn-navy-bg: var(--navy); --btn-navy-hover: var(--navy-2); --dot: var(--navy); --footer-bg: var(--navy);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --cream: #0E1830; --ink: #E6EBF5; --muted: #A3AEC6; --line: #243354; --gold-soft: rgba(245,184,61,.12);
  --bg: #0A1224; --surface: #121F3A; --strong: #F2F5FB;
  --link: #9DBBF5; --link-hover: #C8D8FA;
  --header-bg: rgba(10,18,36,.9); --field-bg: #0D172D; --field-border: #2C3D62;
  --callout-bg: rgba(245,184,61,.10); --callout-border: rgba(245,184,61,.32); --tag-bg: rgba(245,184,61,.16); --tag-text: #F5C866;
  --frame-bar: #1A2744; --frame-border: #26365A; --frame-url-bg: #0F1A33; --frame-url-text: #A3AEC6;
  --prose: #CDD5E5; --btn-navy-bg: #2A4A8C; --btn-navy-hover: #345AA6; --dot: #2A4A8C; --footer-bg: #070E1C;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px rgba(0,0,0,.45);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme]) {
  --cream: #0E1830; --ink: #E6EBF5; --muted: #A3AEC6; --line: #243354; --gold-soft: rgba(245,184,61,.12);
  --bg: #0A1224; --surface: #121F3A; --strong: #F2F5FB;
  --link: #9DBBF5; --link-hover: #C8D8FA;
  --header-bg: rgba(10,18,36,.9); --field-bg: #0D172D; --field-border: #2C3D62;
  --callout-bg: rgba(245,184,61,.10); --callout-border: rgba(245,184,61,.32); --tag-bg: rgba(245,184,61,.16); --tag-text: #F5C866;
  --frame-bar: #1A2744; --frame-border: #26365A; --frame-url-bg: #0F1A33; --frame-url-text: #A3AEC6;
  --prose: #CDD5E5; --btn-navy-bg: #2A4A8C; --btn-navy-hover: #345AA6; --dot: #2A4A8C; --footer-bg: #070E1C;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.3), 0 24px 48px rgba(0,0,0,.45);
  color-scheme: dark;
} }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 99; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .8rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 700; text-decoration: none;
  padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(245,184,61,.35); }
.btn-gold:hover { background: #F8C556; color: var(--navy); }
.btn-navy { background: var(--btn-navy-bg); color: #fff; }
.btn-navy:hover { background: var(--btn-navy-hover); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--strong); color: var(--strong); }
.btn-outline:hover { background: var(--strong); color: var(--bg); }
.btn-sm { padding: .55em 1.05em; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--strong); }
.brand img { flex: none; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-name span { font-weight: 500; color: var(--gold-2); margin-left: .15em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { color: var(--gold-2); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.site-nav { margin-left: auto; }
.header-tools { display: flex; align-items: center; gap: 6px; margin-left: 18px; }
.theme-toggle { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--strong); cursor: pointer; transition: background .15s, border-color .15s; }
.theme-toggle:hover { border-color: var(--gold); background: var(--gold-soft); }
.theme-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2.5px; background: var(--strong); border-radius: 2px; position: relative; transition: .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-open .bars { background: transparent; }
.menu-open .bars::before { top: 0; transform: rotate(45deg); }
.menu-open .bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .header-tools { margin-left: auto; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: var(--shadow); }
  .menu-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, #2A4A8C 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, #0B1630 100%); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 44% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 42%, #fff 50%, transparent 51%),
  radial-gradient(2px 2px at 78% 76%, var(--gold) 50%, transparent 51%), radial-gradient(1px 1px at 90% 30%, #fff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 8% 84%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 52% 88%, #fff 50%, transparent 51%),
  radial-gradient(1px 1px at 36% 40%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 10%, #fff 50%, transparent 51%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 88px 0 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.2rem; color: #D5DDEE; max-width: 34em; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: #E8EDF7; }
.hero-points li::before, .check li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E1B33' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-visual { position: relative; }
.hero-visual .browser { transform: rotate(-1.5deg); }
.hero-visual .browser + .browser { position: absolute; width: 58%; right: -6%; bottom: -14%; transform: rotate(3deg); }
.hero-badge { position: absolute; z-index: 3; left: -18px; top: -22px; background: var(--gold); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 10px 16px; box-shadow: var(--shadow-lg); font-size: .95rem; transform: rotate(-4deg); }
@media (max-width: 560px) { .hero-visual .browser + .browser { right: -2%; width: 60%; bottom: -10%; } .hero-badge { left: -6px; } }
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 72px; gap: 40px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
}

/* Browser frame for screenshots */
.browser { background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(14,27,51,.08); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--frame-bar); border-bottom: 1px solid var(--frame-border); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD2DD; }
.browser-bar i:nth-child(1) { background: #F2726A; } .browser-bar i:nth-child(2) { background: #F5BF4F; } .browser-bar i:nth-child(3) { background: #5ECB6B; }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: var(--frame-url-text); background: var(--frame-url-bg); border-radius: 6px; padding: 2px 10px; flex: 1; max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-navy .section-head p { color: #C9D2E6; }

.towns { background: var(--cream); border-bottom: 1px solid var(--line); }
.towns .wrap { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 26px; padding: 18px 0; color: var(--muted); font-weight: 600; font-size: .95rem; }
.towns strong { color: var(--strong); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--dot); color: var(--gold); font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 980px; margin-inline: auto; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.plan-featured { border: 2px solid var(--gold); box-shadow: var(--shadow-lg); }
.plan-tag { position: absolute; top: -14px; left: 32px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; margin-bottom: .3em; }
.plan .sub { color: var(--muted); min-height: 3.2em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 2px; }
.price .amt { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--strong); }
.price .per { color: var(--muted); font-weight: 600; }
.price-note { font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.price-note strong { color: var(--text); }
.check { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; }
.check li { display: flex; gap: 10px; align-items: flex-start; }
.plan .btn { margin-top: auto; }
.extras { max-width: 980px; margin: 36px auto 0; text-align: center; color: var(--muted); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.feature .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(245,184,61,.14); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature p { color: #C9D2E6; margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Portfolio */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.work-card { text-decoration: none; color: inherit; display: block; }
.work-card .browser { transition: transform .2s, box-shadow .2s; }
.work-card:hover .browser { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(14,27,51,.18); }
.work-meta { padding: 16px 4px 0; }
.work-meta h3 { margin: 0 0 4px; }
.work-meta p { margin: 0; color: var(--muted); font-size: .96rem; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--tag-bg); color: var(--tag-text); border-radius: 999px; padding: 3px 10px; margin-right: 6px; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

/* Split / callouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.callout { background: var(--callout-bg); border: 1px solid var(--callout-border); border-radius: var(--radius); padding: 24px 26px; }
.callout p:last-child { margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-2); font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; border-radius: 24px; padding: 56px 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #C9D2E6; margin: 0; }
.cta-band .spark { position: absolute; right: -40px; top: -50px; width: 220px; opacity: .12; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } }

/* Page header */
.page-head { background: linear-gradient(180deg, var(--navy) 0%, #0B1630 100%); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.page-head p { color: #C9D2E6; font-size: 1.15rem; max-width: 40em; margin: 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: end; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--field-border); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(34,57,106,.15); }
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .88rem; color: var(--muted); }
.alert { border-radius: 12px; padding: 14px 16px; font-weight: 600; }
.alert-err { background: #FEF3F2; color: var(--err); border: 1px solid #FECDCA; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.side-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.side-list .n { width: 36px; height: 36px; border-radius: 50%; background: var(--dot); color: var(--gold); font-weight: 800; display: grid; place-items: center; }

/* Prose (legal pages) */
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose p, .prose li { color: var(--prose); }

/* Footer */
.site-footer { background: var(--footer-bg); color: #C9D2E6; padding: 64px 0 28px; margin-top: 0; }
.site-footer a { color: #E8EDF7; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.brand-light { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid .muted { color: #A9B4CC; max-width: 26em; margin-top: 14px; }
.footer-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; font-size: .9rem; color: #8F9BB6; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.split-form { grid-template-columns: 1.25fr 1fr; }
@media (max-width: 860px) { .split-form { grid-template-columns: 1fr; } }

/* Dark mode details */
:root[data-theme="dark"] .alert-err { background: rgba(180,35,24,.15); color: #FDA29B; border-color: rgba(253,162,155,.35); }
:root[data-theme="dark"] .cta-band { border: 1px solid var(--line); }
:root[data-theme="dark"] .section-navy { border-block: 1px solid var(--line); }
:root[data-theme="dark"] .towns { border-color: var(--line); }
