/* Larsen Commerce – V5 "bento ink". Bone white, black type, signal orange, bento grid. */

:root {
  --bone: #f6f5f1;
  --ink: #121212;
  --muted: #62605a;
  --line: #e3e0d8;
  --accent: #ff4d24;
  --accent-soft: rgba(255, 77, 36, 0.08);
  --radius: 20px;
  --shadow: 0 16px 44px rgba(18, 18, 18, 0.1);
  --shadow-soft: 0 4px 16px rgba(18, 18, 18, 0.05);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 0.4em;
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 0.4em; }

p { margin: 0 0 1em; }

a { color: var(--ink); }

.dot-accent { color: var(--accent); }

.accent-underline {
  position: relative;
  white-space: nowrap;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.13em;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: left;
  animation: draw-line 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) 0.5s both;
}

@keyframes draw-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .accent-underline::after { animation: none; }
  .tile::after { display: none; }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 241, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}

.wordmark {
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.site-nav { display: flex; gap: 24px; }

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--ink); }

/* Buttons */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ink { background: var(--ink); color: #fff; }

.btn-ink:hover { background: #2c2c2c; transform: translateY(-1px); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 77, 36, 0.3);
}

.btn-accent:hover {
  background: #e63e17;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(255, 77, 36, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-small { padding: 9px 20px; font-size: 0.88rem; }

.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */

.hero {
  padding: 112px 0 96px;
  background-image: radial-gradient(rgba(18, 18, 18, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

.lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: 1em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Demo note */

.demo-note { padding: 34px 0 0; }

.demo-note p {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 18px 24px;
  box-shadow: var(--shadow-soft);
  color: var(--muted);
  font-size: 0.98rem;
}

.demo-note strong { color: var(--ink); }

/* Sections */

.section { padding: 88px 0; }

.section-intro {
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 42px;
}

/* Bento grid */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* Cursor spotlight (set via --mx/--my from JS, desktop only) */

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.tile:hover::after { opacity: 1; }

.tile p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.tile h3 { margin-top: 0.2em; }

.tile-tall { grid-row: span 2; display: flex; flex-direction: column; }

.tile-wide { grid-column: span 2; display: flex; align-items: center; }

.tile-number {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 6px;
  color: var(--ink);
}

.tile-number .count { color: var(--accent); }

.tile-unit {
  font-size: 1.3rem;
  color: var(--muted);
  font-weight: 700;
}

.tile-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: 100%;
}

.tile-split a { color: var(--accent); font-weight: 700; }

.tile-mark {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1.9rem;
  flex-shrink: 0;
}

/* Phone mockup inside tall tile */

.phone-mock {
  width: 152px;
  margin: 4px auto 22px;
  border: 1.5px solid var(--line);
  border-radius: 26px;
  padding: 10px;
  background: var(--bone);
  box-shadow: var(--shadow-soft);
}

.phone-screen {
  background: #fff;
  border-radius: 18px;
  padding: 14px 12px;
  display: grid;
  gap: 8px;
}

.pm-title { width: 75%; height: 11px; border-radius: 4px; background: var(--ink); }
.pm-text { width: 95%; height: 7px; border-radius: 4px; background: var(--line); }
.pm-text.short { width: 60%; }
.pm-btn { width: 70px; height: 20px; border-radius: 999px; background: var(--accent); margin: 2px 0 4px; }
.pm-card { width: 100%; height: 30px; border-radius: 9px; background: var(--bone); border: 1px solid var(--line); }

/* Stacking process cards */

.stack { display: grid; gap: 16px; }

.stack-card {
  position: sticky;
  top: calc(106px + var(--i) * 16px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 38px;
  min-height: 168px;
  box-shadow: var(--shadow);
}

.stack-card h3 { font-size: 1.35rem; }

.stack-card p { color: var(--muted); margin: 0; max-width: 60ch; }

.stack-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
}

/* Pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

.price-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.price-card.featured h3 { color: #fff; }

.badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 2px 0 18px;
}

.price-card.featured .price { color: var(--accent); }

.price-features {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}

.price-features li {
  padding: 7px 0 7px 26px;
  position: relative;
  color: var(--muted);
  font-size: 0.94rem;
  border-bottom: 1px solid var(--line);
}

.price-card.featured .price-features li {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
}

.price-features li:last-child { border-bottom: 0; }

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.cost-box {
  max-width: 720px;
  margin: 34px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-soft);
}

.cost-box h3 { margin-top: 0; }

.cost-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.cost-box li {
  color: var(--muted);
  font-size: 0.96rem;
  padding-left: 24px;
  position: relative;
}

.cost-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.cost-box strong { color: var(--ink); }

/* FAQ */

.faq {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease;
}

.faq details[open] { border-color: var(--accent); }

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  padding: 17px 0;
  list-style: none;
  position: relative;
  padding-right: 34px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 30px 0 0;
}

.pricing-note a { color: var(--accent); font-weight: 700; }

/* About */

.about-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo {
  display: grid;
  place-items: center;
  width: 184px;
  height: 184px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.about-copy p { color: var(--muted); max-width: 58ch; }

.about-copy a { color: var(--accent); font-weight: 700; }

/* Contact */

.section-contact {
  background: var(--ink);
  color: #fff;
  border-radius: 34px 34px 0 0;
}

.section-contact h2 { color: #fff; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy p { color: rgba(255, 255, 255, 0.72); }

.contact-details {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-details li { display: grid; gap: 2px; }

.contact-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.contact-details a,
.contact-details span:not(.contact-label) {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.03rem;
}

.contact-details a:hover { color: var(--accent); }

.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid;
  gap: 15px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  font-size: 0.96rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bone);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
  background: #fff;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  min-height: 1.2em;
}

.form-status.ok { color: #1d7a3e; }
.form-status.error { color: #c0331b; }

/* Subpages: order form, guides, terms */

.page-head { padding: 76px 0 12px; }

.page-head .lead { margin-bottom: 0; }

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  counter-reset: ostep;
}

.order-steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  counter-increment: ostep;
}

.order-steps li::before {
  content: counter(ostep);
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  margin-right: 8px;
}

.order-form {
  max-width: 780px;
  display: grid;
  gap: 18px;
}

.order-form fieldset {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 28px;
  margin: 0;
  display: grid;
  gap: 15px;
  box-shadow: var(--shadow-soft);
}

.order-form legend {
  font-weight: 800;
  font-size: 1.08rem;
  padding: 0 8px;
}

.order-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.order-form .hint {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.84rem;
}

.order-form input[type="text"],
.order-form input[type="email"],
.order-form textarea {
  font: inherit;
  font-size: 0.96rem;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bone);
  color: var(--ink);
}

.order-form input:focus,
.order-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
  background: #fff;
}

.choice-group { display: grid; gap: 10px; }

.order-form label.choice,
.choice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bone);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.choice:hover { border-color: var(--accent); }

.choice input {
  accent-color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.choice .choice-sub {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Guide pages */

.guide {
  max-width: 760px;
  display: grid;
  gap: 18px;
}

.guide-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
}

.guide-step h3 { margin-top: 0; }

.guide-step p { color: var(--muted); }

.shot-placeholder {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bone);
  margin-top: 14px;
}

.dns-records {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.dns-records code {
  display: block;
  background: var(--ink);
  color: #f6f5f1;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  overflow-x: auto;
}

/* Prose (terms etc.) */

.prose { max-width: 70ch; }

.prose h2 { font-size: 1.25rem; margin-top: 2em; }

.prose p, .prose li { color: var(--muted); }

@media (max-width: 760px) {
  .order-steps { grid-template-columns: 1fr 1fr; }
}

/* Footer */

.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.87rem;
}

.site-footer a { color: rgba(255, 255, 255, 0.8); }

/* Responsive */

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 72px 0 64px; }

  .site-nav { display: none; }

  .bento { grid-template-columns: 1fr; }
  .tile-tall { grid-row: auto; }
  .tile-wide { grid-column: auto; }

  .tile-split { flex-direction: column-reverse; align-items: flex-start; }

  .stack-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 24px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .about-copy p { text-align: left; }
}
