/* =========================================================
   Skytik — refined editorial-tech aesthetic
   Mobile-first. Light, warm, confident.
   ========================================================= */

:root {
  --bg: #f5f3ec;            /* warm cream */
  --bg-2: #efece2;          /* deeper cream */
  --paper: #ffffff;
  --ink: #0d1426;           /* rich navy near-black */
  --ink-2: #1f2a44;
  --muted: #5b6478;
  --muted-2: #8a92a3;
  --line: #e6e1d3;          /* warm border */
  --line-2: #ecead9;
  --brand: #1d4ed8;         /* deeper, refined blue */
  --brand-2: #3b82f6;
  --brand-ink: #0b2e8a;
  --accent: #ea580c;        /* a single warm accent */
  --green: #15803d;
  --shadow-sm: 0 1px 2px rgba(13, 20, 38, 0.04), 0 4px 12px rgba(13, 20, 38, 0.04);
  --shadow-md: 0 6px 18px rgba(13, 20, 38, 0.06), 0 18px 44px rgba(13, 20, 38, 0.06);
  --shadow-lg: 0 10px 30px rgba(13, 20, 38, 0.08), 0 30px 70px rgba(13, 20, 38, 0.08);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Geist", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* selection */
::selection { background: var(--ink); color: var(--bg); }

.container {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

/* subtle paper grain across page */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(rgba(13,20,38,0.025) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
main, header, footer { position: relative; z-index: 1; }

/* ---------- typography ---------- */
h1, h2, h3, p { margin: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.5rem, 6.4vw + 0.5rem, 5.4rem);
  line-height: 0.98;
  margin-bottom: 1.25rem;
}
h1 em {
  font-style: italic;
  color: var(--brand);
  font-weight: 400;
}
.narrow h1 { font-size: clamp(2.25rem, 4.6vw + 0.5rem, 4.25rem); }

h2 {
  font-size: clamp(1.85rem, 3vw + 0.5rem, 3rem);
  line-height: 1.02;
  margin-bottom: 0.75rem;
}
h2 em { font-style: italic; color: var(--brand); }

h3 {
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

p { color: var(--ink-2); }

.eyebrow, .label, .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.label.dark { color: var(--brand-ink); }
.eyebrow::before, .label::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.badge {
  background: rgba(29, 78, 216, 0.07);
  border: 1px solid rgba(29, 78, 216, 0.14);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.badge::before { display: none; }
.badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.18);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 56px;
  padding: 0 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  color: var(--brand);
  background: rgba(29, 78, 216, 0.08);
  border-radius: 8px;
}
.brand-icon svg { width: 22px; height: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  position: relative;
  padding: 0.6rem 0.9rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--ink); background: rgba(13,20,38,0.04); }
.main-nav a.active {
  color: var(--ink);
  background: rgba(13,20,38,0.06);
}
.main-nav .nav-cta {
  margin-left: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
}
.main-nav .nav-cta:hover { background: var(--brand); color: #fff; }

/* hamburger */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.menu-toggle svg { width: 18px; height: 18px; color: var(--ink); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.98rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.2s ease, color 0.15s ease;
  white-space: nowrap;
}
.button .arr {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.button:hover .arr { transform: translateX(3px); }
.button.primary {
  background: var(--ink);
  color: var(--bg);
}
.button.primary:hover { background: var(--brand); }
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary .arr { background: rgba(13,20,38,0.06); color: var(--ink); }
.button.secondary:hover { background: var(--paper); border-color: var(--ink); }
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.button.light:hover { background: var(--bg); }
.button.light .arr { background: rgba(13,20,38,0.06); color: var(--ink); }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  padding: 3rem 0 2rem;
}
.home-hero { padding-bottom: 4rem; }
.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy { max-width: 38rem; }
.hero-text {
  font-size: 1.0625rem;
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-stat {
  padding: 0.25rem 0;
}
.hero-stat .num {
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.hero-stat .num em { font-style: italic; color: var(--brand); }
.hero-stat .lbl {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* ----- hero visual: stacked floating cards (mobile-friendly) ----- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1 / 1.05;
}
.hero-visual::before {
  /* soft glow */
  content: "";
  position: absolute;
  inset: 10% -10% -10% -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(59,130,246,0.20), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.hv-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.1rem;
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* card 1: status / uptime */
.hv-card.status {
  top: 4%;
  left: 0;
  width: 62%;
  animation-delay: 0s;
}
.hv-card.status .row {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.6rem;
}
.hv-card.status .row .live {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--green);
}
.hv-card.status .row .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(21,128,61,0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21,128,61,0.35); }
  50%      { box-shadow: 0 0 0 5px rgba(21,128,61,0); }
}
.hv-card.status .big {
  font-family: var(--serif);
  font-size: 2.4rem;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}
.hv-card.status .big em { color: var(--brand); font-style: italic; }
.hv-card.status .sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.hv-card.status .bars {
  display: flex; gap: 3px;
  margin-top: 0.85rem;
  height: 22px;
}
.hv-card.status .bars i {
  flex: 1;
  background: var(--brand);
  border-radius: 2px;
  opacity: 0.85;
  transform-origin: bottom;
  animation: bar 2.6s ease-in-out infinite;
}
.hv-card.status .bars i:nth-child(1)  { animation-delay: 0.0s; height: 60%; }
.hv-card.status .bars i:nth-child(2)  { animation-delay: 0.1s; height: 80%; }
.hv-card.status .bars i:nth-child(3)  { animation-delay: 0.2s; height: 50%; }
.hv-card.status .bars i:nth-child(4)  { animation-delay: 0.3s; height: 90%; }
.hv-card.status .bars i:nth-child(5)  { animation-delay: 0.4s; height: 70%; }
.hv-card.status .bars i:nth-child(6)  { animation-delay: 0.5s; height: 95%; }
.hv-card.status .bars i:nth-child(7)  { animation-delay: 0.6s; height: 65%; }
.hv-card.status .bars i:nth-child(8)  { animation-delay: 0.7s; height: 85%; }
.hv-card.status .bars i:nth-child(9)  { animation-delay: 0.8s; height: 55%; }
.hv-card.status .bars i:nth-child(10) { animation-delay: 0.9s; height: 75%; }
@keyframes bar {
  0%, 100% { transform: scaleY(1); }
  50%      { transform: scaleY(0.55); }
}

/* card 2: pricing */
.hv-card.price-card {
  bottom: 4%;
  right: 0;
  width: 64%;
  animation-delay: 1.5s;
}
.hv-card.price-card .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(29, 78, 216, 0.10);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 0.7rem;
}
.hv-card.price-card .ico svg { width: 16px; height: 16px; }
.hv-card.price-card h4 {
  margin: 0 0 0.1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
}
.hv-card.price-card .meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.hv-card.price-card .num {
  font-family: var(--serif);
  font-size: 2rem;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 0.1rem;
  line-height: 1;
}
.hv-card.price-card .num small {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--sans);
  letter-spacing: 0;
}
.hv-card.price-card ul {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.35rem;
}
.hv-card.price-card li {
  font-size: 0.8rem;
  color: var(--ink-2);
}
.hv-card.price-card li::before { color: var(--green); }

/* card 3: ssl / shield */
.hv-card.shield {
  top: 38%;
  right: 6%;
  width: 130px;
  padding: 0.85rem 0.95rem;
  text-align: center;
  animation-delay: 0.7s;
}
.hv-card.shield .ico {
  width: 36px; height: 36px;
  margin: 0 auto 0.5rem;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand-2), var(--brand));
  display: grid; place-items: center;
  color: white;
  box-shadow: 0 8px 18px rgba(29,78,216,0.3);
}
.hv-card.shield .ico svg { width: 18px; height: 18px; }
.hv-card.shield .t {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.hv-card.shield .s {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-top: 0.15rem;
}

/* ---------- page hero ---------- */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}
.page-hero .narrow {
  max-width: 50rem;
  margin-inline: auto;
}
.page-hero .label {
  margin-bottom: 1.25rem;
}

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; position: relative; }
.muted-section { background: var(--paper); border-block: 1px solid var(--line); }

.section-heading { margin-bottom: 2rem; }
.section-heading.centered { text-align: center; }
.section-heading.centered .label { margin-inline: auto; justify-content: center; }
.section-heading p:not(.label) {
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 0.5rem;
  max-width: 36rem;
}
.section-heading.centered p:not(.label) { margin-inline: auto; }

/* split */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.split-section .left h2 { max-width: 22rem; }

/* feature lists */
.feature-list,
.feature-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
.feature-list article,
.feature-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-list article:hover,
.feature-grid article:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #d6cfb8;
}
.feature-list .ico,
.feature-grid .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(29, 78, 216, 0.08);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 0.85rem;
}
.feature-list .ico svg,
.feature-grid .ico svg { width: 18px; height: 18px; }
.feature-list p, .feature-grid p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* plans */
.plans-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.plan-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.plan-card.featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.plan-card.featured h3,
.plan-card.featured .price { color: #fff; }
.plan-card.featured p { color: rgba(255,255,255,0.7); }
.plan-card.featured li { color: rgba(255,255,255,0.88); }
.plan-card.featured li::before { color: var(--brand-2); }
.plan-card.featured .price span { color: rgba(255,255,255,0.65); }
.plan-card.featured .button.primary {
  background: var(--paper);
  color: var(--ink);
}
.plan-card.featured .button.primary:hover {
  background: var(--brand);
  color: #fff;
}
.plan-card.featured .button.primary .arr {
  background: rgba(13,20,38,0.08); color: var(--ink);
}
.plan-card.featured .button.primary:hover .arr {
  background: rgba(255,255,255,0.18); color: #fff;
}

.ribbon {
  position: absolute;
  right: 1rem; top: 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price {
  font-family: var(--serif);
  font-size: 2.75rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 1.25rem 0 1rem;
}
.price span {
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 400;
}

ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.5;
}
li::before {
  content: "";
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 3px;
  border-radius: 999px;
  background: rgba(21, 128, 61, 0.12)
              url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2315803d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='3.5 8.5 6.5 11.5 12.5 5'/></svg>")
              center/12px no-repeat;
}

.plan-card .button { margin-top: auto; width: 100%; }
.center-action { text-align: center; margin-top: 1.75rem; }

.plans-section { background: var(--bg-2); border-block: 1px solid var(--line); }

/* CTA */
.cta-section { padding-top: 1rem; }
.cta-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 60%; height: 200%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(59,130,246,0.5), transparent 70%);
  pointer-events: none;
}
.cta-card > div { position: relative; }
.cta-card h2 { color: #fff; margin: 0; }
.cta-card .label {
  color: var(--brand-2);
  margin-bottom: 0.85rem;
}
.cta-card .button { position: relative; align-self: start; }

/* footer */
.site-footer {
  background: transparent;
  color: var(--ink-2);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
.site-footer .brand { color: var(--ink); }
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.site-footer nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.15s ease;
}
.site-footer nav a:hover { color: var(--ink); }
.copyright {
  color: var(--muted-2);
  margin-top: 1.5rem;
  font-size: 0.82rem;
  font-family: var(--mono);
}

/* fade-in on load */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.fade-in.d1 { animation-delay: 0.08s; }
.fade-in.d2 { animation-delay: 0.16s; }
.fade-in.d3 { animation-delay: 0.24s; }
.fade-in.d4 { animation-delay: 0.32s; }
.fade-in.d5 { animation-delay: 0.40s; }
@keyframes fadeIn {
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in, .hv-card, .hv-card.status .bars i,
  .hv-card.status .row .live::before {
    animation: none !important;
    opacity: 1; transform: none;
  }
}

/* =========================================================
   RESPONSIVE — small tablet up
   ========================================================= */
@media (min-width: 640px) {
  .container { width: min(1180px, 100% - 3rem); }
  .hero { padding: 4rem 0 3rem; }
  .home-hero { padding-bottom: 5rem; }
  .feature-list, .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .footer-inner {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-content: space-between;
  }
  .site-footer nav { justify-content: flex-end; }
  .copyright { text-align: left; }
}

/* tablet up */
@media (min-width: 820px) {
  .section { padding: 6rem 0; }
  .hero { padding: 5rem 0 4rem; }
  .home-hero { padding-bottom: 6rem; }

  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 460px;
    aspect-ratio: 1 / 1.1;
  }
  .split-section {
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
  }
  .feature-list, .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-list article, .feature-grid article { padding: 1.6rem; }
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: stretch;
  }
  .plan-card.featured { transform: translateY(-12px); }
  .plan-card.featured:hover { transform: translateY(-15px); }
  .cta-card {
    grid-template-columns: 1.4fr auto;
    gap: 2rem;
    padding: 3rem 3.5rem;
    align-items: center;
  }
  .cta-card .button { align-self: center; }
}

/* desktop */
@media (min-width: 1024px) {
  h1 { letter-spacing: -0.03em; }
  .hero-visual { max-width: 480px; }
  .section { padding: 7rem 0; }
}

/* mobile-only fixes */
@media (max-width: 819px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 1rem; right: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
  }
  .main-nav .nav-cta {
    margin-left: 0; margin-top: 0.4rem;
    text-align: center; justify-content: center;
  }
}

@media (max-width: 480px) {
  .button { width: 100%; }
  .hero-actions { gap: 0.5rem; }
  .price { font-size: 2.4rem; }
  .hero-stat .num { font-size: 1.55rem; }
}
