@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;700&display=swap");

:root {
  --bg: #f5efe2;
  --paper: #fbf7ef;
  --ink: #181511;
  --muted: #6c6258;
  --line: rgba(24, 21, 17, 0.12);
  --accent: #ef5c34;
  --accent-deep: #c53d1b;
  --forest: #23473d;
  --sun: #f2ba4a;
  --hero-shadow: rgba(35, 71, 61, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(242, 186, 74, 0.38), transparent 28%),
    radial-gradient(circle at top right, rgba(239, 92, 52, 0.14), transparent 32%),
    linear-gradient(180deg, #f7f1e5 0%, #f1e8d8 100%);
}

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

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

.site-shell {
  min-height: 100svh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 241, 229, 0.82);
  border-bottom: 1px solid rgba(24, 21, 17, 0.07);
}

.header-inner,
.section-inner,
.footer-inner,
.legal-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, var(--accent) 0%, #ff8a5f 36%, var(--sun) 100%);
  box-shadow:
    0 14px 30px rgba(239, 92, 52, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  background: rgba(255, 248, 235, 0.85);
}

.brand-mark::before {
  width: 18px;
  height: 18px;
  left: 8px;
  top: 8px;
}

.brand-mark::after {
  width: 10px;
  height: 10px;
  right: 8px;
  bottom: 8px;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.96rem;
  color: var(--muted);
}

.header-nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff7ef;
  font-weight: 700;
}

.hero {
  padding: 44px 0 18px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(35, 71, 61, 0.98) 0%, rgba(25, 39, 43, 0.98) 58%, rgba(16, 19, 25, 0.98) 100%);
  color: #fff7ef;
  box-shadow: 0 28px 70px var(--hero-shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -10% auto auto -8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242, 186, 74, 0.28), transparent 72%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -16%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(239, 92, 52, 0.16), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: end;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 247, 239, 0.74);
  margin-bottom: 18px;
}

.hero h1,
.legal-hero h1 {
  margin: 0;
  font-family: "Instrument Serif", serif;
  font-size: clamp(3.3rem, 8vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 400;
}

.hero-lead {
  max-width: 32rem;
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 247, 239, 0.82);
  margin: 22px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.97rem;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff875f 100%);
  color: #fffaf2;
  box-shadow: 0 16px 28px rgba(239, 92, 52, 0.24);
}

.button-secondary {
  border-color: rgba(255, 247, 239, 0.24);
  color: #fff7ef;
  background: rgba(255, 255, 255, 0.02);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  color: rgba(255, 247, 239, 0.72);
  font-size: 0.92rem;
}

.hero-note {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card {
  justify-self: stretch;
  background: rgba(255, 248, 235, 0.94);
  color: var(--ink);
  border-radius: 28px;
  padding: 22px;
}

.hero-card-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.hero-card-title {
  margin-top: 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

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

.hero-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  color: #3b342e;
  line-height: 1.45;
}

.hero-list strong {
  color: var(--ink);
}

.hero-index {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-index span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-index strong {
  font-size: 1.05rem;
}

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

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}

.section-title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.97;
  margin: 6px 0 0;
}

.section-copy {
  color: var(--muted);
  line-height: 1.7;
  max-width: 36rem;
}

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

.feature {
  min-height: 250px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 251, 244, 0.82);
  border: 1px solid rgba(24, 21, 17, 0.08);
}

.feature:nth-child(2) {
  background: linear-gradient(180deg, rgba(255, 244, 222, 0.95), rgba(255, 250, 242, 0.92));
}

.feature:nth-child(3) {
  background: linear-gradient(180deg, rgba(239, 92, 52, 0.1), rgba(255, 249, 240, 0.92));
}

.feature-step {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 700;
}

.feature h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
}

.feature p {
  margin: 0;
  color: #4e463f;
  line-height: 1.65;
}

.feature ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.workflow {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.workflow-main,
.workflow-side,
.cta-panel,
.legal-panel {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(24, 21, 17, 0.08);
}

.workflow-main {
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.9), rgba(248, 242, 230, 0.95));
}

.workflow-inner {
  padding: 28px;
}

.workflow-inner h3,
.workflow-side h3,
.cta-panel h3 {
  margin: 0;
  font-size: 1.5rem;
}

.workflow-steps {
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.workflow-step-number {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--forest);
  color: #fff8ef;
  font-weight: 700;
}

.workflow-step strong {
  display: block;
  margin-bottom: 4px;
}

.workflow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.workflow-side {
  background:
    linear-gradient(180deg, rgba(24, 21, 17, 0.98), rgba(31, 39, 38, 0.98));
  color: #fff8ef;
}

.workflow-side .workflow-inner {
  height: 100%;
}

.bullet-stack {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.bullet {
  padding: 14px 14px 14px 16px;
  border-left: 2px solid rgba(242, 186, 74, 0.6);
  color: rgba(255, 248, 239, 0.86);
  background: rgba(255, 255, 255, 0.04);
}

.cta {
  padding: 0 0 72px;
}

.cta-panel {
  background:
    linear-gradient(135deg, rgba(239, 92, 52, 0.95), rgba(196, 61, 27, 0.94)),
    linear-gradient(180deg, #d45531, #8e2d15);
  color: #fff9f1;
}

.cta-inner {
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-copy {
  max-width: 40rem;
}

.cta-copy p {
  margin: 12px 0 0;
  line-height: 1.65;
  color: rgba(255, 249, 241, 0.86);
}

.site-footer {
  border-top: 1px solid rgba(24, 21, 17, 0.08);
  padding: 20px 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-page {
  min-height: 100svh;
}

.legal-hero {
  padding: 62px 0 20px;
}

.legal-hero p {
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
  margin: 18px 0 0;
}

.legal-panel {
  background: rgba(255, 251, 244, 0.92);
}

.legal-inner {
  padding-bottom: 64px;
}

.legal-content {
  padding: 28px;
}

.legal-content h2 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.legal-content p,
.legal-content li {
  color: #4b443d;
  line-height: 1.72;
}

.legal-content ul {
  margin-top: 10px;
  padding-left: 22px;
}

.legal-section + .legal-section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .hero-grid,
  .section-header,
  .feature-grid,
  .workflow,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .header-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .legal-inner {
    width: min(var(--max), calc(100% - 20px));
  }

  .hero {
    padding-top: 20px;
  }

  .hero-panel,
  .feature,
  .workflow-inner,
  .cta-inner,
  .legal-content {
    padding: 20px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
