/* SheBytes — soft luxury design system */

:root {
  /* Surfaces */
  --ivory: #F6F1E7;
  --ivory-2: #EFE7D7;
  --paper: #FBF7EF;
  --card: #FFFFFF;

  /* Ink */
  --ink: #14110D;
  --ink-2: #2A241D;
  --ink-soft: #5E5447;
  --ink-mute: #8C8273;

  /* Accent — clay / terracotta */
  --clay: #C8552A;
  --clay-deep: #9E3F1E;
  --clay-soft: #E4B79E;
  --clay-wash: #F2DBC9;

  /* Supporting warm naturals */
  --sand: #E8DCC4;
  --sand-2: #D9C9A8;
  --moss: #6E7A55;
  --rose: #D2A089;

  /* Lines + shadows */
  --line: rgba(20, 17, 13, 0.10);
  --line-strong: rgba(20, 17, 13, 0.22);
  --shadow-soft: 0 1px 2px rgba(20, 17, 13, 0.04), 0 12px 28px -12px rgba(20, 17, 13, 0.18);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.6) inset, 0 1px 2px rgba(20, 17, 13, 0.05), 0 30px 60px -30px rgba(20, 17, 13, 0.25);
  --shadow-lift: 0 40px 90px -40px rgba(20, 17, 13, 0.45), 0 8px 20px -8px rgba(20, 17, 13, 0.15);

  /* Type */
  --sans: "Geist", "Söhne", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Times New Roman", serif;

  /* Radii */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Spacing rhythm */
  --pad-page: clamp(20px, 4vw, 56px);
  --section-y: clamp(72px, 9vw, 140px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--sans);
  background: var(--ivory);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "ss02", "cv11";
  line-height: 1.45;
  font-size: 16px;
  overflow-x: hidden;
}

/* Subtle paper grain over the page */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(rgba(20,17,13,0.025) 1px, transparent 1px),
    radial-gradient(rgba(20,17,13,0.015) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* Layout primitives */
.shell { max-width: 1320px; margin: 0 auto; padding: 0 var(--pad-page); position: relative; z-index: 2; }
.section { padding: var(--section-y) 0; position: relative; }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: var(--clay);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--sans); margin: 0; letter-spacing: -0.02em; font-weight: 500; }
h1 { font-size: clamp(48px, 7.4vw, 108px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 480; }
h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }

p { margin: 0; color: var(--ink-soft); }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 10px 24px -10px rgba(20,17,13,0.55);
}
.btn-primary:hover { background: var(--ink-2); }

.btn-whats {
  background: var(--clay);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 24px -10px rgba(200,85,42,0.6);
}
.btn-whats:hover { background: var(--clay-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(20,17,13,0.04); }

.btn-mini {
  height: 38px;
  padding: 0 14px;
  font-size: 13px;
}

/* Pill tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--clay); }
.tag .dot.green { background: #5d8a4d; }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

/* Section heading block */
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.sec-head h2 { max-width: 14ch; }
.sec-head p { max-width: 44ch; }
@media (max-width: 820px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; }
}

/* Divider rule */
.rule {
  height: 1px;
  background: var(--line);
  margin: 0;
}

/* Helpers */
.mono { font-family: var(--mono); }
.num { font-feature-settings: "tnum"; }

/* Focus rings */
.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* Scrollbar polish */
::selection { background: var(--clay); color: var(--paper); }
