/* ===================================
   Loan Calculator: Payment & APR — Editorial Fintech Landing
   =================================== */

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

:root {
  --cream:       #F6F7F0;
  --dark:        #23272B;
  --orange:      #F07143;
  --green:       #589B23;
  --gold-light:  #F8DEA0;
  --gold:        #FACA68;
  --white:       #FFFFFF;
  --sage-light:  #EBEEDB;
  --sage:        #E7EAD5;
  --charcoal:    #31322D;
  --black:       #1C1C1C;

  --bg:          var(--cream);
  --text:        var(--dark);
  --text-muted:  #6b6f65;
  --accent:      var(--orange);
  --accent-hover:#d85f38;

  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif;

  --section-py: clamp(100px, 12vw, 160px);
  --container:  1240px;
  --radius:     20px;
  --radius-sm:  12px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }


/* --- GRAIN OVERLAY --- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}


/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}


/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(240, 113, 67, 0.25),
              inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(240, 113, 67, 0.35),
              inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid rgba(35, 39, 43, 0.2);
}

.btn--ghost:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: var(--white);
}

.btn--lg {
  padding: 20px 48px;
  font-size: 1.05rem;
}


/* --- SHARED SECTION ELEMENTS --- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label--green { color: var(--green); }
.section-label--gold  { color: #b8860b; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dark);
}


/* --- REVEAL --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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


/* ===================================
   HEADER
   =================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s;
}

.header.is-scrolled {
  background: rgba(246, 247, 240, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(35, 39, 43, 0.06);
  padding: 12px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dark);
  margin-right: auto;
}

.header__logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 5px;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s;
}

.header__link:hover { color: var(--dark); }
.header__link:hover::after { width: 100%; }

.header__cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 60px;
  background: var(--dark);
  color: var(--white);
  transition: all 0.3s;
}

.header__cta:hover {
  background: var(--black);
  transform: translateY(-1px);
}

.header__link--cta {
  display: none;
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: all 0.3s;
}

.header__burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-active span:nth-child(2) { opacity: 0; }
.header__burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 600px; height: 600px;
  background: var(--gold-light);
  top: -15%; right: -10%;
  opacity: 0.5;
}

.hero__orb--2 {
  width: 450px; height: 450px;
  background: var(--sage);
  bottom: -10%; left: -8%;
  opacity: 0.6;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 200px; height: 200px;
  background: rgba(240, 113, 67, 0.2);
  top: 40%; left: 25%;
  opacity: 0.5;
  animation-delay: -8s;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px 8px 14px;
  border-radius: 60px;
  background: rgba(35, 39, 43, 0.06);
  border: 1px solid rgba(35, 39, 43, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 32px;
  animation: fadeIn 0.8s 0.2s both;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

.hero__title {
  margin-bottom: 28px;
}

.hero__line {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__line--1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  animation: heroLineIn 0.7s 0.3s both;
}

.hero__line--2 {
  font-size: clamp(3.5rem, 7vw, 6rem);
  animation: heroLineIn 0.7s 0.45s both;
}

.hero__line--3 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  animation: heroLineIn 0.7s 0.6s both;
}

.hero__line--4 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  animation: heroLineIn 0.7s 0.75s both;
}

.hero__line--4 em {
  color: var(--accent);
  font-style: normal;
}

.hero__period {
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 36px;
  animation: fadeIn 0.8s 0.9s both;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeIn 0.8s 1.05s both;
}

/* Hero phone */
.hero__phone {
  position: relative;
  display: flex;
  justify-content: center;
  animation: phoneIn 1s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__phone-img {
  width: 100%;
}

/* Floating elements around phone */
.hero__float {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  animation: floatBob 4s ease-in-out infinite;
}

.hero__float--1 {
  width: 80px;
  top: 8%;
  right: -6%;
  animation-delay: 0s;
}

.hero__float--2 {
  width: 80px;
  bottom: 18%;
  left: -5%;
  animation-delay: -1.3s;
}

.hero__float--3 {
  width: 90px;
  top: 55%;
  right: 0;
  animation-delay: -2.6s;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s 1.5s both;
}

.hero__scroll-hint span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.5;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}


/* ===================================
   MARQUEE
   =================================== */
.marquee {
  background: var(--dark);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: 0;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
  will-change: transform;
}

.marquee__item {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  padding: 0 20px;
}

.marquee__dot {
  color: var(--accent);
  font-size: 0.55rem;
  display: flex;
  align-items: center;
  padding: 0 8px;
}


/* ===================================
   VALUE PROPS
   =================================== */
.values {
  padding: var(--section-py) 0;
}

.values__header {
  margin-bottom: 64px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.values__card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(35, 39, 43, 0.06);
  border-radius: var(--radius);
  padding: 40px 32px 36px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s;
}

.values__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(35, 39, 43, 0.08);
}

.values__num {
  position: absolute;
  top: 0;
  right: 16px;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
  pointer-events: none;
  opacity: 0.6;
  transition: color 0.4s;
}

.values__card:hover .values__num {
  color: rgba(240, 113, 67, 0.12);
}

.values__icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  transition: background 0.3s, color 0.3s;
}

.values__card:hover .values__icon-wrap {
  background: var(--accent);
  color: var(--white);
}

.values__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.values__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ===================================
   FEATURES
   =================================== */
.feature {
  padding: var(--section-py) 0;
  position: relative;
}

.feature--dark {
  background: var(--dark);
  color: var(--white);
}

.feature--dark .section-title { color: var(--white); }
.feature--dark .feature__text { color: rgba(255,255,255,0.6); }

.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature__inner--reverse {
  direction: rtl;
}

.feature__inner--reverse > * {
  direction: ltr;
}

.feature__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 16px;
}

/* Phone frame */
.feature__phone-frame {
  padding: 14px;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature__phone-frame:hover {
  transform: translateY(-8px) rotate(1deg);
}

.feature__phone-img {
  width: 100%;
  display: block;
}


/* ===================================
   HOW IT WORKS
   =================================== */
.how {
  padding: var(--section-py) 0;
  background: var(--sage-light);
  position: relative;
  overflow: hidden;
}

.how__header {
  text-align: center;
  margin-bottom: 72px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.how__step {
  text-align: center;
  position: relative;
}

.how__num-wrap {
  position: relative;
  width: 80px;
  height: 90px;
  margin: 0 auto 24px;
}

.how__num-bg {
  position: absolute;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 300;
  line-height: 1;
  color: var(--sage);
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.5;
  pointer-events: none;
  transition: color 0.4s;
}

.how__step:hover .how__num-bg {
  color: rgba(240, 113, 67, 0.15);
}

.how__num {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(240, 113, 67, 0.3);
}

.how__step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.how__step-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

.how__note {
  text-align: center;
  margin-top: 56px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
}


/* ===================================
   CTA
   =================================== */
.cta {
  padding: clamp(100px, 14vw, 180px) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta__orb--1 {
  width: 500px; height: 500px;
  background: rgba(240, 113, 67, 0.1);
  top: -40%; right: -10%;
}

.cta__orb--2 {
  width: 350px; height: 350px;
  background: rgba(88, 155, 35, 0.08);
  bottom: -30%; left: -5%;
}

.cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 20px;
}

.cta__title span {
  display: block;
  opacity: 0.5;
  font-size: 0.6em;
  letter-spacing: 0;
}

.cta__title em {
  font-style: italic;
  color: var(--accent);
}

.cta__text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
}


/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--black);
  padding: 64px 0 36px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 6px;
}

.footer__logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 5px;
}

.footer__company {
  font-size: 0.78rem;
}

.footer__nav {
  display: flex;
  gap: 64px;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 4px;
}

.footer__link {
  font-size: 0.85rem;
  transition: color 0.25s;
}

.footer__link:hover { color: var(--white); }

.footer__disclaimer {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer__disclaimer p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.3);
  max-width: 720px;
}

.footer__disclaimer strong {
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.78rem;
}

.footer__bottom a {
  color: var(--accent);
  transition: opacity 0.25s;
}

.footer__bottom a:hover { opacity: 0.7; }


/* ===================================
   CONTACT PAGE
   =================================== */
.contact-hero {
  padding: 160px 0 60px;
}

.contact-hero__header {
  max-width: 560px;
}

.contact-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
}

/* Info cards */
.contact-cards {
  padding: 0 0 80px;
}

.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(35, 39, 43, 0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(35, 39, 43, 0.07);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(240, 113, 67, 0.08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card__icon--green {
  background: rgba(88, 155, 35, 0.08);
  color: var(--green);
}

.contact-card__icon--gold {
  background: rgba(250, 202, 104, 0.2);
  color: #b8860b;
}

.contact-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-card__link {
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.25s;
  word-break: break-all;
}

.contact-card__link:hover {
  opacity: 0.7;
}

/* Form section */
.contact-form-section {
  padding: 0 0 var(--section-py);
}

.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(35, 39, 43, 0.06);
  border-radius: var(--radius);
  padding: 48px 44px;
}

.contact-form__header {
  margin-bottom: 36px;
}

.contact-form__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.contact-form__subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Grid */
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group--full {
  grid-column: 1 / -1;
}

/* Labels & inputs */
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}

.form-input::placeholder {
  color: rgba(107, 111, 101, 0.5);
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240, 113, 67, 0.1);
}

.form-input.is-error {
  border-color: #d44;
  box-shadow: 0 0 0 3px rgba(221, 68, 68, 0.08);
}

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

/* Error & meta */
.form-error {
  display: block;
  font-size: 0.78rem;
  color: #d44;
  min-height: 0;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.25s;
}

.form-error.is-visible {
  opacity: 1;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.form-counter {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  opacity: 0.6;
  margin-left: auto;
  flex-shrink: 0;
}

.form-counter.is-warn {
  color: var(--accent);
  opacity: 1;
}

/* Submit button */
.contact-form__submit {
  margin-top: 28px;
  min-width: 200px;
  position: relative;
}

.contact-form__submit.is-loading .contact-form__submit-text {
  opacity: 0;
}

.contact-form__submit-loader {
  position: absolute;
  display: none;
  animation: spin 0.8s linear infinite;
}

.contact-form__submit.is-loading .contact-form__submit-loader {
  display: block;
}

/* Status messages */
.form-status {
  display: none;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
}

.form-status.is-visible {
  display: flex;
}

.form-status--success {
  background: rgba(88, 155, 35, 0.08);
  border: 1px solid rgba(88, 155, 35, 0.2);
  color: var(--green);
}

.form-status--success strong {
  color: var(--green);
  display: block;
  margin-bottom: 2px;
}

.form-status--success p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-status--success svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.form-status--error {
  background: rgba(221, 68, 68, 0.06);
  border: 1px solid rgba(221, 68, 68, 0.15);
  color: #d44;
}

.form-status--error strong {
  color: #d44;
  display: block;
  margin-bottom: 2px;
}

.form-status--error p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-status--error svg {
  flex-shrink: 0;
  margin-top: 2px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ===================================
   LEGAL PAGES
   =================================== */
.legal {
  padding: 140px 0 var(--section-py);
}

.legal__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--sage);
}

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.legal__updated {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.legal__body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal__body h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal__body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.legal__body ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 20px;
  position: relative;
}

.legal__body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.legal__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__body a:hover { opacity: 0.75; }


/* ===================================
   KEYFRAMES
   =================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translateY(30px) skewY(2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}

@keyframes phoneIn {
  from {
    opacity: 0;
    transform: translateY(60px) rotate(3deg) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(30px, -20px); }
  66%      { transform: translate(-20px, 15px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  50.1%{ transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}


/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }

  .header__link--cta {
  display: block;
  margin-top: 12px;
  background: var(--accent);
  color: var(--white) !important;
  text-align: center;
  border-radius: 60px;
  padding: 16px 0 !important;
  border: none !important;
}

  .hero__subtitle,
  .hero__actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero__subtitle { max-width: 500px; }

  .hero__phone-img { max-width: 300px; }

  .hero__float { display: none; }

  .header__nav {
    position: fixed;
    top: 0; right: 0;
    width: 300px; height: 100dvh;
    background: var(--white);
    box-shadow: -8px 0 40px rgba(28, 28, 28, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 32px 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.4s;
    z-index: 99;
  }

  .header__nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .header__nav::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(28, 28, 28, 0.4);
    opacity: 0;
    transition: opacity 0.35s;
    z-index: -1;
    pointer-events: none;
  }

  .header__nav.is-open::before {
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav .header__link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--sage);
}

  .header__nav .header__link:hover {
    color: var(--accent);
    padding-left: 8px;
  }

  .header__nav .header__link::after { display: none; }

  .header__cta { display: none; }

  .header__burger {
    display: flex;
    z-index: 101;
  }

  .feature__inner,
  .feature__inner--reverse {
    grid-template-columns: 1fr;
    gap: 56px;
    direction: ltr;
  }

  .values__grid { gap: 20px; }

  .how__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 360px;
    margin: 0 auto;
  }
}

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

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__nav {
    gap: 40px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero__scroll-hint { display: none; }

  .contact-cards__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-wrap {
    padding: 36px 28px;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__line--2 { font-size: 3.2rem; }

  .feature__phone-frame {
    max-width: 280px;
  }

  .footer__nav { flex-direction: column; gap: 28px; }
}