:root {
  --ink: #17211b;
  --muted: #5f6c64;
  --cream: #f7f5ee;
  --paper: #fffefa;
  --line: #dce2dc;
  --green: #194d35;
  --green-dark: #103724;
  --lime: #d8f58a;
  --peach: #ffd5ba;
  --shadow: 0 24px 70px rgba(23, 33, 27, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #8bc200;
  outline-offset: 3px;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 33, 27, 0.08);
  background: rgba(255, 254, 250, 0.95);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--green);
  color: var(--lime);
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:not(.button):hover {
  color: var(--green);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
  box-shadow: 0 10px 24px rgba(25, 77, 53, 0.2);
}

.button--small {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.9rem;
}

.button--light {
  border-color: rgba(255, 255, 255, 0.6);
  background: white;
  color: var(--green-dark);
}

.button--light:hover {
  background: var(--lime);
}

.text-link {
  color: var(--green);
  font-weight: 750;
  text-underline-offset: 4px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 110px;
  background:
    radial-gradient(circle at 10% 15%, rgba(216, 245, 138, 0.45), transparent 28%),
    radial-gradient(circle at 92% 75%, rgba(255, 213, 186, 0.48), transparent 30%),
    var(--cream);
}

.hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -100px;
  top: -110px;
  border: 44px solid rgba(25, 77, 53, 0.06);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(54px, 8vw, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7ba400;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-note span {
  color: var(--green);
}

.product-preview {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
}

.phone {
  position: relative;
  z-index: 2;
  padding: 14px;
  border: 1px solid rgba(23, 33, 27, 0.12);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 15px;
  font-size: 0.76rem;
  font-weight: 750;
}

.online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.online::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #70a60b;
}

.chat {
  min-height: 430px;
  padding: 22px 18px;
  border-radius: 24px;
  background: #f2f4ef;
}

.chat-title {
  margin-bottom: 22px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.bubble {
  width: fit-content;
  max-width: 88%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  background: white;
  box-shadow: 0 5px 16px rgba(23, 33, 27, 0.05);
  font-size: 0.88rem;
  line-height: 1.45;
}

.bubble--user {
  margin-left: auto;
  border-radius: 16px 16px 4px 16px;
  background: var(--green);
  color: white;
}

.recommendations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.garment {
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  padding: 9px;
  border-radius: 13px;
  background: linear-gradient(145deg, #e3bc9d, #fae9dc);
  color: #4a2d1c;
  font-size: 0.66rem;
  font-weight: 750;
}

.garment:nth-child(2) {
  background: linear-gradient(145deg, #829985, #d8e2d6);
  color: #193221;
}

.garment:nth-child(3) {
  background: linear-gradient(145deg, #a8a3ad, #ebe7ee);
  color: #302a36;
}

.floating-card {
  position: absolute;
  z-index: 3;
  right: -45px;
  bottom: 42px;
  width: 175px;
  padding: 15px;
  border: 1px solid rgba(23, 33, 27, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(23, 33, 27, 0.14);
  font-size: 0.78rem;
}

.floating-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
}

.section {
  padding: 105px 0;
}

.section--soft {
  background: var(--cream);
}

.section-heading {
  max-width: 710px;
  margin-bottom: 48px;
}

.section-heading p:last-child,
.split-copy > p,
.feature-card p,
.step p {
  color: var(--muted);
}

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

.feature-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  border-radius: 17px;
  background: var(--lime);
  color: var(--green-dark);
  font-size: 1.45rem;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--peach);
}

.feature-card:nth-child(3) .feature-icon {
  background: #d9dfef;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
}

.benefit-panel {
  padding: 40px;
  border-radius: 30px;
  background: var(--green);
  color: white;
  box-shadow: var(--shadow);
}

.benefit-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.benefit-row:first-child {
  padding-top: 0;
}

.benefit-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.benefit-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--green-dark);
  font-weight: 850;
}

.benefit-row strong {
  display: block;
  margin-bottom: 4px;
}

.benefit-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.cta {
  padding: 0 0 105px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(42px, 7vw, 76px);
  border-radius: 32px;
  background: var(--green);
  color: white;
}

.cta-panel::after {
  content: "✦";
  position: absolute;
  right: 6%;
  bottom: -50px;
  color: rgba(216, 245, 138, 0.12);
  font-size: 11rem;
  line-height: 1;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.site-footer {
  padding: 55px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr;
  gap: 45px;
  padding-bottom: 45px;
}

.footer-intro p {
  max-width: 410px;
  color: var(--muted);
}

.footer-links strong {
  display: block;
  margin-bottom: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.legal-hero {
  padding: 80px 0 70px;
  background: var(--cream);
  text-align: center;
}

.legal-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.legal-hero p:last-child {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 720px);
  justify-content: center;
  gap: 70px;
  padding: 70px 0 105px;
}

.legal-nav {
  align-self: start;
  position: sticky;
  top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}

.legal-nav strong,
.legal-nav a {
  display: block;
}

.legal-nav strong {
  margin-bottom: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-nav a {
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-nav a:hover {
  color: var(--green);
}

.legal-content h2 {
  margin-top: 58px;
  font-size: 2rem;
  scroll-margin-top: 30px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: 30px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.legal-content p,
.legal-content li {
  color: #445048;
}

.legal-content li + li {
  margin-top: 9px;
}

.notice {
  margin-bottom: 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  border-radius: 4px 14px 14px 4px;
  background: #edf3ed;
  color: #304538;
}

.contact-card {
  max-width: 760px;
  margin: 70px auto 105px;
  padding: clamp(32px, 7vw, 64px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--cream);
  text-align: center;
}

.contact-card p {
  color: var(--muted);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 34px 0;
  text-align: left;
}

.contact-detail {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.contact-detail strong,
.contact-detail span {
  display: block;
}

.contact-detail span {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.error-page {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  padding: 60px 20px;
  background: var(--cream);
  text-align: center;
}

.error-page h1 {
  margin-bottom: 18px;
  font-size: clamp(4rem, 14vw, 9rem);
}

.error-page p {
  max-width: 480px;
  margin: 0 auto 28px;
  color: var(--muted);
}

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

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p:not(.eyebrow),
  .hero-note,
  .hero-actions {
    justify-content: center;
    margin-inline: auto;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-icon {
    margin-bottom: 32px;
  }

  .legal-layout {
    grid-template-columns: minmax(0, 720px);
  }

  .legal-nav {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    padding: 70px 0 85px;
  }

  .hero-grid {
    gap: 54px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
  }

  .floating-card {
    right: -3px;
  }

  .section {
    padding: 78px 0;
  }

  .benefit-panel {
    padding: 28px;
  }

  .cta {
    padding-bottom: 78px;
  }

  .cta-panel {
    display: block;
    text-align: center;
  }

  .cta-panel .button {
    margin-top: 30px;
  }

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

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    display: block;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
