:root {
  --navy: #071525;
  --panel: #12273a;
  --sky: #00a8f3;
  --yellow: #fff200;
  --cream: #f8f6f1;
  --ink: #172839;
  --muted: #4a5966;
  --line: #d8d8d0;
  --light: #f8fbff;
  --soft: #c4cfda;
  --heading: 'Space Grotesk', system-ui, sans-serif;
  --section-space: clamp(2.75rem, 6vw, 5.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1rem/1.6 'DM Sans', system-ui, sans-serif; }
h1, h2, h3 { margin: 0; font-family: var(--heading); letter-spacing: -.045em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: clamp(1.95rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.22rem, 2.4vw, 1.65rem); }
p { margin: .8rem 0 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #0075ae; outline-offset: 4px; }
.hero a:focus-visible, .trial a:focus-visible, .site-head a:focus-visible { outline-color: var(--sky); }
.wrap { width: min(1200px, calc(100% - 2 * clamp(1rem, 5.3vw, 5rem))); margin-inline: auto; }
.section-inner { padding-block: var(--section-space); }
.skip { position: absolute; z-index: 4; top: -12rem; left: 1rem; background: var(--yellow); color: var(--navy); padding: .6rem 1rem; }
.skip:focus { top: .75rem; }

.site-head, .hero, .trial { color: var(--light); background: var(--navy); }
.site-head { border-bottom: 1px solid #ffffff23; }
.topbar, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { width: 155px; height: 56px; object-fit: contain; object-position: left center; }
.language { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid #a9b7c87a; border-radius: 99px; padding: .35rem .85rem; font-size: .875rem; font-weight: 700; text-decoration: none; }
.language:hover { background: var(--light); color: var(--navy); }
.hero { background: radial-gradient(ellipse at 80% 20%, #122d44, var(--navy) 63%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 4.75rem); }
.tag { display: flex; align-items: center; gap: .55rem; margin: 0 0 .95rem; color: var(--yellow); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.tag span { width: .5rem; height: .5rem; background: currentColor; border-radius: 50%; flex: none; }
.hero-copy { container-type: inline-size; }
.hero h1 { font-size: clamp(2.7rem, 4.65vw, 4.7rem); line-height: 1; text-wrap: initial; }
.hero h1 em { display: block; color: var(--yellow); font-style: normal; font-size: min(1em, 10cqi); white-space: nowrap; }
.lede { max-width: 45ch; color: var(--soft); font-size: clamp(1rem, 1.35vw, 1.14rem); }
#offer-area .offer-city { color: var(--yellow); }
.hero-points { list-style: none; margin: 1.1rem 0 1.35rem; padding: 0; display: grid; gap: .3rem; font-weight: 700; }
.hero-points li { position: relative; padding-left: 1.4rem; }
.hero-points li::before { content: ''; position: absolute; left: .15rem; top: .48em; width: .6em; height: .35em; border: solid var(--sky); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.button { display: inline-flex; gap: .65rem; align-items: center; justify-content: space-between; min-height: 49px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .55rem; background: var(--yellow); color: var(--navy); font-weight: 700; line-height: 1.22; text-decoration: none; width: fit-content; }
.button:hover { background: #fff88e; }
.button span { font-size: 1.18em; }
.button-outline { color: var(--light); background: transparent; border-color: #879aab; }
.button-outline:hover { background: var(--light); color: var(--navy); }
.offer-note { max-width: 57ch; font-size: .75rem; color: var(--soft); margin-top: .75rem; }
.hero-image { margin: 0; background: var(--panel); border: 1px solid #ffffff30; border-radius: 1rem; overflow: hidden; }
/* Crop the baked-in text strip; use readable, reflowable text below the photo. */
.hero-photo { aspect-ratio: 1500 / 794; overflow: hidden; }
.hero-image img { display: block; width: 100%; height: auto; }
.hero-image figcaption { display: grid; gap: .35rem; padding: .85rem 1rem 1rem; font-size: 1rem; line-height: 1.45; }
.hero-image figcaption strong { color: var(--yellow); font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.2; text-transform: uppercase; }

.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.4rem, 6vw, 5.5rem); }
.feature .tag { color: #005c8c; }
.feature img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1rem; }
.feature p:not(.tag), details p { color: var(--muted); }
.feature a { font-weight: 700; }
#support figure { margin: 0; }
#support figure img { display: block; }
#support figcaption { margin-top: .5rem; font-size: .875rem; color: var(--muted); }

@media (width > 800px) {
  #smart-home > .smart-media,
  #support > figure { order: -1; }
}

.smart-home { border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.smart-copy { max-width: 34rem; }
.smart-media { min-width: 0; }
.smart-track { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; border-radius: 1rem 1rem .5rem .5rem; }
.smart-media:has(.smart-controls:not([hidden])) .smart-track { scrollbar-width: none; }
.smart-track figure { position: relative; margin: 0; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.smart-track figcaption { padding: .65rem .15rem .15rem; font-weight: 700; }
.smart-controls:not([hidden]) { display: flex; justify-content: flex-end; align-items: center; gap: .65rem; margin-top: .55rem; }
.smart-controls button, .smart-play { min-height: 44px; border: 1px solid #8699a6; border-radius: .55rem; background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.smart-controls button { width: 44px; font-size: 1.2rem; }
.smart-play { position: absolute; top: calc(100cqw * 2 / 3 - 3.5rem); left: .75rem; padding-inline: .65rem; background: var(--cream); font-size: .875rem; }
.smart-track { container-type: inline-size; }
.smart-controls button:hover, .smart-play:hover { background: #e6edf0; }
.smart-media :focus-visible { outline: 3px solid #0075ae; outline-offset: -3px; }
.smart-count { color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }

.pricing-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); align-items: start; gap: clamp(1.3rem, 4.5vw, 4rem); }
.pricing-layout h2 { text-wrap: initial; }
.pricing-card { margin: 0; padding: .25rem clamp(1rem, 2.4vw, 1.65rem); border: 1px solid #ffffff35; border-radius: .85rem; background: var(--panel); }
.pricing-card div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .2rem 1rem; padding: .8rem 0; }
.pricing-card div + div { border-top: 1px solid #ffffff25; }
.pricing-card dt { font-weight: 700; }
.pricing-card dd { margin: 0; color: var(--soft); }
.pricing-card div:last-child dd { color: var(--yellow); }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 1.65rem; padding-top: 1.4rem; border-top: 1px solid #ffffff35; }
.contact p { margin-top: .35rem; color: var(--soft); }
.contact a:not(.button) { color: var(--light); }
.contact .button { flex-shrink: 0; }
.faq { display: grid; grid-template-columns: minmax(0, .63fr) minmax(0, 1.37fr); gap: clamp(1.25rem, 4vw, 4rem); }
.faq h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); text-wrap: initial; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: .8rem .1rem; }
details p { margin: 0 0 1rem; }
#trial-return { scroll-margin-top: 1rem; }
#trial-return:target { border-top-color: #0075ae; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.footer-inner { flex-wrap: wrap; }

@media (max-width: 800px) {
  .hero-grid, .feature, .pricing-layout, .faq { grid-template-columns: 1fr; }
  .hero-grid { padding-block: 2.3rem; }
  .hero h1 { font-size: clamp(2.45rem, 8.4vw, 4.2rem); }
  .topbar { min-height: 64px; }
  .brand img { width: 140px; height: 48px; }
  .feature img { order: 1; }

  .contact { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 460px) {
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .pricing-card div { grid-template-columns: 1fr; }
  .footer-inner { justify-content: flex-start; gap: .15rem .85rem; padding-block: .75rem; }
}
