/* inter-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/inter-v20-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('/fonts/inter-v20-latin-900.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
  --brand-cyan: #00A7D6;
  --brand-cyan-dark: #007FA8;
  --brand-navy: #1B2A38;
  --brand-navy-soft: #314556;
  --brand-yellow: #F7C948;
  --brand-yellow-dark: #E7B62F;
  --bg-1: #F5FBFE;
  --bg-2: #EAF6FB;
  --bg-3: #EEF7FB;
  --line: #D6E8F0;
  --white: #FFFFFF;
  --text: #162C3C;
  --muted: #546472;
  --success: #0F9D58;
  --shadow: 0 26px 70px rgba(19, 48, 66, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1240px;
  --section-pad: clamp(56px, 8vw, 96px);
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(0, 167, 214, 0.14), transparent 38%),
    radial-gradient(circle at top right, rgba(247, 201, 72, 0.14), transparent 24%),
    linear-gradient(180deg, #f9fdff 0%, #edf7fb 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: -30% 0 0 0;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.4), transparent 55%);
  z-index: -1;
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite alternate;
}

a {
  color: inherit;
  text-decoration: none;
}

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

figure {
  margin: 0;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--brand-navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(214, 232, 240, 0.9);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand img {
  width: 80px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:not(.btn) {
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.nav-links a:not(.btn):hover {
  background: rgba(0, 167, 214, 0.12);
  color: var(--brand-navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  font-size: 16px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan) 0%, var(--brand-cyan-dark) 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 167, 214, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-navy);
  border: 1px solid var(--line);
}

.btn-accent {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-yellow-dark) 100%);
  color: var(--brand-navy);
  box-shadow: 0 18px 36px rgba(247, 201, 72, 0.28);
}

.btn-block {
  width: 100%;
  border-radius: 16px;
}

.hero {
  padding: clamp(60px, 10vw, 110px) 0 54px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
}

.hero-copy {
  padding-right: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(247, 201, 72, 0.24);
  color: #7b5b00;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
}

h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 0 28px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  gap: 14px;
}

.hero-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 17px;
  color: var(--text);
}

.tick {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 167, 214, 0.14);
  color: var(--brand-cyan-dark);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-actions--spaced {
  margin-top: 18px;
}

.hero-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero-aside {
  display: grid;
  gap: 20px;
}

.hero-aside .media-card {
  min-height: clamp(240px, 32vw, 380px);
}

.hero-media-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-auto-rows: clamp(140px, 16vw, 190px);
  gap: 14px;
}

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(214, 232, 240, 0.9);
  box-shadow: 0 18px 40px rgba(15, 33, 46, 0.12);
  background: #fff;
}

.media-card--tall {
  grid-row: span 2;
}

.media-card--panel {
  min-height: clamp(240px, 28vw, 360px);
  height: 100%;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.media-card:hover img {
  transform: scale(1.04);
}

.glass-card,
.section-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
}

.hero-card-top {
  padding: 30px;
  color: white;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-cyan-dark) 100%);
}

.hero-card-top h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.1;
}

.hero-card-top p {
  margin: 0;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px;
  background: linear-gradient(180deg, #fff 0%, #f6fcff 100%);
}

.stat {
  padding: 18px;
  border-radius: 18px;
  background: #f7fcff;
  border: 1px solid var(--line);
}

.stat-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: var(--section-pad) 0;
}

.section--soft {
  background: linear-gradient(180deg, var(--bg-1) 0%, #ffffff 100%);
}

.section--tight {
  padding: clamp(40px, 6vw, 70px) 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 32px;
}

.section-head .kicker {
  color: var(--brand-cyan-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.problem-grid,
.story-grid,
.steps,
.cards-3,
.faq-grid {
  display: grid;
  gap: 20px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.story-grid {
  grid-template-columns: repeat(6, 1fr);
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.faq-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 12px 34px rgba(19, 48, 66, 0.08);
}

.card h3,
.card h4 {
  margin: 0 0 12px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 167, 214, 0.12), rgba(247, 201, 72, 0.18));
  color: var(--brand-navy);
  font-size: 24px;
  margin-bottom: 16px;
  font-weight: 800;
}

.story-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

.story-grid .story-card {
  grid-column: span 2;
}

.story-grid .story-card:nth-child(4),
.story-grid .story-card:nth-child(5) {
  grid-column: span 3;
}

.story-index {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 167, 214, 0.12);
  color: var(--brand-cyan-dark);
  font-weight: 800;
  margin-bottom: 16px;
}

.story-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--text);
}

.image-strip {
  margin-top: 28px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.quote-grid,
.process-grid,
.faq-grid-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
}

.process-grid,
.faq-grid-wrap {
  align-items: start;
}

.quote-grid {
  align-items: stretch;
}

.faq-content {
  display: grid;
  gap: 24px;
}

.quote-band {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-navy) 0%, #234864 52%, var(--brand-cyan-dark) 100%);
  color: white;
  box-shadow: var(--shadow);
}

.quote-band blockquote {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.quote-band .source {
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.6;
}

.calculator-wrap {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.calc-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}

.calc-panel label {
  display: block;
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 15px;
}

.calc-panel input,
.calc-panel select {
  width: 100%;
  padding: 16px 16px;
  border-radius: 14px;
  border: 1px solid #c7dde7;
  font-size: 16px;
  margin-bottom: 14px;
  background: #fff;
}

.calc-panel input:focus,
.calc-panel select:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 4px rgba(0, 167, 214, 0.10);
}

.calc-panel .stack-btn {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
}

.helper {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin-top: 6px;
}

.result {
  min-height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfe 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow);
}

.result-placeholder {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.error {
  display: none;
  margin-top: 14px;
  background: #fff4f4;
  color: #a11f1f;
  border: 1px solid #ffd7d7;
  padding: 14px 16px;
  border-radius: 12px;
  line-height: 1.5;
}

.location {
  color: var(--muted);
  font-size: 15px;
}

.big {
  font-size: clamp(52px, 7vw, 78px);
  line-height: 1;
  color: var(--success);
  font-weight: 800;
  margin: 12px 0 10px;
  letter-spacing: -0.04em;
}

.result-title {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.result-copy {
  color: var(--muted);
  line-height: 1.65;
}

.aha {
  margin-top: 16px;
  padding: 16px 18px;
  background: #fffaf0;
  border: 1px solid rgba(247, 201, 72, 0.28);
  border-left: 5px solid var(--brand-yellow);
  border-radius: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.metric {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.metric-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand-navy);
}

.result-cta {
  margin-top: 18px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.result-cta h4 {
  margin: 0 0 8px;
  font-size: 22px;
}

.result-cta p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
}

.detail-list {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-left: 18px;
}

.band {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-cyan-dark));
  color: white;
  border-radius: 34px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.band-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 26px;
  align-items: center;
}

.band h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
}

.band p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.mini {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 16px;
}

.mini .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mini .value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

footer {
  padding: 38px 0 70px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.focus-ring:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 167, 214, 0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

@keyframes floatGlow {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }

  100% {
    transform: translateY(30px);
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid .story-card {
    grid-column: auto;
  }
}

@media (max-width: 1024px) {

  .hero-grid,
  .calculator-wrap,
  .band-grid,
  .quote-grid,
  .process-grid,
  .faq-grid-wrap {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .steps,
  .cards-3,
  .faq-grid,
  .contact,
  .stats,
  .image-strip {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-media-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .brand img {
    width: 80px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .calc-panel .stack-btn,
  .result-metrics {
    grid-template-columns: 1fr;
  }

  .hero-media-grid {
    grid-template-columns: 1fr;
  }
}
