/* Casso Websites — shared site styles */
:root {
  --ink: #111111;
  --muted: #5b5f63;
  --soft: #f6f3ed;
  --paper: #ffffff;
  --line: #d8d1c4;
  --teal: #0f766e;
  --teal-dark: #0a4f49;
  --gold: #c8a85a;
  --wash: #ece6da;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--soft);
  color: var(--ink);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 10px 12px;
}
.skip-link:focus { top: 16px; }

.announce {
  background: var(--ink);
  color: white;
  border-bottom: 2px solid var(--teal);
}
.announce-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.announce a { color: #cfeeea; text-decoration: underline; text-underline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 243, 237, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-weight: 800;
  letter-spacing: -0.035em;
  font-size: 24px;
  white-space: nowrap;
}
.brand small {
  display: block;
  margin-top: -3px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #2a2a2a;
  font-size: 14px;
  font-weight: 700;
}
.nav-links a:not(.btn) { border-bottom: 2px solid transparent; }
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { border-bottom-color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--teal); border-color: var(--teal); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--ink); color: white; border-color: var(--ink); }
.btn.light { background: white; color: var(--ink); border-color: white; }
.btn.light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

main { overflow: hidden; }
.container,
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section { padding-top: 84px; padding-bottom: 84px; }
.section.compact { padding-top: 52px; padding-bottom: 52px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal);
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.045em; line-height: 1.02; }
h1 { max-width: 920px; margin-bottom: 20px; font-size: clamp(3rem, 8vw, 6.9rem); }
h2 { margin-bottom: 16px; font-size: clamp(2.1rem, 4.8vw, 4.1rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.kicker { color: var(--muted); font-weight: 650; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 78px 20px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .72fr);
  gap: 44px;
  align-items: center;
}
.hero-actions,
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.product-frame {
  position: relative;
  min-height: 560px;
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 18px 18px 0 var(--wash);
}
.product-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(17,17,17,.08), rgba(17,17,17,.28)),
    url("https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixlib=rb-4.1.0&q=80&w=1080") center / cover no-repeat;
  filter: saturate(.78) contrast(1.05);
}
.product-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px;
  background: rgba(255,255,255,.94);
  border: 2px solid var(--ink);
}
.product-card ol { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.product-card li { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 14px; }
.product-card li strong { color: var(--ink); }

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffaf0;
}
.logo-strip .container {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 36px;
  align-items: start;
}
.split.reverse { grid-template-columns: 1.14fr .86fr; }
.section-intro { max-width: 460px; position: sticky; top: 116px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
  min-height: 190px;
}
.card strong.num,
.step-number {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.card p, .step p, .faq-item p, .price-card p, .feature-row p { color: var(--muted); }

.feature-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row h3 { font-size: 1.15rem; letter-spacing: -.025em; }

.dark-band {
  margin: 0;
  background: var(--ink);
  color: white;
}
.dark-band .section { padding-top: 76px; padding-bottom: 76px; }
.dark-band p { color: #d2d2d2; }
.dark-band .card { background: #181818; border-color: #333333; }
.dark-band .eyebrow { color: #b7e8e2; }
.dark-band .eyebrow::before { background: #b7e8e2; }

.steps { counter-reset: steps; display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.step-number {
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  margin: 0;
}

.image-panel {
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 14px 14px 0 var(--wash);
  overflow: hidden;
}
.image-panel img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; filter: saturate(.85); }

.price-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.price-card.featured { background: #fffaf0; box-shadow: 14px 14px 0 var(--wash); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 18px; }
.price strong { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -.06em; }
.price span { color: var(--muted); font-weight: 700; }
.clean-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.clean-list li { position: relative; padding-left: 28px; color: #2f3336; }
.clean-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.price-card .btn { margin-top: auto; align-self: flex-start; }

.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 24px;
}
.faq-item h2, .faq-item h3 { font-size: 1.32rem; letter-spacing: -.03em; }

.cta-panel {
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(15,118,110,.12), rgba(255,255,255,0) 42%),
    repeating-linear-gradient(90deg, rgba(17,17,17,.055), rgba(17,17,17,.055) 1px, transparent 1px, transparent 42px),
    #ffffff;
  padding: clamp(28px, 5vw, 52px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}
.cta-panel h2 { max-width: 760px; margin-bottom: 10px; }
.cta-panel p { max-width: 760px; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffaf0;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner strong { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 750; color: var(--ink); }
.footer-links a { border-bottom: 2px solid transparent; }
.footer-links a:hover { border-bottom-color: var(--teal); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

@media (max-width: 960px) {
  .nav { align-items: flex-start; flex-direction: column; }
  .nav-links { justify-content: flex-start; flex-wrap: wrap; }
  .hero, .split, .split.reverse, .cta-panel { grid-template-columns: 1fr; }
  .product-frame { min-height: 440px; }
  .section-intro { position: static; max-width: 760px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .section { padding-top: 58px; padding-bottom: 58px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-row, .step { grid-template-columns: 1fr; }
  .product-frame { min-height: 400px; box-shadow: 10px 10px 0 var(--wash); }
  .product-card { left: 14px; right: 14px; bottom: 14px; }
  .cta-panel { padding: 26px; }
  .announce-inner { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
