:root {
  --green: #0f5132;
  --green-deep: #062b1a;
  --green-dark: #093b25;
  --green-soft: #e7f0ea;
  --gold: #d4af37;
  --gold-soft: #f3df94;
  --paper: #fffdf8;
  --warm: #f5efe2;
  --ink: #17251d;
  --muted: #56675d;
  --line: #decfac;
  --danger: #8d2f27;
  --shadow: 0 20px 55px rgba(6, 43, 26, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  margin: 0;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid rgba(15, 81, 50, 0.14);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  left: 0;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 54px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand-link,
.site-nav,
.hero-actions,
.hero-points,
.check-row,
.site-footer {
  align-items: center;
  display: flex;
}

.brand-link {
  gap: 10px;
  font-weight: 950;
  text-decoration: none;
}

.brand-link img {
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(6, 43, 26, 0.2);
  height: 42px;
  width: 42px;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  padding: 9px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.site-nav .app-link {
  background: var(--green);
  color: var(--paper);
}

.hero {
  background:
    radial-gradient(circle at 20% 15%, rgba(212, 175, 55, 0.18), transparent 28%),
    linear-gradient(135deg, var(--green-deep), var(--green) 62%, #17452e);
  color: var(--paper);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 8vw, 108px) clamp(18px, 5vw, 76px);
}

.hero-content {
  align-self: center;
  max-width: 760px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.97;
  margin-bottom: 20px;
  max-width: 820px;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.04;
  margin-bottom: 16px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(18px, 2.1vw, 23px);
  max-width: 650px;
}

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

.button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #211704;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #e7c756;
}

.button.secondary {
  background: rgba(255, 253, 248, 0.12);
  border-color: rgba(255, 253, 248, 0.58);
  color: var(--paper);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 253, 248, 0.2);
}

.hero-points {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-points span {
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 11px;
}

.hero-brand-panel {
  align-self: center;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.36);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.hero-brand-panel img {
  border-radius: 6px;
  width: 100%;
}

.section {
  padding: clamp(58px, 7vw, 98px) clamp(18px, 4vw, 54px);
}

.section-inner {
  margin: 0 auto;
  max-width: 1180px;
}

.section-heading {
  margin-bottom: 30px;
  max-width: 820px;
}

.method-section {
  background: var(--warm);
}

.method-grid,
.policy-grid {
  display: grid;
  gap: 14px;
}

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

.method-grid article,
.request-form,
.policy-grid article,
.phone-preview {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 43, 26, 0.08);
}

.method-grid article {
  padding: 22px;
}

.method-grid strong {
  align-items: center;
  background: var(--green);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  margin-bottom: 16px;
  width: 34px;
}

.method-grid p,
.policy-grid p,
.request-form p,
.app-section p,
.plain-list {
  color: var(--muted);
}

.app-section {
  background: var(--paper);
}

.app-layout,
.beta-layout {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
}

.app-layout > div:first-child,
.beta-copy {
  align-self: center;
}

.plain-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.plain-list li {
  border-top: 1px solid rgba(15, 81, 50, 0.18);
  padding: 11px 0;
}

.philosophy-note {
  border-left: 4px solid var(--gold);
  margin-top: 26px;
  padding-left: 18px;
}

.philosophy-note p {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  margin-bottom: 8px;
}

.phone-preview {
  background: #102f22;
  border-color: rgba(212, 175, 55, 0.42);
  color: var(--paper);
  margin: 0 auto;
  max-width: 390px;
  padding: 18px;
  width: 100%;
}

.phone-top {
  background: rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  height: 8px;
  margin: 0 auto 18px;
  width: 72px;
}

.phone-card {
  background: rgba(255, 253, 248, 0.94);
  border-radius: 8px;
  color: var(--ink);
  margin-top: 12px;
  padding: 14px;
}

.phone-card span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.limit-card {
  background: linear-gradient(155deg, #173f2d, #0b3020);
  color: var(--paper);
}

.limit-card strong {
  display: block;
  font-size: 54px;
  line-height: 1;
  margin: 7px 0 16px;
}

.mini-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.mini-row span {
  background: rgba(255, 253, 248, 0.11);
  border: 1px solid rgba(255, 253, 248, 0.14);
  border-radius: 6px;
  color: var(--paper);
  padding: 9px;
  text-transform: none;
}

.bar {
  background: #e7dfcd;
  border-radius: 999px;
  height: 10px;
  margin: 12px 0 8px;
  overflow: hidden;
}

.bar i {
  background: linear-gradient(90deg, var(--green), #3a79ad);
  display: block;
  height: 100%;
}

.input-line {
  background: #e8e0cf;
  border-radius: 6px;
  height: 36px;
  margin-top: 10px;
}

.input-line.short {
  width: 62%;
}

.phone-card button {
  background: var(--gold);
  border: 0;
  border-radius: 7px;
  color: #221904;
  font: inherit;
  font-weight: 950;
  margin-top: 12px;
  min-height: 40px;
  padding: 9px 12px;
}

.beta-section {
  background: var(--green-deep);
  color: var(--paper);
}

.beta-copy p {
  color: rgba(255, 253, 248, 0.82);
}

.seal-logo {
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  max-width: 260px;
}

.request-form {
  color: var(--ink);
  padding: 24px;
}

.form-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

label {
  color: var(--green);
  display: grid;
  font-size: 14px;
  font-weight: 950;
  gap: 7px;
  margin-bottom: 14px;
}

input,
select,
textarea {
  border: 1px solid #cfc2a2;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.14);
  outline: none;
}

.check-row {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-weight: 750;
  gap: 10px;
}

.check-row input {
  min-height: 18px;
  width: 18px;
}

.hidden-field {
  display: none;
}

.submit-button {
  width: 100%;
}

.form-status {
  font-weight: 850;
  margin: 12px 0 0;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: var(--danger);
}

.existing-user {
  color: var(--green);
  display: block;
  font-weight: 950;
  margin-top: 14px;
  text-align: center;
}

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

.policy-grid article:last-child {
  grid-column: span 3;
}

.policy-grid article {
  padding: 20px;
}

.wave-cta {
  background:
    linear-gradient(90deg, rgba(6, 43, 26, 0.92), rgba(6, 43, 26, 0.68) 48%, rgba(6, 43, 26, 0.25)),
    url("../assets/daily-dollar-wave.png") center / cover no-repeat;
  color: var(--paper);
  min-height: min(720px, calc(100vh - 74px));
}

.wave-cta-overlay {
  align-items: center;
  display: flex;
  min-height: inherit;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 76px);
}

.wave-cta-copy {
  max-width: 620px;
}

.wave-cta-copy h2 {
  font-size: clamp(46px, 7vw, 92px);
  margin-bottom: 18px;
}

.wave-cta-copy p:not(.eyebrow) {
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  margin-bottom: 28px;
}

.site-footer {
  background: var(--green-deep);
  color: var(--paper);
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 54px);
}

.site-footer p {
  color: rgba(255, 253, 248, 0.74);
  margin: 4px 0 0;
}

.site-footer a {
  color: var(--gold);
  font-weight: 950;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero,
  .app-layout,
  .beta-layout,
  .method-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-brand-panel {
    max-width: 680px;
  }

  .policy-grid article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-link {
    font-size: 15px;
  }

  .brand-link img {
    height: 36px;
    width: 36px;
  }

  .hero {
    padding: 42px 16px;
  }

  .hero-brand-panel {
    padding: 8px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .wave-cta {
    background:
      linear-gradient(180deg, rgba(6, 43, 26, 0.9), rgba(6, 43, 26, 0.74) 58%, rgba(6, 43, 26, 0.42)),
      url("../assets/daily-dollar-wave.png") center / cover no-repeat;
    min-height: 620px;
  }

  .wave-cta-overlay {
    align-items: flex-end;
    padding: 64px 16px;
  }

  .request-form {
    padding: 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
