* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  line-height: 1.7;
  color: #333333;
  background: #f3eee7; /* warm paper tone */
}

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

a {
  color: #c23824; /* deep red accent */
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid #0074C8;
  outline-offset: 2px;
}

.shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 231, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand-tagline {
  margin: 0;
  font-size: 12px;
  color: #666666;
}

.site-nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Hero */

.hero-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c23824;
  margin: 0 0 8px;
}

.hero-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 30px;
  line-height: 1.4;
  margin: 0 0 16px;
}

.hero-title strong {
  color: #c23824;
}

.hero-lead {
  margin: 0 0 24px;
  font-size: 15px;
}

.hero-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 16px 18px;
  background: #ffffff;
}

.hero-card-title {
  margin: 0 0 8px;
  font-size: 16px;
}

.hero-card-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  color: #c23824;
}

.hero-card-text {
  margin: 0;
  font-size: 13px;
}

/* Form */

.hero-form {
  border-radius: 14px;
  background: #111827; /* very dark blue/black */
  color: #f9fafb;
  padding: 20px 20px 22px;
}

.form-title {
  margin: 0 0 4px;
  font-size: 16px;
}

.form-note {
  margin: 0 0 16px;
  font-size: 12px;
  color: #d1d5db;
}

.estimate-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 13px;
}

.required {
  color: #f97316;
  font-size: 11px;
  margin-left: 4px;
}

input[type="text"],
select {
  font: inherit;
  padding: 8px 9px;
  border-radius: 6px;
  border: 1px solid #4b5563;
  background: #020617;
  color: #f9fafb;
}

input::placeholder {
  color: #6b7280;
}

.form-help {
  margin: 0;
  font-size: 11px;
  color: #9ca3af;
}

.button-primary {
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #FF7F32, #FFAA33);
  color: #111827;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 100%;
}

.button-primary:hover,
.button-primary:focus-visible {
  filter: brightness(0.96);
}

.button-pill {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button-main {
  font-weight: 600;
  font-size: 14px;
}

.form-disclaimer {
  margin: 10px 0 0;
  font-size: 11px;
  color: #9ca3af;
}

/* Sections */

.section {
  padding: 40px 0;
}

.section-bordered {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.section-alt {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #f7f2ea;
}

.section-header {
  margin-bottom: 24px;
}

.section-title {
  margin: 0 0 8px;
  font-size: 22px;
}

.section-lead {
  margin: 0;
  font-size: 14px;
  color: #555555;
}

.h3 {
  font-size: 17px;
  margin: 0 0 8px;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.subsection {
  margin-top: 32px;
}

.note {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
}

/* CTA panel */

.cta-panel {
  margin-top: 28px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1.6fr);
  gap: 12px;
  align-items: center;
}

.cta-label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9b1c1c;
}

.cta-body p {
  margin: 0 0 8px;
  font-size: 13px;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #c23824;
  font-size: 13px;
  color: #c23824;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(194, 56, 36, 0.04);
  text-decoration: none;
}

/* Voice */

.voice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.voice-item {
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 18px;
}

.voice-title {
  margin: 0 0 4px;
  font-size: 15px;
}

.voice-meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: #6b7280;
}

.voice-text {
  margin: 0;
  font-size: 13px;
}

/* Tables & data */

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
}

.data-table thead th {
  font-weight: 500;
  background: #f7f2ea;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.6);
}

/* Maker pills */

.maker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.maker-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 12px;
  background: #ffffff;
}

/* Bodytype cards */

.bodytype-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.bodytype-card {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #ffffff;
  padding: 14px 16px;
}

.bodytype-title {
  margin: 0 0 6px;
  font-size: 14px;
}

.bodytype-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}

/* Lists */

.pref-list,
.bullet-list,
.link-list {
  margin: 8px 0 0;
  padding-left: 18px;
  font-size: 13px;
}

.link-list li {
  margin-bottom: 4px;
}

/* Steps */

.step-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.step-item {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  padding: 14px 16px;
}

.step-title {
  margin: 0 0 6px;
  font-size: 14px;
}

.step-item p {
  margin: 0 0 8px;
  font-size: 13px;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: #111827;
  color: #e5e7eb;
  padding: 24px 0 28px;
}

.footer-inner {
  font-size: 12px;
}

.footer-brand-vision {
  margin: 0 0 10px;
}

.footer-meta {
  margin: 0 0 10px;
  color: #9ca3af;
}

.footer-credit {
  margin: 0;
}

.footer-credit a {
  color: #FFAA33;
}

/* Responsive */

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

  .hero-form {
    order: -1;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-nav ul {
    flex-wrap: wrap;
    row-gap: 4px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding-top: 28px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .cta-panel {
    grid-template-columns: minmax(0, 1fr);
  }
}
