/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --parchment: #F9F6F0;
  --parchment-dark: #F0EBE1;
  --charcoal: #1C1B19;
  --charcoal-mid: #3A3835;
  --terracotta: #C4784A;
  --terracotta-light: #D4926A;
  --warm-grey: #8C8480;
  --white: #FFFFFF;
  --surface: #EDE8DF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --max-w: 1200px;
  --pad-x: clamp(24px, 5vw, 80px);
  --section-gap: clamp(80px, 12vw, 140px);
}

html { scroll-behavior: smooth; }

body {
  background: var(--parchment);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--terracotta); color: var(--white); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }

.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad-x);
  background: rgba(249, 246, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 27, 25, 0.08);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}

.nav-tag {
  font-size: 12px;
  color: var(--warm-grey);
  letter-spacing: 0.06em;
}

/* === HERO === */
.hero {
  padding: var(--section-gap) var(--pad-x);
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  padding-top: 20px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--charcoal);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 17px;
  color: var(--charcoal-mid);
  line-height: 1.65;
  max-width: 420px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-product-frame {
  width: 100%;
  aspect-ratio: 1;
  max-width: 460px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(28, 27, 25, 0.12), 0 4px 16px rgba(28, 27, 25, 0.06);
  position: relative;
}

.frame-inner {
  position: absolute;
  inset: 0;
}

/* Product shape - a clean sofa silhouette */
.frame-product-shape {
  position: absolute;
  bottom: 15%;
  left: 10%;
  width: 80%;
  height: 45%;
  background: var(--charcoal);
  border-radius: 12px 12px 4px 4px;
}

.frame-product-shape::before {
  content: '';
  position: absolute;
  top: -22%;
  left: 3%;
  width: 94%;
  height: 55%;
  background: var(--charcoal);
  border-radius: 12px 12px 0 0;
}

.frame-product-shape::after {
  content: '';
  position: absolute;
  bottom: -8%;
  left: 0%;
  width: 12%;
  height: 8%;
  background: var(--warm-grey);
  border-radius: 0 0 2px 2px;
  bottom: -4px;
}

/* Scene shapes - abstract lifestyle feel */
.frame-scene-shapes {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 60%;
}

.scene-rect {
  position: absolute;
  background: var(--parchment-dark);
  border-radius: 8px;
}

.scene-rect-1 {
  top: 20%;
  right: 8%;
  width: 70%;
  height: 55%;
  background: linear-gradient(135deg, #E8E0D5 0%, #DDD5C8 100%);
}

.scene-circle {
  position: absolute;
  border-radius: 50%;
}

.scene-circle-1 {
  top: 8%;
  right: 20%;
  width: 30px;
  height: 30px;
  background: var(--terracotta-light);
  opacity: 0.6;
}

.scene-dot-grid {
  position: absolute;
  top: 35%;
  right: 15%;
  width: 50px;
  height: 50px;
  background-image: radial-gradient(var(--warm-grey) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.3;
}

.scene-line {
  position: absolute;
  background: var(--terracotta);
  opacity: 0.3;
}

.scene-line-1 {
  top: 55%;
  right: 5%;
  width: 40px;
  height: 2px;
  transform: rotate(-30deg);
  transform-origin: right center;
}

.hero-labels {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  width: 100%;
  max-width: 460px;
}

.h-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-grey);
  display: flex;
  align-items: center;
  gap: 8px;
}

.h-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--warm-grey);
}

.h-label-top { justify-content: flex-end; }

/* === PROCESS === */
.process {
  background: var(--charcoal);
  color: var(--parchment);
  padding: var(--section-gap) var(--pad-x);
}

.process-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.process .section-label {
  color: var(--terracotta-light);
}

.process-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--parchment);
  margin-bottom: 64px;
  max-width: 640px;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step {
  padding: 0 32px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--terracotta);
  display: block;
  margin-bottom: 20px;
  line-height: 1;
}

.step-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--parchment);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--warm-grey);
  line-height: 1.65;
}

.step-divider {
  width: 1px;
  height: 120px;
  background: rgba(249, 246, 240, 0.12);
  margin-top: 20px;
  align-self: center;
}

.process-delivery {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--warm-grey);
  text-transform: uppercase;
}

.delivery-icon {
  color: var(--terracotta);
  font-size: 10px;
}

/* === FEATURES === */
.features {
  padding: var(--section-gap) var(--pad-x);
}

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 64px;
  max-width: 620px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}

.feature-card {
  padding: 32px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(28, 27, 25, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(28, 27, 25, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  margin-bottom: 20px;
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--charcoal-mid);
  line-height: 1.65;
}

/* === PRICING === */
.pricing {
  background: var(--surface);
  padding: var(--section-gap) var(--pad-x);
}

.pricing-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.pricing-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--parchment);
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid rgba(28, 27, 25, 0.08);
  position: relative;
}

.pricing-card-featured {
  background: var(--charcoal);
  color: var(--parchment);
  border-color: var(--charcoal);
}

.pricing-tier {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 16px;
}

.pricing-card-featured .pricing-tier {
  color: var(--terracotta-light);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 28px;
  line-height: 1;
}

.pricing-card-featured .pricing-price {
  color: var(--parchment);
}

.pricing-per {
  font-size: 16px;
  font-weight: 400;
  color: var(--warm-grey);
}

.pricing-card-featured .pricing-per {
  color: var(--warm-grey);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--charcoal-mid);
  padding-left: 20px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.pricing-card-featured .pricing-features li {
  color: rgba(249, 246, 240, 0.7);
}

.pricing-badge {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

.pricing-note {
  margin-top: 40px;
  font-size: 14px;
  color: var(--warm-grey);
  text-align: center;
}

.pricing-note strong {
  color: var(--charcoal);
}

/* === CLOSING === */
.closing {
  padding: var(--section-gap) var(--pad-x);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.3;
}

.closing-attr {
  font-size: 13px;
  color: var(--warm-grey);
  letter-spacing: 0.06em;
  margin-bottom: 72px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 16px;
  color: var(--charcoal-mid);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* === FOOTER === */
.footer {
  background: var(--charcoal);
  color: var(--parchment);
  padding: 64px var(--pad-x) 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  margin-bottom: 48px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 13px;
  color: var(--warm-grey);
  max-width: 280px;
  line-height: 1.6;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-head {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-grey);
  font-weight: 500;
  margin-bottom: 4px;
}

.footer-col a,
.footer-col span {
  font-size: 14px;
  color: rgba(249, 246, 240, 0.7);
  cursor: pointer;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--parchment);
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(249, 246, 240, 0.08);
  font-size: 12px;
  color: var(--warm-grey);
}

/* === BUTTONS === */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--charcoal);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--charcoal-mid);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 20px;
  background: transparent;
  color: var(--charcoal-mid);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: 1px solid rgba(28, 27, 25, 0.15);
  transition: border-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.closing-cta-btn {
  margin-top: 40px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-product-frame {
    max-width: 360px;
    margin: 0 auto;
  }

  .hero-headline {
    font-size: 52px;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-divider {
    width: 40px;
    height: 1px;
    margin: 0;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: 42px;
  }

  .footer-links {
    gap: 32px;
  }
}