:root {
  color-scheme: light;
  --brand: #0e9296;
  --brand-strong: #087277;
  --accent: #f4b860;
  --ink: #0c2148;
  --muted: #68758f;
  --surface: #fbfcfa;
  --card: #ffffff;
  --line: #dce8e3;
  --shadow: 0 24px 70px rgba(23, 107, 89, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 76px; padding: 12px clamp(20px, 6vw, 92px); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(18px); }
.brand img { display: block; width: 142px; height: 48px; object-fit: contain; }
.site-header nav, footer nav { display: flex; align-items: center; gap: 26px; }
footer nav { flex-wrap: wrap; }
.site-header nav > a:not(.button), footer a { text-decoration: none; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border-radius: 15px; color: #fff; background: var(--brand); font-weight: 750; text-decoration: none; box-shadow: 0 10px 24px rgba(23, 107, 89, .2); }
.button:hover { background: var(--brand-strong); transform: translateY(-1px); }
.button-small { min-height: 42px; padding-inline: 18px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: center; gap: clamp(48px, 7vw, 110px); min-height: 690px; padding: 72px clamp(20px, 7vw, 112px) 88px; overflow: hidden; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: .82rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .96; letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.04; letter-spacing: -.04em; }
h3 { margin-bottom: 8px; font-size: 1.2rem; }
.lead { max-width: 670px; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.text-link { color: var(--brand); font-weight: 800; text-decoration: none; }
.dev-note { margin-top: 18px; color: var(--muted); font-size: .84rem; }
.hero-visual { position: relative; display: flex; min-height: 590px; align-items: flex-end; justify-content: flex-end; padding: 34px; overflow: hidden; border-radius: 44px; background-image: linear-gradient(180deg, rgba(255,255,255,.08), rgba(12,33,72,.16)), url("assets/design/savemio-family-hero.png"); background-position: center 34%; background-size: cover; box-shadow: var(--shadow); }
.hero-family-line { position: absolute; z-index: 1; top: 34px; left: 34px; max-width: 250px; color: #fff; font-size: 1.2rem; font-weight: 850; line-height: 1.25; text-shadow: 0 3px 18px rgba(12,33,72,.55); }
.app-preview { position: relative; z-index: 2; width: min(350px, 88%); min-height: 500px; margin: 0 0 -70px auto; padding: 22px 20px 16px; border: 1px solid rgba(255,255,255,.9); border-radius: 34px; background: rgba(255,255,255,.94); color: #0c2148; box-shadow: 0 25px 60px rgba(22,64,54,.24); transform: scale(.88); transform-origin: right bottom; }
.preview-head { display: flex; align-items: center; justify-content: space-between; }
.preview-head img { width: 118px; height: 42px; object-fit: contain; object-position: left center; }
.preview-icon { position: relative; width: 22px; height: 22px; }
.preview-icon::before { position: absolute; width: 11px; height: 11px; border: 2px solid currentColor; border-radius: 50%; content: ""; }
.preview-icon::after { position: absolute; right: 1px; bottom: 3px; width: 8px; height: 2px; border-radius: 999px; background: currentColor; content: ""; transform: rotate(45deg); transform-origin: right center; }
.preview-kicker { margin: 16px 0 0; color: #71809a; font-size: .82rem; }
.app-preview h2 { margin: 0 0 14px; font-size: 1.8rem; letter-spacing: -.03em; }
.preview-context { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.preview-context span { padding: 5px 10px; border-radius: 999px; color: #087277; background: #d6f1eb; font-size: .68rem; font-weight: 800; }
.preview-panel { padding: 14px; border: 1px solid #edf1ef; border-radius: 22px; box-shadow: 0 12px 28px rgba(12,33,72,.07); }
.preview-title { display: flex; justify-content: space-between; margin-bottom: 6px; }.preview-title span { color: var(--brand); font-size: .75rem; font-weight: 750; }
.preview-event { display: grid; grid-template-columns: 42px 22px 1fr auto; align-items: center; gap: 7px; padding: 9px 0; border-top: 1px solid #edf1ef; }
.preview-event time { font-size: .75rem; font-weight: 750; }.preview-event i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 7px; font-style: normal; font-size: .5rem; }.preview-event span { display: flex; flex-direction: column; min-width: 0; }.preview-event strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }.preview-event small { color: #78849a; font-size: .65rem; }.preview-event b { padding: 4px 7px; border-radius: 999px; color: #087277; background: #ddf7ec; font-size: .6rem; }.soft-blue { color: #1c80c3; background: #e4f2ff; }.soft-coral { color: #e05a58; background: #ffe5e3; }.soft-mint { color: #169b68; background: #ddf7ec; }
.preview-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; margin-top: 10px; }.preview-actions span { display: flex; min-height: 58px; align-items: center; justify-content: center; flex-direction: column; gap: 3px; border-radius: 16px; color: var(--brand); background: #e7f7f3; font-weight: 900; }.preview-actions span:nth-child(2) { color: #d4514f; background: #ffe9e7; }.preview-actions span:nth-child(3) { color: #bc790d; background: #fff0c9; }.preview-actions span:nth-child(4) { color: #7650bd; background: #efe7ff; }.preview-actions b { font-size: .92rem; }.preview-actions small { font-size: .58rem; font-weight: 700; }
.preview-nav { display: flex; justify-content: space-between; gap: 5px; margin-top: 16px; color: #738098; font-size: .58rem; }.preview-nav strong { color: var(--brand); }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 24px clamp(20px, 7vw, 112px); border-block: 1px solid var(--line); color: var(--muted); font-size: .9rem; font-weight: 700; }
.section { padding: 110px clamp(20px, 7vw, 112px); }
.section-heading { max-width: 780px; margin-bottom: 48px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid article, .price-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); }
.feature-grid p, .price-card p { color: var(--muted); }
.feature-grid .icon { display: inline-grid; width: 42px; height: 42px; place-items: center; margin-bottom: 32px; border-radius: 13px; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); font-weight: 900; }
.pricing { background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan { margin-bottom: 12px; color: var(--brand) !important; font-weight: 850; text-transform: uppercase; }
.price { margin-bottom: 20px; color: var(--ink) !important; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1; }
.price small { font-size: .9rem; font-weight: 700; }
.cta { margin: 0 clamp(20px, 7vw, 112px) 90px; padding: 68px 24px; border-radius: 36px; background-image: linear-gradient(90deg, rgba(255,255,255,.88), rgba(255,255,255,.72)), url("assets/design/savemio-landscape-wide.png"); background-position: center; background-size: cover; text-align: center; }
.cta img { width: 180px; height: 64px; object-fit: contain; }
.cta h2 { margin: 22px auto 30px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 30px clamp(20px, 7vw, 112px); border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; }

.legal-header { position: static; }
.legal-main { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: clamp(48px, 8vw, 96px) 0; overflow-wrap: anywhere; hyphens: auto; }
.legal-main h1 { font-size: clamp(2.5rem, 7vw, 4.8rem); }
.legal-main h2 { margin-top: 44px; font-size: clamp(1.5rem, 4vw, 2.3rem); letter-spacing: -.025em; }
.legal-main h3 { margin-top: 28px; }
.legal-main p, .legal-main li { color: var(--muted); }
.legal-main strong { color: var(--ink); }
.legal-main ul { padding-left: 1.35rem; }
.legal-main address { color: var(--muted); font-style: normal; }
.legal-main a { color: var(--brand-strong); }
.legal-notice { padding: 18px 20px; border: 1px solid #e7be72; border-radius: 18px; background: #fff6df; color: #714d0b !important; }
.legal-meta { margin-bottom: 40px; color: var(--muted); }
.legal-footer { flex-wrap: wrap; }
.legal-footer nav { flex-wrap: wrap; }

@media (max-width: 900px) {
  .site-header nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { min-height: 560px; }
  .feature-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .product-story { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { min-height: 68px; }
  .brand img { width: 118px; }
  .button-small { font-size: .84rem; }
  .hero { min-height: auto; gap: 42px; padding-bottom: 58px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-visual { min-height: 560px; padding: 18px; border-radius: 28px; background-position: center 25%; }
  .hero-family-line { top: 20px; left: 20px; max-width: 210px; }
  .app-preview { width: 92%; margin-bottom: -68px; transform: scale(.82); }
  .app-preview { min-height: 500px; }
  .section { padding-block: 74px; }
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
  footer nav { gap: 12px 20px; }
  .legal-main { width: min(100% - 32px, 900px); }
  .legal-main h1 { font-size: clamp(2rem, 10vw, 2.5rem); }
  .legal-footer nav { align-items: flex-start; flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.product-story { display: grid; grid-template-columns: minmax(0,.8fr) minmax(420px,1.2fr); gap: 56px; align-items: center; background-image: linear-gradient(135deg, rgba(255,255,255,.88), rgba(228,242,255,.78)), url("assets/design/savemio-landscape-wide.png"); background-position: center; background-size: cover; }
.story-copy p:last-child { max-width: 580px; color: var(--muted); font-size: 1.08rem; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.story-card { display: flex; gap: 15px; align-items: flex-start; padding: 24px; border-radius: 24px; }.story-card > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 15px; background: rgba(255,255,255,.72); font-size: 1.4rem; font-weight: 900; }.story-card h3 { margin-bottom: 3px; }.story-card p { margin-bottom: 0; color: var(--muted); }.story-card.mint { background: #ddf7ec; }.story-card.sky { background: #e4f2ff; }.story-card.amber { background: #fff0c9; }.story-card.lavender { background: #efe7ff; }

@media (max-width: 900px) {
  .hero > *, .product-story > * { min-width: 0; }
  .product-story { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .story-grid { grid-template-columns: 1fr; }
}
