:root {
  color-scheme: light;
  --bg: #f6f2eb;
  --paper: #fffdf8;
  --ink: #1a1a1a;
  --muted: #5d5955;
  --line: rgba(26, 26, 26, 0.1);
  --brand: #ef6a1d;
  --brand-deep: #ca4e0b;
  --signal: #146b67;
  --success: #229d5b;
  --warning: #c97b0d;
  --danger: #c73e34;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 18px 44px rgba(54, 35, 18, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(239, 106, 29, 0.08), transparent 22%),
    linear-gradient(180deg, #f7f3ed 0%, #f4eee6 100%);
  color: var(--ink);
  line-height: 1.5;
}

body.address-focus-active {
  overflow: hidden;
}

.address-focus-scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(18, 16, 16, 0.58);
  opacity: 0;
  pointer-events: none;
  cursor: default;
  transition: opacity 180ms ease;
}

body.address-focus-active .address-focus-scrim {
  opacity: 1;
  pointer-events: auto;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 237, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner {
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  min-width: 0;
}

.logo-dino {
  height: 78px;
  width: auto;
  display: block;
  align-self: flex-end;
}

.logo-wordmark {
  height: 84px;
  width: auto;
  display: block;
  align-self: flex-end;
}

.brand-copy,
.nav {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 24px;
}

.hero {
  padding: 76px 0 38px;
}

.hero-grid,
.flow-grid {
  display: grid;
  gap: 26px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.92fr);
  align-items: start;
}

.eyebrow,
.hero-kicker,
.flow-index {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--brand-deep);
}

.hero-kicker,
.flow-index {
  color: var(--ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.9rem, 4vw + 1.2rem, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 8ch;
}

h2 {
  font-size: clamp(1.6rem, 1vw + 1.2rem, 2.2rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.15;
}

.lead,
.panel-copy,
.input-note,
.form-status,
.flow-card p,
.footer-note,
.proof-item span {
  color: var(--muted);
}

.lead {
  max-width: 41ch;
  margin: 30px 0 24px;
  font-size: 1.02rem;
}

.proof-list {
  display: grid;
  gap: 14px;
  max-width: 38rem;
}

.proof-item {
  display: grid;
  gap: 3px;
  padding-left: 14px;
  border-left: 2px solid rgba(20, 107, 103, 0.3);
}

.proof-item strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-card,
.flow-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-card {
  padding: 26px;
}

.panel-intro {
  margin-bottom: 18px;
}

.panel-copy {
  margin: 10px 0 0;
  font-size: 0.95rem;
}

.uplift-form,
.field-group {
  display: grid;
  gap: 10px;
}

.uplift-form {
  gap: 16px;
}

.address-focus-target {
  position: relative;
  z-index: 1;
}

body.address-focus-active .address-focus-target {
  z-index: 110;
  margin: -16px;
  padding: 16px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  font-size: 0.9rem;
  font-weight: 700;
}

input {
  width: 100%;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 14px;
  background: #fff;
  padding: 14px 15px;
  font: inherit;
  color: var(--ink);
}

input:focus {
  outline: 2px solid rgba(239, 106, 29, 0.16);
  border-color: rgba(239, 106, 29, 0.52);
}

.input-note {
  font-size: 0.83rem;
}

.input-note:empty,
.address-options:empty {
  display: none;
}

.address-options {
  display: grid;
  gap: 8px;
}

.address-option {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.address-option:hover,
.address-option:focus-visible {
  border-color: rgba(239, 106, 29, 0.4);
  box-shadow: 0 10px 24px rgba(54, 35, 18, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.address-option-copy {
  display: grid;
  gap: 3px;
}

.address-option-copy strong {
  font-family: "Montserrat", sans-serif;
  font-size: 0.92rem;
}

.address-option-copy span {
  font-size: 0.81rem;
  color: var(--muted);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.btn.primary {
  background: var(--brand);
  color: #fff9f4;
}

.btn.secondary {
  background: #18161a;
  color: #fff;
}

.status-panel {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 14px 16px;
}

.status-panel[data-state="success"],
.status-panel[data-state="warning"],
.status-panel[data-state="error"] {
  border-width: 10px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.88rem;
}

.form-status[data-state="success"] {
  color: var(--signal);
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.flow {
  padding: 8px 0 72px;
}

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

.flow-card {
  padding: 22px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
}

.footer-note {
  margin: 0;
  text-align: right;
}

@media (max-width: 980px) {
  .hero-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .logo-dino {
    height: 58px;
  }

  .logo-wordmark {
    height: 62px;
  }

  .nav {
    display: none;
  }

  .form-row,
  .header-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .form-card {
    padding: 22px 18px;
  }

  body.address-focus-active .address-focus-target {
    margin: -12px;
    padding: 12px;
  }

  .footer-note {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .address-focus-scrim {
    transition: none;
  }
}
