/* Skystar Designs — site styles */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #0e2a57;
  --navy-2: #1b3f7a;
  --sky: #eaf1fa;
  --star: #ffc42e;
  --star-deep: #f2b300;
  --ink: #14233f;
  --muted: #4f5d75;
  --line: #d3dcea;
  --white: #ffffff;
  --on-navy-muted: #bccbe3;

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(2rem, 4.5vw, 2.75rem);
  --step-4: clamp(2.75rem, 8vw, 5.25rem);
  --radius-sm: 6px;
  --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-stretch: 100%;
  font-size: var(--step-0);
  line-height: 1.6;
  font-kerning: normal;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--navy-2); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--star);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--star); color: var(--navy);
  padding: 0.6rem 1rem; font-weight: 700; z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3 {
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.005em;
  word-spacing: 0.06em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); margin-bottom: 1rem; }
h3 { font-size: var(--step-1); font-stretch: 85%; font-weight: 750; line-height: 1.2; }
p { margin: 0 0 1rem; max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 750;
  font-size: var(--step-0);
  font-stretch: 90%;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1.1;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-call { background: var(--star); color: var(--navy); }
.btn-call:hover { background: var(--star-deep); color: var(--navy); }
.btn-outline-light { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); color: var(--white); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.25rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--navy); text-decoration: none;
  font-weight: 800; font-stretch: 78%; font-size: 1.45rem; letter-spacing: 0.005em;
}
.brand img { display: block; height: 50px; width: auto; }
@media (max-width: 720px) { .brand img { height: 44px; } }
.header-call {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--navy); font-weight: 750; font-stretch: 90%; text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.header-call svg { width: 1.1rem; height: 1.1rem; }
.header-call:hover { text-decoration: underline; }

/* Hero */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.hero h1 {
  font-size: var(--step-4);
  font-stretch: 64%;
  font-weight: 850;
  line-height: 0.93;
  letter-spacing: -0.01em;
  word-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.hero-intro { font-size: var(--step-1); line-height: 1.5; color: #e6edf8; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-note { margin-top: 1.25rem; color: var(--on-navy-muted); font-size: var(--step--1); }

.phone-col { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.phone {
  --scale: 0.74;
  width: calc(375px * var(--scale) + 22px);
  height: calc(760px * var(--scale) + 22px);
  padding: 11px;
  background: #091d3f;
  border-radius: 38px;
  box-shadow: 0 0 0 2px #2a4c86, 0 30px 60px -20px rgba(0, 0, 0, 0.55);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 28px; overflow: hidden; background: var(--white);
  position: relative;
}
.phone iframe {
  border: 0;
  width: 375px; height: 760px;
  transform: scale(var(--scale));
  transform-origin: top left;
  position: absolute; top: 0; left: 0;
}
.phone-caption { color: var(--on-navy-muted); font-size: var(--step--1); text-align: center; }
.phone-caption a { color: var(--white); }

@media (prefers-reduced-motion: no-preference) {
  .phone { animation: rise 900ms cubic-bezier(.2,.7,.2,1) 150ms both; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
  }
}

/* Sections */
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-sky { background: var(--sky); }
.section-lead { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 52ch; margin-bottom: 2.25rem; }

/* What you get */
.includes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 1.75rem;
}
.includes li {
  display: grid; grid-template-columns: 1.75rem 1fr; column-gap: 0.85rem;
  padding-top: 1.25rem; border-top: 2px solid var(--navy);
}
.includes svg { width: 1.5rem; height: 1.5rem; color: var(--navy); margin-top: 0.1rem; }
.includes h3 { margin-bottom: 0.35rem; }
.includes p { margin: 0; color: var(--muted); }

/* Price board */
.price-board {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.plan { padding: clamp(1.5rem, 4vw, 2.25rem); }
.plan + .plan { border-left: 2px solid var(--navy); }
.plan h3 { font-size: var(--step-2); font-stretch: 72%; font-weight: 800; margin-bottom: 0.35rem; }
.plan-for { color: var(--muted); margin-bottom: 1.5rem; }
.price-lines { margin: 0; }
.price-line {
  display: flex; align-items: baseline; gap: 0.5rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}
.price-line:last-child { border-bottom: 0; }
.price-line dt { flex: 0 1 auto; }
.price-line .leader { flex: 1 1 1.5rem; border-bottom: 2px dotted #9fb0c9; transform: translateY(-0.3em); min-width: 1rem; }
.price-line dd { margin: 0; flex: 0 0 auto; font-weight: 800; font-stretch: 80%; font-size: var(--step-1); font-variant-numeric: tabular-nums; color: var(--navy); text-align: right; }
.price-line dd small { font-weight: 500; font-size: var(--step--1); color: var(--muted); font-stretch: 100%; }
.plan-cta { margin-top: 1.5rem; }

.offer {
  margin-top: 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--star);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
}
.offer svg { width: 1.6rem; height: 1.6rem; flex: none; margin-top: 0.15rem; }
.offer p { margin: 0; max-width: none; font-weight: 600; }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-weight: 800; font-stretch: 75%; font-size: 1.35rem;
  margin-bottom: 1rem;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--muted); margin: 0; }

/* Check offer */
.check {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
}
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.check-list svg { width: 1.25rem; height: 1.25rem; color: var(--navy); flex: none; margin-top: 0.25rem; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.portrait { display: block; width: 100%; max-width: 22rem; order: 2; justify-self: end; }
.portrait img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg);
  background: var(--sky);
}
.about-facts {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1.5rem;
  font-weight: 650; color: var(--navy);
}
.about-facts li { display: flex; gap: 0.6rem; align-items: flex-start; }
.about-facts svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: 0.2rem; }

/* FAQ */
.faq { max-width: 50rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.1rem;
  font-weight: 750; font-stretch: 88%; font-size: var(--step-1); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  width: 0.7rem; height: 0.7rem;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.contact h2 { color: var(--white); }
.contact p { color: #e6edf8; }
.contact-direct { display: grid; gap: 0.75rem; margin-top: 1.5rem; max-width: 22rem; }
.contact-direct .btn { justify-content: flex-start; }
.contact-area { margin-top: 1.5rem; color: var(--on-navy-muted); font-size: var(--step--1); }

.form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 650; font-size: var(--step--1); color: var(--white); }
.field label .opt { font-weight: 400; color: var(--on-navy-muted); }
.field input, .field textarea {
  font: inherit; font-stretch: 100%;
  color: var(--ink); background: var(--white);
  border: 2px solid transparent; border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem; min-height: 3rem; width: 100%;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--star); outline-offset: 1px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { min-height: 1.5rem; margin: 0; font-weight: 600; }
.form-status.ok { color: var(--star); }
.form-status.err { color: #ffd3cf; }
.form-small { font-size: 0.875rem; color: var(--on-navy-muted); margin: 0; }
.form-small a { color: var(--white); }

/* Footer */
.site-footer { background: #0a2048; color: var(--on-navy-muted); font-size: var(--step--1); padding-block: 2rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-footer p { margin: 0; max-width: 60ch; }
.site-footer a { color: var(--white); }
.footer-links { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }

/* Mobile call bar */
.callbar { display: none; }

/* Prose pages */
.prose { max-width: 46rem; }
.prose h1 { font-size: var(--step-3); margin-bottom: 1rem; color: var(--navy); }
.prose h2 { font-size: var(--step-2); margin-top: 2.25rem; margin-bottom: 0.75rem; color: var(--navy); }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose .updated { color: var(--muted); }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-col { display: none; }
  .hero-intro { max-width: 40ch; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check, .about, .contact .wrap { grid-template-columns: 1fr; }
  .portrait { max-width: 15rem; order: -1; justify-self: start; }
}
@media (max-width: 720px) {
  .includes { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .price-board { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 2px solid var(--navy); }
  .steps { grid-template-columns: 1fr; }
  .header-call .num { display: none; }
  .site-footer { padding-bottom: 6rem; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(14, 42, 87, 0.12);
  }
  .callbar .btn { min-height: 3rem; padding-inline: 0.5rem; }
  .hero-example-link { display: inline-block; }
}
@media (min-width: 961px) {
  .hero-example-link { display: none; }
}
