:root {
  --ink: #23215f;
  --text: #3f4672;
  --muted: #eef6fc;
  --line: #d8e6f0;
  --brand: #13b5df;
  --brand-dark: #0967a9;
  --accent: #ff8a45;
  --accent-soft: #fff1e8;
  --white: #ffffff;
  --shadow: 0 22px 50px rgba(8, 51, 96, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  background: var(--white);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(255, 138, 69, 0.45);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(216, 230, 240, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
}

.logo span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-image {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--brand-dark);
}

.nav-cta {
  padding: 9px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--brand-dark);
}

.nav-cta:hover {
  color: var(--white);
  background: var(--ink);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding: 76px 5vw 58px;
  background:
    radial-gradient(circle at 88% 16%, rgba(19, 181, 223, 0.18), transparent 28%),
    radial-gradient(circle at 8% 82%, rgba(255, 138, 69, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(9, 103, 169, 0.08) 0 26%, transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(28vw, 340px);
  height: 14px;
  content: "";
  background: var(--brand);
}

.hero::after {
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 340px;
  height: 340px;
  border: 48px solid rgba(9, 103, 169, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 780px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  display: grid;
  gap: 4px;
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 72px);
  line-height: 1.05;
}

h1 span:last-child {
  color: var(--brand-dark);
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.22;
}

h2 span {
  display: inline-block;
}

p span,
li span,
strong span {
  display: inline;
}

.hero-text span,
.section-heading p span,
.quick-flow-list p span,
.feature-card p span,
.step-card p span,
.section-cta p span,
.profile-copy p span,
.line-card p span {
  display: inline-block;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.35;
}

.hero-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.25;
}

.hero-lead span {
  color: var(--accent);
}

.hero-text,
.section-heading p {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--text);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(255, 138, 69, 0.28);
}

.button.primary:hover {
  background: #f17228;
}

.button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.button.secondary:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.quick-flow {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 760px);
  gap: 30px;
  align-items: start;
  justify-content: center;
  padding: 40px 5vw;
  color: var(--white);
  background: var(--brand-dark);
}

.quick-flow .eyebrow {
  color: #9deaff;
}

.quick-flow h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.quick-flow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-flow-list div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.quick-flow-list strong {
  font-size: 18px;
}

.quick-flow-list p {
  margin: 0;
  color: #d9f6ff;
  font-size: 14px;
}

.section {
  padding: 78px 5vw;
}

.section.muted {
  background:
    linear-gradient(135deg, rgba(255, 138, 69, 0.08) 0 18%, transparent 18%),
    var(--muted);
}

.blue-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 12%, rgba(19, 181, 223, 0.32), transparent 28%),
    linear-gradient(135deg, var(--ink), var(--brand-dark));
}

.blue-section::after {
  position: absolute;
  right: -88px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border: 44px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
}

.blue-section > * {
  position: relative;
  z-index: 1;
}

.blue-section .eyebrow,
.blue-section .step-label {
  color: #9deaff;
}

.blue-section .section-heading p {
  color: #ffffff;
}

.section-heading {
  width: min(100%, 1080px);
  margin: 0 auto 34px;
}

.section-heading h2 {
  max-width: 920px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.feature-card,
.step-card,
.profile-card,
.line-card {
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(8, 51, 96, 0.08);
}

.feature-card:hover,
.step-card:hover,
.fee-card:hover {
  transform: translateY(-2px);
}

.feature-card,
.step-card,
.fee-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 14px 30px rgba(8, 51, 96, 0.06);
}

.feature-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.feature-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--accent), #ffd28f);
}

.feature-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
}

.card-illustration {
  width: 104px;
  height: auto;
  margin: 0 0 16px auto;
}

.feature-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.feature-card p,
.step-card p,
.profile-copy p,
.contact-content p,
.fee-note p {
  margin: 0;
  color: var(--text);
}

.step-grid {
  display: grid;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.step-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(8, 51, 96, 0.06);
}

.blue-section .step-card {
  border: 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

.step-card.compact {
  min-height: 220px;
}

.step-label {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
}

.step-card h3 {
  color: var(--ink);
}

.fee-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 1080px;
  margin: 0 auto;
}

.fee-card {
  position: relative;
  display: grid;
  gap: 20px;
  align-content: start;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(8, 51, 96, 0.08);
}

.fee-card.featured {
  border-color: var(--brand);
  box-shadow: 0 24px 48px rgba(8, 51, 96, 0.14);
}

.fee-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.recommend-badge {
  justify-self: start;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  background: var(--accent);
}

.fee-plan {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.fee-counts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fee-counts span {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  background: var(--muted);
}

.fee-prices {
  display: grid;
  gap: 12px;
}

.fee-prices div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fee-prices span {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.fee-prices strong {
  color: var(--ink);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
  white-space: nowrap;
}

.fee-note {
  max-width: 1080px;
  margin-top: 24px;
  margin-right: auto;
  margin-left: auto;
  padding: 22px;
  border-left: 6px solid var(--brand);
  border-radius: 8px;
  background: var(--white);
}

.fee-note h3 {
  margin-bottom: 8px;
}

.section-cta {
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  margin-right: auto;
  margin-left: auto;
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
}

.section-cta p {
  max-width: 620px;
  margin: 0;
  color: #d9f6ff;
  font-weight: 800;
}

.profile-section {
  background: var(--white);
}

.profile-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
}

.profile-photo-wrap {
  width: min(300px, 100%);
  padding: 10px;
  border-radius: 8px;
  background: #e4f2fb;
  box-shadow: 0 16px 34px rgba(8, 51, 96, 0.16);
}

.profile-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  object-fit: cover;
  object-position: center top;
}

.profile-copy h3 {
  margin-top: 22px;
  color: var(--ink);
  font-size: 32px;
}

.profile-meta {
  margin-bottom: 24px;
  font-weight: 900;
}

.profile-copy p + p {
  margin-top: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(420px, 560px);
  gap: 56px;
  align-items: start;
  justify-content: center;
  padding: 86px 5vw;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 181, 223, 0.28) 0 24%, transparent 24%),
    var(--ink);
}

.contact-section .eyebrow,
.contact-content p {
  color: #a9ecff;
}

.contact-content h2 {
  font-size: clamp(32px, 3.2vw, 42px);
}

.contact-points {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-points li {
  position: relative;
  padding-left: 22px;
  color: var(--white);
  font-weight: 800;
}

.contact-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.line-card {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
}

.line-card img {
  width: 132px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.line-card p {
  margin: 0;
  color: var(--text);
}

.contact-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  min-width: 0;
  padding: 28px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.label-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
}

.optional-note {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form select {
  appearance: none;
  padding-right: 42px;
  background:
    linear-gradient(45deg, transparent 50%, var(--brand-dark) 50%) right 19px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--brand-dark) 50%, transparent 50%) right 14px center / 7px 7px no-repeat,
    #f8fbfd;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(19, 181, 223, 0.22);
  border-color: var(--brand);
  background: var(--white);
}

.hidden-field {
  display: none;
}

.privacy-link {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 18px;
  background:
    linear-gradient(135deg, rgba(19, 181, 223, 0.16) 0 26%, transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.thanks-card {
  display: grid;
  gap: 18px;
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 54px);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(6, 26, 48, 0.12);
}

.thanks-card img {
  width: 116px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.thanks-card h1 {
  font-size: clamp(34px, 6vw, 54px);
}

.thanks-card p {
  margin: 0;
  color: var(--text);
}

.policy-hero {
  padding: 84px 5vw 46px;
  background: var(--muted);
}

.policy-hero h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.policy-hero p {
  max-width: 760px;
  color: var(--text);
  font-size: 18px;
}

.policy-content {
  display: grid;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
  padding: 72px 5vw;
}

.policy-content article {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy-content h2 {
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
}

.policy-content p {
  margin: 0;
  color: var(--text);
}

.policy-content .button {
  margin-top: 18px;
}

.policy-date {
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 5vw;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.site-footer a {
  color: var(--brand-dark);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1050px) {
  .site-nav {
    gap: 13px;
    font-size: 13px;
  }

  .step-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 64px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 5vw;
    left: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.static-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 12px;
  }

  .contact-section,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .quick-flow,
  .quick-flow-list {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .step-grid.three,
  .fee-cards {
    grid-template-columns: 1fr;
  }

  .profile-photo-wrap {
    width: min(320px, 86vw);
  }
}

@media (max-width: 720px) {
  .fee-card {
    padding: 22px;
  }

  .fee-counts {
    grid-template-columns: 1fr;
  }

  .fee-prices div {
    display: grid;
    gap: 4px;
  }

  .section-cta {
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .logo {
    max-width: calc(100vw - 98px);
    font-size: 14px;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .section,
  .contact-section {
    padding: 64px 18px;
  }

  .quick-flow {
    padding-right: 18px;
    padding-left: 18px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-lead {
    font-size: 21px;
  }

  .hero-text,
  .section-heading p {
    font-size: 16px;
  }

  .hero-text span,
  .section-heading p span,
  .quick-flow-list p span,
  .feature-card p span,
  .step-card p span,
  .section-cta p span,
  .profile-copy p span,
  .line-card p span {
    display: inline;
  }

  .button {
    width: 100%;
  }

  .contact-panel,
  .contact-form,
  .line-card {
    width: 100%;
  }

  .contact-form,
  .line-card {
    padding: 22px;
  }

  .optional-note {
    display: block;
    width: 100%;
  }

  .step-grid.four {
    grid-template-columns: 1fr;
  }

  .profile-card {
    padding: 24px;
  }

  .profile-copy h3 {
    font-size: 26px;
  }

  .site-footer {
    flex-direction: column;
  }
}
