:root {
  --graphite: #1b1c1e;
  --ink: #2b2d31;
  --steel: #6b7075;
  --silver: #b8bcc0;
  --mist: #eceef0;
  --paper: #f6f7f8;
  --white: #ffffff;
  --line: #e2e4e7;
  --accent: #3a3d42;
  --radius: 4px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgba(20,22,25,.04), 0 8px 24px rgba(20,22,25,.06);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--steel); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; color: var(--graphite); line-height: 1.12; margin: 0 0 .4em; }
.eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border: 1px solid var(--graphite); background: var(--graphite);
  color: var(--white); border-radius: var(--radius); font: inherit; font-weight: 500;
  cursor: pointer; transition: .18s ease; letter-spacing: .01em;
}
.btn:hover { background: #000; border-color: #000; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--graphite); }
.btn--ghost:hover { background: var(--graphite); color: var(--white); }
.btn--sm { padding: .5em 1.05em; font-size: .85rem; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--display); font-size: 1.35rem; letter-spacing: .02em; color: var(--graphite); }
.brand span { color: var(--silver); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: .92rem; color: var(--ink); position: relative; }
.nav__links a:hover { color: var(--graphite); }
.cart-btn { position: relative; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: .55em .9em; cursor: pointer; font: inherit; }
.cart-btn [data-cart-count] { font-weight: 600; }

/* Hero */
.hero { padding: 96px 0 88px; background:
  radial-gradient(1200px 400px at 70% -10%, var(--mist), transparent 60%),
  linear-gradient(180deg, var(--paper), var(--white)); border-bottom: 1px solid var(--line); }
.hero__inner { max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: .3em; }
.hero p { font-size: 1.18rem; color: var(--steel); max-width: 54ch; margin: 0 0 2em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Section */
.section { padding: 84px 0; }
.section--tint { background: var(--paper); border-block: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

/* Feature cards */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__no { font-family: var(--display); font-size: 1.1rem; color: var(--silver); }
.feature h3 { font-size: 1.12rem; margin: 14px 0 8px; }
.feature p { font-size: .93rem; color: var(--steel); margin: 0; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media { display: block; aspect-ratio: 4/5; background: var(--mist); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--mist), var(--paper)); }
.card__body { padding: 16px 18px 20px; }
.card__cat { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--silver); font-weight: 600; }
.card__title { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 8px 0 14px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; }
.card__price { font-weight: 600; color: var(--graphite); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 22px; border-top: 2px solid var(--graphite); }
.step__no { font-family: var(--display); font-size: 2rem; color: var(--graphite); }
.step h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.step p { font-size: .92rem; color: var(--steel); margin: 0; }

/* Trust / assurances (replaces invented reviews) */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.assure__item { padding: 30px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.assure__item h3 { font-size: 1.15rem; }
.assure__item p { color: var(--steel); font-size: .95rem; margin: 0; }

/* CTA banner */
.cta { background: var(--graphite); color: var(--white); border-radius: var(--radius); padding: 64px 48px; text-align: center; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta p { color: var(--silver); max-width: 46ch; margin: 0 auto 1.8em; }
.cta .btn { background: var(--white); color: var(--graphite); border-color: var(--white); }
.cta .btn:hover { background: var(--mist); border-color: var(--mist); }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 8px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer__grid h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); margin: 0 0 14px; }
.footer__grid a, .footer__grid p { display: block; font-size: .92rem; color: var(--ink); margin-bottom: 8px; }
.footer__brand { font-family: var(--display); font-size: 1.3rem; color: var(--graphite); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: var(--steel); }

/* Cart drawer */
.drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.drawer.open { pointer-events: auto; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(20,22,25,.34); opacity: 0; transition: .25s; }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 92vw); background: var(--white); box-shadow: -12px 0 40px rgba(20,22,25,.14); transform: translateX(100%); transition: .28s ease; display: flex; flex-direction: column; }
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; font-size: 1.2rem; }
.drawer__close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--steel); line-height: 1; }
.drawer__body { padding: 16px 24px; overflow-y: auto; flex: 1; }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 16px; font-size: 1.05rem; }
.drawer__foot .btn { width: 100%; }
.cart-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row__qty { display: inline-flex; align-items: center; gap: 12px; }
.cart-row__qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); cursor: pointer; font-size: 1rem; }
.cart-row__rm { grid-column: 1 / -1; justify-self: start; background: none; border: none; color: var(--steel); font-size: .82rem; cursor: pointer; padding: 0; text-decoration: underline; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--graphite); color: var(--white); padding: .8em 1.4em; border-radius: var(--radius); font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Skeleton */
.skeleton .card { min-height: 340px; }
.skeleton .card__media { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: 2.4rem; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .features, .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .assure { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 560px) {
  .features, .grid, .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 56px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
:focus-visible { outline: 2px solid var(--graphite); outline-offset: 2px; }
