:root {
  --bg: #f4ede7;
  --bg-soft: #fbf7f3;
  --surface: rgba(255, 251, 247, 0.84);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-deep: #fff7f1;
  --text: #201514;
  --muted: #705a54;
  --line: rgba(111, 68, 47, 0.14);
  --line-strong: rgba(111, 68, 47, 0.24);
  --accent: #d4552d;
  --accent-deep: #a33a18;
  --accent-soft: #f0b49d;
  --accent-wash: rgba(212, 85, 45, 0.12);
  --shadow: 0 26px 70px -38px rgba(61, 31, 18, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(228, 131, 88, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 20%, rgba(170, 105, 76, 0.14), transparent 26rem),
    linear-gradient(180deg, #fffaf7 0%, var(--bg) 58%, #ece0d6 100%);
}

h1,
h2,
h3,
.brand-copy strong {
  margin: 0;
  line-height: 1.08;
  font-family: "Sora", "Instrument Sans", sans-serif;
}

p,
ul {
  margin: 0;
}

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

code {
  font-family: "SFMono-Regular", "Menlo", monospace;
  font-size: 0.92em;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(32, 21, 20, 0.06);
}

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

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

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-row {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff8f1;
  font-size: 1.2rem;
  box-shadow: 0 16px 34px -22px rgba(163, 58, 24, 0.8);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

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

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.top-nav,
.footer-links,
.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.top-nav a,
.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.top-nav a:hover,
.footer-links a:hover {
  color: var(--accent-deep);
}

.hero,
.section {
  padding: 4.5rem 0;
}

.section-accent {
  padding-top: 0;
}

.section-compact {
  padding-top: 0;
}

.hero-grid,
.statement-grid,
.contact-panel {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.9fr);
  align-items: center;
}

.hero-copy,
.hero-card,
.statement-card,
.step-card,
.faq-card,
.contact-panel,
.policy-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

.hero-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  display: grid;
  gap: 1.1rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.hero-simple h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  max-width: 12ch;
}

.hero-text {
  margin-top: 1.15rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  margin-top: 1.7rem;
}

.hero-points {
  margin-top: 1.5rem;
  padding-left: 1.15rem;
  color: var(--muted);
  display: grid;
  gap: 0.65rem;
}

.keyboard-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.keyboard-preview span {
  min-height: 4rem;
  display: grid;
  place-items: center;
  padding: 0.65rem;
  text-align: center;
  border-radius: 18px;
  background: var(--surface-deep);
  border: 1px solid var(--line);
  font-family: "Sora", "Instrument Sans", sans-serif;
  font-weight: 700;
}

.section-heading {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.7rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 18ch;
}

.step-grid,
.faq-grid {
  display: grid;
  gap: 1.15rem;
}

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

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

.step-card,
.faq-card,
.statement-card,
.policy-card {
  border-radius: var(--radius-lg);
  padding: 1.55rem;
}

.step-card h3,
.faq-card h3,
.statement-card h2,
.policy-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.step-card p,
.faq-card p,
.statement-card p,
.policy-card p,
.contact-panel p {
  color: var(--muted);
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-weight: 800;
}

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

.contact-panel {
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.btn {
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.18s ease, filter 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fff8f1;
  box-shadow: 0 18px 40px -24px rgba(163, 58, 24, 0.86);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line-strong);
}

.site-footer {
  padding: 1.4rem 0 2.5rem;
}

.site-footer p {
  color: var(--muted);
  font-weight: 700;
}

.hero-simple {
  padding-bottom: 2rem;
}

.hero-simple-copy {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 242, 0.9));
  box-shadow: var(--shadow);
}

.meta-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.policy-stack {
  display: grid;
  gap: 1rem;
}

.policy-card p + p {
  margin-top: 0.9rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .statement-grid,
  .contact-panel,
  .step-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .header-row,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 0;
  }

  .hero,
  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.1rem, 100%);
  }

  .hero-copy,
  .hero-card,
  .hero-simple-copy,
  .step-card,
  .faq-card,
  .statement-card,
  .policy-card,
  .contact-panel {
    padding: 1.3rem;
    border-radius: 20px;
  }

  .top-nav {
    gap: 0.65rem;
  }

  .top-nav a,
  .footer-links a {
    font-size: 0.95rem;
  }
}
