:root {
  --brand-deep: #08694b;
  --brand-mint: #6ecb8e;
  --brand-gold: #ffbd44;
  --ink-strong: #17332a;
  --ink-body: #456257;
  --surface: #f4fbf6;
  --surface-strong: #ffffff;
  --surface-muted: #e3f5e9;
  --line: rgba(8, 105, 75, 0.12);
  --shadow-soft: 0 18px 50px rgba(8, 105, 75, 0.12);
  --shadow-card: 0 14px 30px rgba(18, 63, 46, 0.1);
  --radius-large: 28px;
  --radius-medium: 20px;
  --radius-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink-strong);
  background:
    radial-gradient(circle at top left, rgba(110, 203, 142, 0.24), transparent 32%),
    linear-gradient(180deg, #f8fff9 0%, #eff8f2 100%);
}

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

button {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 46px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong,
.site-nav a,
.button,
.eyebrow,
.step-number,
.mini-label,
.faq-question,
.store-button strong {
  font-family: "Sora", sans-serif;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  color: var(--ink-body);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-body);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand-deep), #0f8a64);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.button-secondary {
  border: 1px solid rgba(8, 105, 75, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: var(--brand-deep);
}

.button-small {
  min-height: 44px;
  padding: 0 18px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding: 52px 0 34px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero h1,
.section-heading h2,
.download-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.08;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.8vw, 3.8rem);
  max-width: 9ch;
}

.hero-text,
.section-heading p,
.benefit-card p,
.step-card p,
.example-card p,
.faq-answer p,
.download-card p,
.site-footer p,
.trust-band p,
.loan-note,
.footnote,
.download-note {
  color: var(--ink-body);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.08rem;
  margin: 18px 0 0;
}

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

.hero-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-strong);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-mint), var(--brand-deep));
}

.hero-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 105, 75, 0.1);
  box-shadow: var(--shadow-card);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 12% 8% auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 189, 68, 0.24);
  filter: blur(2px);
}

.hero-panel img,
.showcase-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.phone-card {
  position: relative;
  padding: 24px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(233, 247, 237, 0.95)),
    linear-gradient(135deg, rgba(8, 105, 75, 0.1), rgba(110, 203, 142, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.phone-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.phone-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(8, 105, 75, 0.2);
}

.loan-card,
.step-card,
.benefit-card,
.example-card,
.value-card,
.eligibility-card,
.security-card,
.faq-item,
.download-card,
.trust-band article,
.responsibility-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.loan-card {
  padding: 26px;
  border-radius: 28px;
}

.mini-label {
  margin: 0 0 10px;
  color: var(--brand-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.loan-card h2 {
  margin: 0;
  font-size: 3rem;
  font-family: "Sora", sans-serif;
}

.loan-stats {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.loan-stats div {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
}

.loan-stats span {
  display: block;
  color: var(--ink-body);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.trust-strip span {
  padding: 12px;
  border-radius: 16px;
  background: rgba(8, 105, 75, 0.08);
  text-align: center;
  font-size: 0.92rem;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 12px 0 24px;
}

.trust-band article {
  padding: 24px;
  border-radius: var(--radius-medium);
}

.section {
  padding: 72px 0 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.section-heading h2,
.download-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.steps-grid,
.benefit-grid,
.example-grid,
.value-grid,
.eligibility-grid,
.security-grid {
  display: grid;
  gap: 18px;
}

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

.split-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  align-items: start;
}

.split-showcase.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}

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

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

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

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

.step-card,
.benefit-card,
.example-card,
.value-card,
.eligibility-card,
.security-card {
  padding: 24px;
  border-radius: var(--radius-medium);
}

.value-card,
.security-card {
  background: linear-gradient(180deg, #ffffff, #f6fcf8);
}

.showcase-image {
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.security-image {
  align-self: stretch;
}

.value-card h3,
.eligibility-card h3,
.security-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.eligibility-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-strong);
  line-height: 1.85;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 18px;
  color: var(--brand-deep);
  background: rgba(110, 203, 142, 0.25);
}

.step-card h3,
.benefit-card h3,
.example-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.benefit-card:nth-child(3n + 2) {
  background: linear-gradient(180deg, #ffffff, #f3fbf5);
}

.featured {
  background: linear-gradient(180deg, rgba(8, 105, 75, 0.94), rgba(17, 132, 95, 0.92));
  color: #fff;
}

.featured .mini-label,
.featured p,
.featured li {
  color: rgba(255, 255, 255, 0.86);
}

.example-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-strong);
  line-height: 1.8;
}

.example-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.responsibility-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  padding: 30px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(110, 203, 142, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(8, 105, 75, 0.06), rgba(255, 189, 68, 0.12)),
    #fff;
}

.responsibility-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.1;
}

.responsibility-copy p {
  margin: 0 0 14px;
}

.faq-item {
  border-radius: var(--radius-medium);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  color: var(--ink-strong);
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-deep);
  font-size: 1.4rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 24px 0;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer p {
  padding-bottom: 22px;
}

.download-section {
  padding-bottom: 74px;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 189, 68, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(8, 105, 75, 0.08), rgba(110, 203, 142, 0.14)),
    #fff;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 22px;
  background: #0b1411;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.store-button img {
  width: 26px;
  height: 26px;
}

.store-button small,
.store-button strong {
  display: block;
}

.download-note {
  max-width: 260px;
  margin: 14px 0 0;
  font-size: 0.95rem;
}

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

.contact-card {
  padding: 24px;
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}

.contact-card h3 {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: 1.15rem;
}

.contact-card p {
  margin: 0 0 8px;
  color: var(--ink-body);
  line-height: 1.6;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-deep), #0f8a64);
  color: #fff;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-3px);
}

.back-to-top[hidden] {
  opacity: 0;
  visibility: hidden;
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.site-footer {
  padding: 0 0 42px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

@media (max-width: 1024px) {
  .hero,
  .download-card,
  .trust-band,
  .steps-grid,
  .benefit-grid,
  .contact-grid,
  .example-grid,
  .value-grid,
  .eligibility-grid,
  .security-grid,
  .responsibility-card,
  .split-showcase,
  .split-showcase.reverse {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    gap: 28px;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header,
  .hero,
  .download-card,
  .trust-band,
  .steps-grid,
  .benefit-grid,
  .contact-grid,
  .example-grid,
  .value-grid,
  .eligibility-grid,
  .security-grid,
  .responsibility-card,
  .split-showcase,
  .split-showcase.reverse {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding-top: 18px;
  }

  .button-small {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .hero-visual-card {
    order: -1;
  }

  .phone-card,
  .download-card {
    padding: 24px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 56px;
  }
}
