/* =========================================================
   Loam — marketing site
   Self-contained, no build, no dependencies.
   ========================================================= */

:root {
  /* Earthy dark palette — "loam" = rich dark soil */
  --bg:           #13110F;   /* deep charcoal-brown */
  --bg-elev:      #1B1815;   /* raised surfaces / cards */
  --bg-elev-2:    #211D1A;   /* alt sections */
  --bg-inset:     #100E0C;   /* window bodies, insets */

  --fg:           #F3EEE7;   /* warm off-white */
  --fg-muted:     #B9B0A4;   /* secondary text */
  --fg-dim:       #8A8175;   /* tertiary / fine print */

  --accent:       #E0A458;   /* warm amber-clay — THE accent */
  --accent-strong:#EAB36C;
  --accent-soft:  #C98A3F;
  --accent-ink:   #2A1C0C;   /* text on accent fills */
  --accent-glow:  rgba(224, 164, 88, 0.22);

  --sprout:       #7FB069;   /* living/growth accent */

  --border:       rgba(255, 245, 230, 0.09);
  --border-strong:rgba(255, 245, 230, 0.16);

  --radius-sm: 9px;
  --radius:    14px;
  --radius-lg: 18px;

  --shadow:     0 1px 2px rgba(0,0,0,.4);
  --shadow-lg:  0 24px 60px -18px rgba(0,0,0,.7), 0 4px 14px rgba(0,0,0,.35);
  --shadow-glow:0 0 0 1px var(--border-strong), 0 30px 80px -24px rgba(0,0,0,.85);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Monaco, monospace;

  --maxw: 1180px;
}

/* ---------- reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* soft radial warmth at the top */
  background-image:
    radial-gradient(1100px 520px at 78% -8%, rgba(224,164,88,0.10), transparent 60%),
    radial-gradient(800px 480px at 10% 4%, rgba(127,176,105,0.05), transparent 55%);
  background-repeat: no-repeat;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 600; }

p { margin: 0; }

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

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

::selection { background: var(--accent-glow); color: var(--fg); }

.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem; top: 1rem;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.25rem);
}
.container--narrow { max-width: 760px; }

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section--alt {
  background: var(--bg-elev-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
}
.section__kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
}

/* ---------- buttons ---------- */
.btn {
  --btn-pad-y: 0.7rem;
  --btn-pad-x: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, background-color .18s ease,
              border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.995); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 22px -8px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 12px 30px -8px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: rgba(255,245,230,0.04);
  border-color: var(--accent-soft);
}

.btn--small { --btn-pad-y: 0.5rem; --btn-pad-x: 0.95rem; font-size: 0.875rem; }
.btn--large { --btn-pad-y: 0.85rem; --btn-pad-x: 1.45rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 17, 15, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__name { font-size: 1.12rem; }
.brand__mark { display: block; }

.nav__links {
  display: flex;
  gap: 1.55rem;
  margin-left: auto;
  font-size: 0.92rem;
  color: var(--fg-muted);
}
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--fg); }

.nav .btn--small { margin-left: 0; }
.nav__links + .btn--small { margin-left: 0.25rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 560px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sprout);
  box-shadow: 0 0 0 4px rgba(127,176,105,0.18);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(127,176,105,0.30); }
  50%      { box-shadow: 0 0 0 6px rgba(127,176,105,0.0); }
}

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}
.accent-text {
  color: var(--accent);
  background: linear-gradient(180deg, var(--accent-strong), var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--fg-muted);
  max-width: 36ch;
  margin-bottom: 1.9rem;
}
.hero__sub strong { color: var(--fg); font-weight: 600; }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}
.hero__reassure {
  font-size: 0.85rem;
  color: var(--fg-dim);
}

/* hero media */
.hero__media { margin: 0; }

.trustbar {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  color: var(--fg-dim);
  font-size: 0.9rem;
  font-weight: 500;
}
.trustbar .dot { color: var(--border-strong); }

/* ---------- window frame (mock chrome) ---------- */
.window-frame {
  background: var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.window-frame__bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  height: 38px;
  padding: 0 0.85rem;
  background: linear-gradient(180deg, #221E1A, #1B1815);
  border-bottom: 1px solid var(--border);
}
.traffic { display: inline-flex; gap: 7px; }
.traffic i {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #3a342e;
  display: block;
}
.traffic i:nth-child(1) { background: #E0685B; }
.traffic i:nth-child(2) { background: #E0B14F; }
.traffic i:nth-child(3) { background: #6FBF63; }
.window-frame__title {
  font-size: 0.8rem;
  color: var(--fg-dim);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- placeholders (elegant framed slots) ---------- */
.placeholder {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-inset);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow: hidden;
}
.placeholder__label {
  position: relative;
  z-index: 2;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--fg-muted);
  text-align: center;
  background: rgba(19,17,15,0.55);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.95rem;
  max-width: 90%;
  backdrop-filter: blur(2px);
}

/* subtle texture so empty slots feel intentional, not broken */
.placeholder--feed::before,
.placeholder--problems::before,
.placeholder--diff::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
}
.placeholder--feed::before {
  background:
    repeating-linear-gradient(180deg,
      transparent 0 18px,
      rgba(255,245,230,0.035) 18px 19px,
      transparent 19px 40px);
  mask-image: linear-gradient(90deg, #000 0 62%, transparent 92%);
}
.placeholder--problems::before {
  background:
    radial-gradient(circle at 16% 30%, rgba(224,104,91,0.18), transparent 5%),
    radial-gradient(circle at 16% 55%, rgba(224,177,79,0.16), transparent 5%),
    radial-gradient(circle at 16% 80%, rgba(127,176,105,0.16), transparent 5%);
}
.placeholder--diff::before {
  background:
    repeating-linear-gradient(180deg,
      rgba(111,191,99,0.07) 0 8px, transparent 8px 16px),
    linear-gradient(90deg, rgba(224,104,91,0.06), transparent 50%);
}

/* ---------- generic cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

/* ---------- features ---------- */
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.feature__icon {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(224,164,88,0.10);
  border: 1px solid rgba(224,164,88,0.22);
  margin-bottom: 1.15rem;
}
.feature__title { font-size: 1.3rem; margin-bottom: 0.6rem; }
.feature__body { color: var(--fg-muted); font-size: 0.97rem; }

.features__foot {
  text-align: center;
  color: var(--fg-dim);
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  font-size: 0.98rem;
}
.features__foot { max-width: 56ch; margin-inline: auto; }

/* ---------- steps ---------- */
.steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.5vw, 2rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 0.5rem;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  background: rgba(224,164,88,0.10);
  border: 1px solid rgba(224,164,88,0.30);
  margin-bottom: 1rem;
}
.step__title { font-size: 1.18rem; margin-bottom: 0.5rem; }
.step__body { color: var(--fg-muted); font-size: 0.97rem; }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.shot { margin: 0; }
.shot--wide { grid-column: span 2; }
.shot .placeholder { aspect-ratio: 16 / 9; }
.shot:not(.shot--wide) .placeholder { aspect-ratio: 4 / 3; }

/* ---------- why grid ---------- */
.why {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.why__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--accent);
  background: rgba(224,164,88,0.09);
  margin-bottom: 0.95rem;
}
.why__title { font-size: 1.08rem; margin-bottom: 0.4rem; }
.why__body { color: var(--fg-muted); font-size: 0.92rem; }

/* ---------- pricing ---------- */
.pricing { display: flex; justify-content: center; }
.price-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(224,164,88,0.10), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.price-card__badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(224,164,88,0.12);
  border: 1px solid rgba(224,164,88,0.28);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}
.price-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.price-card__old {
  font-size: 1.7rem;
  color: var(--fg-dim);
  text-decoration: line-through;
  text-decoration-color: var(--accent-soft);
  font-weight: 500;
}
.price-card__arrow { color: var(--accent); font-size: 1.3rem; }
.price-card__now {
  font-size: clamp(3rem, 7vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}
.price-card__cadence {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}
.nowrap { white-space: nowrap; }

.price-card__list {
  list-style: none;
  margin: 0 0 1.7rem;
  padding: 0;
  text-align: left;
  display: grid;
  gap: 0.65rem;
}
.price-card__list li {
  position: relative;
  padding-left: 1.85rem;
  color: var(--fg);
  font-size: 0.95rem;
}
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.18em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(127,176,105,0.16);
  border: 1px solid rgba(127,176,105,0.4);
}
.price-card__list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 0.42em;
  width: 6px; height: 3px;
  border-left: 1.6px solid var(--sprout);
  border-bottom: 1.6px solid var(--sprout);
  transform: rotate(-45deg);
}
.price-card__fine {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--fg-dim);
}

/* ---------- faq ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s ease;
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item:hover { border-color: var(--border-strong); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.3rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--fg);
}
.faq__q::-webkit-details-marker { display: none; }

.faq__chev {
  flex: none;
  width: 12px; height: 12px;
  position: relative;
  transition: transform .22s ease;
}
.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq__chev::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__item[open] .faq__chev::after { opacity: 0; }

.faq__a {
  padding: 0 1.3rem 1.2rem;
  color: var(--fg-muted);
  font-size: 0.96rem;
  max-width: 64ch;
}

/* ---------- final cta ---------- */
.finalcta {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(224,164,88,0.12), transparent 65%);
  border-top: 1px solid var(--border);
}
.finalcta__title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 0.7rem; }
.finalcta__sub { color: var(--fg-muted); font-size: 1.1rem; margin-bottom: 1.8rem; }

/* ---------- footer ---------- */
.footer {
  background: var(--bg-inset);
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer__brand { max-width: 420px; }
.footer__keywords {
  margin-top: 0.9rem;
  color: var(--fg-dim);
  font-size: 0.9rem;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  font-size: 0.92rem;
  color: var(--fg-muted);
}
.footer__links a:hover { color: var(--fg); }

.footer__legal {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  color: var(--fg-dim);
  font-size: 0.85rem;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 640px; }
  .hero__sub { max-width: 48ch; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .grid--3,
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .shot--wide { grid-column: span 1; }
  .shot .placeholder,
  .shot:not(.shot--wide) .placeholder { aspect-ratio: 16 / 10; }
}

@media (max-width: 460px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .btn--large { --btn-pad-x: 1.1rem; }
}
