:root {
  --navy: #01123D;
  --navy-soft: rgba(1, 18, 61, 0.68);
  --navy-line: rgba(1, 18, 61, 0.14);
  --white: #FFFFFF;
  --tint: #F5F7FB;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--navy); color: var(--white); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--navy-soft);
}
.eyebrow--light { color: rgba(255, 255, 255, 0.65); }

.title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.title em, .cta__title em, .hero__title em { font-style: italic; }
.title--light { color: var(--white); }

.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { max-width: 680px; margin-bottom: 56px; }
.section__intro { margin-top: 24px; color: var(--navy-soft); font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 999px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn:hover { background: var(--white); color: var(--navy); }
.btn--small { padding: 10px 20px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }

.link-arrow {
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 4px;
}
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-arrow:hover::after { transform: scaleX(0.35); }

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--navy-line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 24px; width: auto; position: relative; z-index: 60; }

.progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 100%;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
}

.burger { position: relative; z-index: 60; width: 40px; height: 40px; }
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.45s var(--ease), background 0.3s;
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); background: var(--white); }
.burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); background: var(--white); }

.nav {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  background: var(--navy);
  clip-path: circle(0% at calc(100% - 44px) 34px);
  transition: clip-path 0.7s var(--ease);
  visibility: hidden;
}
.nav.is-open { clip-path: circle(150% at calc(100% - 44px) 34px); visibility: visible; }
.nav__link {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1.25;
  color: var(--white);
}
.nav__cta { align-self: flex-start; margin-top: 24px; background: var(--white); color: var(--navy); font-family: var(--sans); font-size: 15px; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  background-image: linear-gradient(to right, var(--navy-line) 1px, transparent 1px);
  background-size: 25% 100%;
  background-position: 0 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--white) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.0) 100%);
  pointer-events: none;
}
.hero__inner, .hero__facts { position: relative; z-index: 2; }
.hero__eyebrow { opacity: 0; animation: fadeUp 1s var(--ease) 0.2s forwards; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 13.5vw, 148px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.line > span { display: block; transform: translateY(110%); animation: rise 1.2s var(--ease) forwards; }
.line:nth-child(1) > span { animation-delay: 0.3s; }
.line:nth-child(2) > span { animation-delay: 0.42s; }
.line:nth-child(3) > span { animation-delay: 0.54s; }

.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 1s forwards;
}
.hero__text { max-width: 460px; font-size: 18px; color: var(--navy-soft); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.hero__facts {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 64px;
  padding-top: 0;
  border-top: 1px solid var(--navy-line);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.3s forwards;
}
.fact { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.fact span { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; color: var(--navy-soft); }
.fact p { font-size: 15px; font-weight: 500; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.story { display: grid; gap: 48px; }
.story__body { display: grid; gap: 24px; color: rgba(255, 255, 255, 0.78); font-size: 17px; max-width: 560px; }
.story__lead { font-family: var(--serif); font-size: clamp(24px, 4.4vw, 32px); line-height: 1.3; color: var(--white); }

.plan {
  display: grid;
  border: 1px solid var(--navy);
}
.plan__side {
  padding: 40px 28px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.plan__tag { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.plan__price { font-family: var(--serif); font-size: clamp(38px, 8vw, 52px); line-height: 1.05; }
.plan__note { color: rgba(255, 255, 255, 0.72); font-size: 15px; margin-bottom: 20px; }
.plan__list li { padding: 26px 28px; border-bottom: 1px solid var(--navy-line); transition: background 0.4s var(--ease); }
.plan__list li:last-child { border-bottom: 0; }
.plan__list li:hover { background: var(--tint); }
.plan__list h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.2; margin-bottom: 6px; }
.plan__list p { color: var(--navy-soft); font-size: 15px; }
.plan__why { max-width: 620px; margin-top: 40px; color: var(--navy-soft); font-size: 16px; }

.steps { position: relative; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--navy-line);
}
.step:last-child { border-bottom: 1px solid var(--navy-line); }
.step__num { font-family: var(--serif); font-size: 56px; line-height: 0.9; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin-bottom: 8px; }
.step p { color: var(--navy-soft); max-width: 460px; }

.ceo { display: grid; gap: 48px; align-items: center; }
.ceo__photo { position: relative; max-width: 380px; margin-left: 12px; }
.ceo__photo::before {
  content: "";
  position: absolute;
  top: 16px; left: -12px;
  width: 100%; height: 100%;
  border: 1px solid var(--navy);
  z-index: 0;
}
.ceo__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.ceo__text { display: grid; gap: 20px; justify-items: start; }
.ceo__text p:not(.eyebrow):not(.ceo__role) { color: var(--navy-soft); max-width: 480px; }
.ceo__text .eyebrow { margin-bottom: 0; }
.ceo__role { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

.faq { display: grid; gap: 40px; }
.accordion { border-top: 1px solid var(--navy); }
.accordion__item { border-bottom: 1px solid var(--navy-line); }
.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.25;
}
.accordion__btn i { position: relative; flex: none; width: 18px; height: 18px; }
.accordion__btn i::before, .accordion__btn i::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: var(--navy);
  transition: transform 0.5s var(--ease);
}
.accordion__btn i::after { transform: rotate(90deg); }
.accordion__btn[aria-expanded="true"] i::after { transform: rotate(0deg); }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s var(--ease); }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding-bottom: 26px; max-width: 560px; color: var(--navy-soft); }
.accordion__btn[aria-expanded="true"] + .accordion__panel { grid-template-rows: 1fr; }

.cta { background: var(--navy); color: var(--white); padding: 112px 0; }
.cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 9vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 900px;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.footer { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 72px; }
.footer__grid { display: grid; gap: 48px; padding-bottom: 56px; }
.footer__brand img { height: 26px; width: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 320px; color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 8px; }
.footer__col a { font-size: 15px; color: rgba(255, 255, 255, 0.85); width: fit-content; transition: opacity 0.3s, transform 0.4s var(--ease); }
.footer__col a:hover { opacity: 0.6; transform: translateX(4px); }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.whats {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whats__icon {
  position: relative;
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(1, 18, 61, 0.32);
  transition: transform 0.5s var(--ease);
}
.whats__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--navy);
  animation: ping 2.8s var(--ease) infinite;
}
.whats__icon svg { width: 28px; height: 28px; }
.whats:hover .whats__icon { transform: scale(1.08); }
.whats__label {
  display: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(1, 18, 61, 0.16);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
  .container { padding: 0 40px; }
  .section { padding: 128px 0; }
  .hero__bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .fact { border-bottom: 0; border-right: 1px solid var(--navy-line); padding: 24px 24px 24px 0; }
  .fact + .fact { padding-left: 24px; }
  .fact:last-child { border-right: 0; }
  .story { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .plan { grid-template-columns: 0.8fr 1.2fr; }
  .plan__side { padding: 48px 40px; justify-content: center; }
  .plan__list li { padding: 28px 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 64px; }
  .step:nth-last-child(2) { border-bottom: 1px solid var(--navy-line); }
  .ceo { grid-template-columns: 0.8fr 1fr; gap: 96px; }
  .faq { grid-template-columns: 0.7fr 1.3fr; gap: 80px; align-items: start; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .whats { right: 32px; bottom: 32px; }
  .whats__label { display: block; }
  .whats:hover .whats__label { opacity: 1; transform: translateX(0); }
}

@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .header__logo img { height: 28px; }
  .burger { display: none; }
  .nav {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 36px;
    padding: 0;
    background: transparent;
    clip-path: none;
    visibility: visible;
  }
  .nav__link {
    position: relative;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
    padding: 4px 0;
  }
  .nav__link::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 100%; height: 1px;
    background: var(--navy);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s var(--ease);
  }
  .nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
  .nav__cta { margin-top: 0; background: var(--navy); color: var(--white); font-size: 14px; }
  .nav__cta:hover { background: var(--white); color: var(--navy); }
  .steps { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 0; border-bottom: 0 !important; }
  .step:last-child { border-bottom: 0; }
  .step__num { font-size: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .line > span, .hero__eyebrow, .hero__bottom, .hero__facts { transform: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
