:root {
  --ink: #1f2724;
  --muted: #65625a;
  --line: #d9d0bf;
  --paper: #f4efe5;
  --surface: #fffaf1;
  --teal: #213f3f;
  --teal-dark: #132929;
  --gold: #c5a253;
  --gold-soft: #f5e8bf;
  --blue: #526b63;
  --olive: #5b6037;
  --walnut: #6d442c;
  --plaster: #ebe3d4;
  --danger: #8b3d2b;
  --shadow: 0 18px 54px rgba(31, 39, 36, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

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

.site-header {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(255, 250, 241, 0.9);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 3px;
  color: #fff;
  background: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 3px;
  padding: 10px 16px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: transparent;
  color: var(--teal);
}

.button.gold {
  border-color: #c9a943;
  background: var(--gold);
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 4vw, 58px) clamp(76px, 8vw, 104px);
}

.hero-media,
.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  display: block;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(244, 239, 229, 0.96) 0%, rgba(244, 239, 229, 0.84) 34%, rgba(244, 239, 229, 0.2) 68%, rgba(244, 239, 229, 0.08) 100%),
    linear-gradient(180deg, rgba(31, 39, 36, 0.08), rgba(31, 39, 36, 0.18));
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(220px, 1fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: center;
}

.hero-panel {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6.6vw, 82px);
  font-weight: 500;
  line-height: 0.98;
}

.hero-copy {
  max-width: 650px;
  color: #393d38;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.hero-actions,
.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.micro-proof {
  margin: 16px 0 0;
  color: rgba(31, 39, 36, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #3f443e;
  font-weight: 700;
}

.price-line strong,
.price-line span {
  display: inline-grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(31, 39, 36, 0.22);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 250, 241, 0.68);
  backdrop-filter: blur(8px);
  color: var(--ink);
  font-size: 13px;
}

.price-line strong {
  min-width: 62px;
  background: rgba(255, 250, 241, 0.86);
}

.hero-scroll-note {
  position: absolute;
  z-index: 1;
  left: clamp(18px, 4vw, 58px);
  right: clamp(18px, 4vw, 58px);
  bottom: 22px;
  max-width: 1180px;
  margin: 0 auto;
  color: rgba(31, 39, 36, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.band {
  padding: clamp(36px, 6vw, 76px) clamp(18px, 4vw, 58px);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.band.alt {
  background: #e9ede7;
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-title {
  max-width: 720px;
  margin-bottom: 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.04;
}

.section-lede {
  max-width: 740px;
  margin: -12px 0 26px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

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

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

.proof,
.feature,
.summary-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px;
  background: var(--surface);
}

.proof,
.feature {
  box-shadow: 0 10px 26px rgba(31, 39, 36, 0.05);
}

.proof strong,
.feature strong,
.summary-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.proof p,
.feature p,
.summary-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.trust-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.42;
}

.product-showcase .split {
  align-items: center;
}

.atelier-band {
  background: var(--teal-dark);
  color: #f7efe1;
}

.atelier-band .eyebrow,
.atelier-band .section-title,
.atelier-band p {
  color: inherit;
}

.atelier-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: start;
}

.atelier-copy {
  display: grid;
  gap: 16px;
  color: rgba(247, 239, 225, 0.82);
  font-size: 18px;
  line-height: 1.62;
}

.atelier-copy p {
  margin: 0;
}

.fit-band {
  background:
    linear-gradient(90deg, rgba(255, 250, 241, 0.96), rgba(235, 227, 212, 0.96)),
    var(--surface);
}

.fit-header {
  max-width: 760px;
}

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

.fit-grid > div {
  border-top: 2px solid var(--teal);
  padding-top: 16px;
}

.fit-grid h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3f443e;
  line-height: 1.42;
}

.check-list li {
  position: relative;
  padding-left: 22px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  transform: translateY(-50%);
}

.muted-list {
  color: var(--muted);
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.delivery-steps div {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  background: rgba(255, 250, 241, 0.76);
}

.delivery-steps span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.delivery-steps strong {
  display: block;
  margin-bottom: 5px;
}

.delivery-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
}

.button.is-pending {
  opacity: 0.84;
}

.checkout-note code {
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.5;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.preview-frame {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(180deg, #f7f3ea 0%, #eef4f2 100%);
}

.login-shell {
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.login-intro,
.login-panel {
  padding: 34px;
}

.login-intro {
  background: var(--teal);
  color: #fff;
}

.login-intro p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.login-panel p {
  color: var(--muted);
  line-height: 1.5;
}

label {
  display: block;
  margin: 16px 0 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.app-shell {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(233, 237, 231, 0.86), rgba(244, 239, 229, 0.88)),
    var(--paper);
}

.app-main {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 34px) 56px;
}

.app-main h1 {
  max-width: 840px;
  font-size: clamp(40px, 5vw, 66px);
}

.preview-disclosure,
.preview-buy-bar {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 250, 241, 0.78);
}

.preview-disclosure {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 880px;
  margin: 18px 0 24px;
  padding: 12px 14px;
  color: var(--muted);
  line-height: 1.45;
}

.preview-disclosure strong {
  color: var(--ink);
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(300px, 390px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

.panel-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-header h2 {
  margin: 0;
  font-size: 22px;
}

.panel-body {
  padding: 18px;
}

.input-grid {
  display: grid;
  gap: 12px;
}

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

.metric {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 16px;
  background: #fff;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.metric.gold {
  background: var(--gold-soft);
  border-color: #cdb56b;
}

.workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.copy-box {
  min-height: 188px;
  color: var(--ink);
  line-height: 1.55;
  resize: vertical;
}

.small-button {
  min-height: 34px;
  border: 1px solid var(--teal);
  border-radius: 3px;
  padding: 7px 11px;
  background: transparent;
  color: var(--teal);
  font-weight: 800;
  cursor: pointer;
}

.decision-note {
  margin-top: 14px;
  border: 1px solid #cfb54f;
  border-radius: 4px;
  padding: 12px 14px;
  background: #fff8dc;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.4;
}

.fine-print {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.preview-buy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
}

.preview-buy-bar p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.42;
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 58px);
  background: var(--teal-dark);
  color: #f7efe1;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p {
  margin: 5px 0 0;
  color: rgba(247, 239, 225, 0.72);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-actions a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .app-layout,
  .login-shell,
  .atelier-grid,
  .fit-grid,
  .delivery-steps {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .feature-grid,
  .result-grid,
  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 780px;
  }

  .site-header {
    position: static;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(244, 239, 229, 0.96) 0%, rgba(244, 239, 229, 0.9) 42%, rgba(244, 239, 229, 0.4) 100%),
      linear-gradient(90deg, rgba(31, 39, 36, 0.1), rgba(31, 39, 36, 0.08));
  }
}

@media (max-width: 560px) {
  .nav-actions .secondary {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .login-intro,
  .login-panel {
    padding: 26px;
  }
}
