/* Arkrooms marketing site (#116). Colors from the logo (docs/design/arkrooms/v2): ink, teal, gold, cream. */
@font-face { font-family: "Nunito"; src: url("fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Quicksand"; src: url("fonts/quicksand-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #17304f; --teal: #1f7a86; --teal-dark: #155e68; --teal-soft: #e3f1f1; --gold: #ffc845;
  --cream: #fbf7f0; --paper: #ffffff; --muted: #55657c; --line: #e4e0d6;
  --radius: 22px; --shadow: 0 18px 50px -20px rgba(23, 48, 79, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", system-ui, sans-serif; color: var(--ink); background: var(--cream); line-height: 1.55; font-size: 18px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-family: "Quicksand", "Nunito", sans-serif; font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow-wrap { max-width: 760px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 800; color: var(--teal); margin-bottom: 0.8em; }
.accent { color: var(--teal); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--teal); color: #fff; font-weight: 800; text-decoration: none; border: 2px solid var(--teal);
  transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--teal-soft); }
.btn.light { background: #fff; color: var(--teal); border-color: #fff; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn.ghost-light:hover { background: rgba(255, 255, 255, 0.12); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.ctas.center { justify-content: center; }
.fine { font-size: 0.9rem; color: var(--muted); }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 40px; width: auto; }
.bar nav { display: flex; gap: 22px; margin-left: auto; }
.bar nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.bar nav a:hover { color: var(--teal); }

/* Hero */
.hero { padding: 72px 0 96px; background: radial-gradient(1100px 500px at 85% 10%, #dff0ee 0%, transparent 60%), var(--cream); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.lede { font-size: 1.2rem; color: #2f4565; max-width: 34em; }
.hero-art { position: relative; min-height: 460px; }
.browser { margin: 0; background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.browser .dots { display: flex; gap: 6px; padding: 10px 14px; background: #f3f1ec; border-bottom: 1px solid var(--line); }
.browser .dots i { width: 10px; height: 10px; border-radius: 50%; background: #d8d3c8; }
.phone { position: absolute; right: -10px; bottom: -40px; width: 34%; margin: 0; padding: 8px; background: var(--ink);
  border-radius: 34px; box-shadow: var(--shadow); }
.phone img { border-radius: 27px; aspect-ratio: 390 / 600; object-fit: cover; object-position: top; }

/* Cards */
.pains { padding: 88px 0; background: #fff; }
.cards { display: grid; gap: 20px; margin-top: 36px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards article { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.cards article p { color: var(--muted); margin: 0; font-size: 1rem; }
.pains .cards article { border-top: 5px solid var(--gold); }

/* How it works */
.how { padding: 96px 0; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line); }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }
.n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  font-weight: 900; margin-bottom: 14px; }

/* Feature rows */
.feature { padding: 96px 0; background: #fff; }
.feature.alt { background: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.feature p { color: #2f4565; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; }
.checks li { position: relative; padding-left: 34px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231f7a86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.shot { margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.shot.map { max-width: 520px; justify-self: center; }
.stack { display: grid; gap: 20px; justify-items: center; }
.shot.narrow { max-width: 460px; width: 100%; }

/* Comparison */
.compare { padding: 96px 0; background: var(--ink); color: #fff; }
.compare h2 { color: #fff; }
.table-wrap { overflow-x: auto; margin-top: 36px; }
table { width: 100%; border-collapse: collapse; background: rgba(255, 255, 255, 0.04); border-radius: var(--radius); overflow: hidden; }
th, td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 1rem; }
thead th { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #a9bfd6; }
tbody th { font-weight: 800; }
td:nth-child(2) { color: #a9bfd6; }
td:nth-child(3) { color: #fff; font-weight: 700; }
td:nth-child(3)::before { content: "✓ "; color: var(--gold); }
tr:last-child th, tr:last-child td { border-bottom: none; }

/* Trust, FAQ, final */
.trust { padding: 72px 0; background: var(--cream); }
.trust .cards { margin-top: 0; }
.trust .cards article { background: #fff; }
.faq { padding: 88px 0; background: #fff; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--teal); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }
.final { padding: 96px 0; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; }
.final h2 { color: #fff; }
footer { padding: 40px 0; background: #fff; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.foot img { height: 34px; width: auto; margin-bottom: 12px; }
.foot p { margin: 4px 0; }
.tm { font-size: 0.82rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Smaller screens */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-art { min-height: 0; margin-bottom: 40px; }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .steps, .cards.three { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .bar nav { display: none; }
  .bar .btn { margin-left: auto; }
  .hero { padding: 40px 0 64px; }
  .cards.four { grid-template-columns: 1fr; }
  .phone { width: 40%; right: 0; bottom: -30px; padding: 5px; border-radius: 22px; }
  .phone img { border-radius: 18px; }
  .pains, .how, .feature, .compare, .faq, .final { padding: 64px 0; }
  th, td { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
