@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Source+Serif+4:wght@600;700&display=swap");

:root {
  --ink: #10253e;
  --ink-soft: #42566f;
  --paper: #e8d7b3;
  --panel: #ffffff;
  --line: #d3dbe5;
  --brand: #1d4f85;
  --brand-dark: #102a4a;
  --accent: #c99b44;
  --accent-strong: #b6842c;
  --highlight: #2c6db1;
  --mint: #e8f3ef;
  --shadow: 0 18px 38px rgba(10, 31, 49, 0.11);
  --box-blue: #3f6797;
  --box-blue-deep: #355a87;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(1000px 460px at -6% -24%, #f0e0b8, transparent 72%),
    radial-gradient(850px 400px at 106% -4%, #e0c890, transparent 72%),
    linear-gradient(180deg, #efdeb5, var(--paper));
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  position: relative;
  overflow-x: hidden;
  line-height: 1.45;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: none;
  pointer-events: none;
  z-index: -3;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("/assets/Copilot_20260714_184420.png");
  background-repeat: no-repeat;
  background-position: center 14%;
  background-size: min(76vw, 1020px);
  opacity: 0.06;
  pointer-events: none;
  z-index: -2;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  margin: 0;
  letter-spacing: 0.01em;
}

.page {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 14px 60px;
}

.bg-shape {
  position: fixed;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.2;
  z-index: -1;
  animation: none;
}

.bg-shape-a {
  width: 220px;
  height: 220px;
  background: #b9cce3;
  top: 32px;
  left: -80px;
}

.bg-shape-b {
  width: 280px;
  height: 280px;
  background: #d7e2ef;
  right: -110px;
  bottom: 40px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 10px 14px;
  border: 1px solid #cfd8e4;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 252, 0.9));
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 28px rgba(12, 35, 55, 0.09);
}

.header-cta {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  box-shadow: 0 10px 22px rgba(16, 42, 74, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 42, 74, 0.4);
}

.hero {
  border: 1px solid #d1d9e4;
  border-radius: 24px;
  background:
    linear-gradient(128deg, rgba(250, 243, 226, 0.96), rgba(245, 236, 213, 0.95) 54%, rgba(241, 226, 189, 0.92));
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 40%);
  gap: 12px;
  position: relative;
  overflow: hidden;
  animation: rise 450ms ease-out;
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 155, 68, 0.22), transparent 70%);
  pointer-events: none;
}

.brandRow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
}

.brandLogo {
  width: 86px;
  height: 86px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px;
  border: 1px solid #d8e2ec;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 36, 50, 0.14);
  padding: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.slogan {
  margin: 6px 0 0;
  font-weight: 700;
  color: #2d4f66;
  font-size: 14px;
}

.header-contact {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #203b53;
}

.header-contact a {
  color: var(--brand-dark);
  text-decoration: none;
}

.header-contact a:hover {
  text-decoration: underline;
}

.hero-copy {
  max-width: 66ch;
}

.hero-kicker {
  margin: 0 0 10px;
  color: #2b507b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  color: #10273a;
  text-wrap: balance;
}

.subhead {
  margin: 12px 0 0;
  max-width: 70ch;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.hero-points {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.hero-points p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #193548;
}

.hero-points p::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 155, 68, 0.22);
}

.hero-art {
  position: relative;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 245, 219, 0.58), rgba(237, 228, 201, 0.18));
  z-index: 1;
}

.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transform: scale(1.08);
  filter: saturate(1.18) contrast(1.1) brightness(1.08);
}

.trust-strip {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip article {
  border: 1px solid #446d9f;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--box-blue), var(--box-blue-deep));
  box-shadow: 0 10px 20px rgba(10, 31, 49, 0.09);
  padding: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.trust-strip article h2,
.trust-strip article p {
  color: #f3f7fc;
}

.trust-strip article:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(10, 31, 49, 0.14);
}

.trust-strip h2 {
  font-size: 1.22rem;
}

.trust-strip p {
  margin: 7px 0 0;
  font-size: 14px;
  color: #3b505f;
}

.process-section {
  margin-top: 14px;
  border: 1px solid #d2dbe6;
  border-radius: 18px;
  background: linear-gradient(145deg, #f4e8cb, #ecdbb1 62%, #ead09d);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(8, 32, 50, 0.08);
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
}

.process-intro {
  border-right: 1px solid #d6e2ec;
  padding-right: 14px;
}

.process-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
  color: #2f5f7a;
}

.process-intro h2 {
  margin-top: 8px;
  font-size: 1.8rem;
  line-height: 1.12;
}

.process-intro p {
  margin: 10px 0 0;
  color: #335062;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.process-steps article {
  border: 1px solid #496f9b;
  border-radius: 14px;
  background: linear-gradient(145deg, #4b729f, #3f6797);
  padding: 12px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.process-steps article h3,
.process-steps article p {
  color: #f1f7fd;
}

.process-steps article:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(8, 32, 50, 0.12);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4d793, #fbe8c0);
  color: #433213;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.process-steps h3 {
  margin-top: 8px;
  font-size: 1.1rem;
}

.process-steps p {
  margin: 6px 0 0;
  color: #3b5262;
  font-size: 14px;
}

.risk-section {
  margin-top: 14px;
}

.risk-section > h2 {
  font-size: 1.9rem;
  margin: 0;
}

.risk-intro {
  margin: 8px 0 0;
  color: #355160;
}

.risk-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.risk-card {
  border: 1px solid #d3dce7;
  border-radius: 16px;
  background: linear-gradient(155deg, #f2e5c8, #ebdab2);
  box-shadow: 0 11px 24px rgba(10, 31, 49, 0.1);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.risk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(10, 31, 49, 0.14);
}

.risk-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -46px;
  top: -36px;
  border-radius: 50%;
  background: rgba(201, 155, 68, 0.15);
}

.risk-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 20px rgba(16, 35, 60, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.risk-icon svg {
  width: 100%;
  height: 100%;
}

.risk-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: icon-draw 1.5s ease forwards;
}

.risk-icon::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  z-index: -1;
  opacity: 0.45;
}

.risk-money {
  background: linear-gradient(145deg, #6fcb93, #3e9b6d);
  color: #fff;
}

.risk-money::before {
  background: radial-gradient(circle, rgba(111, 203, 147, 0.9), rgba(111, 203, 147, 0));
}

.risk-value {
  background: linear-gradient(145deg, #69b3ef, #2f76b8);
  color: #fff;
}

.risk-value::before {
  background: radial-gradient(circle, rgba(105, 179, 239, 0.9), rgba(105, 179, 239, 0));
}

.risk-contract {
  background: linear-gradient(145deg, #9d85e8, #6a52c0);
  color: #fff;
}

.risk-contract::before {
  background: radial-gradient(circle, rgba(157, 133, 232, 0.9), rgba(157, 133, 232, 0));
}

.risk-phone {
  background: linear-gradient(145deg, #f8a56d, #d76b2b);
  color: #fff;
}

.risk-phone::before {
  background: radial-gradient(circle, rgba(248, 165, 109, 0.9), rgba(248, 165, 109, 0));
}

.risk-card:hover .risk-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 26px rgba(16, 35, 60, 0.3);
}

.risk-card:hover .risk-icon svg path {
  animation: icon-pulse 1.8s ease-in-out infinite;
}

.risk-card h2 {
  font-size: 1.28rem;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.risk-card p {
  margin: 8px 0 0;
  color: #334a5a;
}

.risk-stat {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #dae4ee;
  color: #153146;
  font-weight: 700;
  font-size: 0.95rem;
}

.fee-calculator {
  margin-top: 14px;
  border: 1px solid #cfd9e5;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(221, 243, 220, 0.98), rgba(191, 231, 190, 0.94));
  box-shadow: 0 12px 26px rgba(11, 33, 50, 0.1);
  padding: 20px;
}

.fee-calculator h2 {
  font-size: 1.9rem;
  color: #102a4a;
}

.fee-intro {
  margin: 8px 0 0;
  color: #2e4d68;
}

.fee-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.fee-field {
  display: grid;
  gap: 6px;
}

.fee-field label {
  margin: 0;
  font-weight: 700;
  font-size: 13px;
  color: #183650;
}

.fee-results {
  margin-top: 12px;
  border: 1px solid #3f6797;
  border-radius: 14px;
  background: linear-gradient(150deg, #4b729f, #3f6797);
  padding: 12px;
}

.fee-results p {
  margin: 6px 0;
  color: #f2f7fd;
}

.feature-video {
  margin-top: 14px;
  border: 1px solid #cfd9e5;
  border-radius: 18px;
  background: linear-gradient(156deg, rgba(244, 229, 194, 0.98), rgba(236, 216, 174, 0.95));
  box-shadow: 0 12px 26px rgba(11, 33, 50, 0.1);
  padding: 22px;
}

.feature-video h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  color: #102a4a;
  text-align: center;
  text-wrap: balance;
  letter-spacing: 0.01em;
}

.feature-video-player {
  width: 100%;
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid #c8d4e2;
  background: #0f1920;
  box-shadow: 0 14px 26px rgba(9, 26, 40, 0.28);
}

.story {
  margin-top: 14px;
  border: 1px solid #cfdeeb;
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(244, 231, 201, 0.96), rgba(236, 219, 181, 0.9));
  padding: 20px;
  box-shadow: 0 12px 26px rgba(11, 33, 50, 0.1);
}

.story h2 {
  font-size: 1.9rem;
  margin-bottom: 10px;
}

.story p {
  margin: 10px 0 0;
  max-width: 86ch;
  color: #304653;
}

.qualifier-shell {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 14px;
}

.chat-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(244, 232, 205, 0.97), rgba(235, 220, 183, 0.92));
  box-shadow: 0 12px 28px rgba(15, 36, 50, 0.11);
}

.chat-card {
  padding: 16px;
}

.chat-log {
  margin-top: 8px;
  max-height: 420px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.chat-bubble {
  padding: 10px 11px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.35;
}

.chat-advisor {
  background: #edf6fc;
  border: 1px solid #cfe2f0;
}

.chat-user {
  background: #fff3ea;
  border: 1px solid #eed3c2;
}

.small {
  margin: 10px 0 0;
  font-size: 12px;
  color: #4e616f;
}

.form-card {
  padding: 18px;
}

.progress-meta {
  display: grid;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8edf2;
}

.progress-track div {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 220ms ease;
}

label {
  display: block;
  margin-top: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

input,
select,
button {
  width: 100%;
  font: inherit;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #ccd8e4;
  padding: 12px;
}

input:focus,
select:focus {
  outline: 2px solid rgba(15, 95, 140, 0.22);
  border-color: #9fb9cb;
}

button {
  border: 0;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  min-height: 48px;
  box-shadow: 0 10px 22px rgba(16, 42, 74, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 42, 74, 0.4);
}

button.ghost {
  border: 1px solid #cbd9e4;
  background: #eef3f7;
  color: #2f3a40;
}

.choice-group {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.choice-btn {
  text-align: left;
  background: #fff;
  color: var(--ink);
  border: 1px solid #d1dde8;
}

.actions {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
}

.final-state {
  margin-top: 14px;
  border: 1px solid #bad7c8;
  border-radius: 14px;
  background: #eaf9f0;
  padding: 14px;
}

.terms-box {
  margin-top: 8px;
  border: 1px solid #d5dfeb;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.terms-box p {
  margin: 0 0 10px;
  font-size: 13px;
  color: #304654;
}

.cta-link {
  margin-top: 8px;
  display: inline-block;
  color: var(--brand);
  font-weight: 800;
}

.site-footer {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid #cfd8e4;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 252, 0.9));
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  color: #2f4a5d;
}

.site-footer a {
  margin-left: 10px;
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
}

.legal-section {
  margin-top: 12px;
  border: 1px solid #d2dbe6;
  border-radius: 16px;
  background: linear-gradient(156deg, rgba(244, 229, 194, 0.98), rgba(236, 216, 174, 0.95));
  box-shadow: 0 10px 22px rgba(11, 33, 50, 0.08);
  padding: 18px;
}

.legal-section h2 {
  font-size: 1.55rem;
}

.legal-section .terms-box {
  max-height: 320px;
  overflow: auto;
}

@media (max-width: 900px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .process-section {
    grid-template-columns: 1fr;
  }

  .process-intro {
    border-right: 0;
    border-bottom: 1px solid #d8e3ed;
    padding-right: 0;
    padding-bottom: 10px;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 260px;
  }

  .risk-grid {
    grid-template-columns: 1fr;
  }

  .fee-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .qualifier-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .intro-panel {
    padding: 12px;
    border-radius: 16px;
  }

  .intro-actions {
    grid-template-columns: 1fr;
  }

  .page {
    padding: 12px 10px 30px;
  }

  .hero {
    padding: 18px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .subhead {
    font-size: 1rem;
  }

  .brandRow {
    align-items: flex-start;
  }

  .header-cta {
    width: 100%;
  }

  .chat-card {
    order: 2;
  }

  .form-card {
    order: 1;
  }

  .chat-log {
    max-height: 220px;
  }

  .chat-bubble {
    font-size: 15px;
  }

  .trust-strip article,
  .risk-card,
  .feature-video,
  .chat-card,
  .form-card {
    border-radius: 14px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .brandLogo {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 420px) {
  body::before {
    background-size: 150vw;
    background-position: center 20%;
    opacity: 0.05;
  }

  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.15;
  }

  .slogan {
    font-size: 13px;
  }

  .form-card,
  .chat-card {
    padding: 14px;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icon-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes icon-pulse {
  0% {
    stroke-width: 2.4;
  }
  50% {
    stroke-width: 3;
  }
  100% {
    stroke-width: 2.4;
  }
}

