/* Sabai Sites – Lagoon theme, Bricolage Grotesque + Inter */
:root {
  --bg: #F4F7F5;
  --surface: #FFFFFF;
  --ink: #10262B;
  --muted: #4A5F63;
  --primary: #0E4F5C;
  --primary-dark: #0A3B45;
  --accent: #5CBFA9;
  --accent-text: #1F7F6C;
  --soft: #DCEFEA;
  --line: #D5E0DC;
  --head: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 24px;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--primary); }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; background: var(--soft); color: var(--ink);
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.section-title { font-size: clamp(32px, 5vw, 44px); font-weight: 800; }
.section-intro { color: var(--muted); font-size: 18px; max-width: 600px; margin: 12px auto 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 17px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-family: var(--body); transition: background .15s, transform .15s;
  min-height: 48px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); }
.btn-small { padding: 10px 20px; font-size: 15px; min-height: 44px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(244, 247, 245, .92); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--primary); text-decoration: underline; }
.nav .btn { color: #fff; }

/* Hero */
.hero { padding: 72px 0 0; text-align: center; }
.hero h1 { font-size: clamp(44px, 8vw, 80px); font-weight: 800; letter-spacing: -0.03em; margin: 24px 0; }
.hero h1 span { color: var(--primary); }
.hero-lead { font-size: 20px; color: var(--muted); max-width: 660px; margin: 0 auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Browser mockup */
.mockup-wrap { max-width: 1100px; margin: 0 auto; padding: 56px 24px 96px; }
.browser { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(14, 79, 92, .16); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.dot:first-child { background: var(--accent); }
.url { margin-left: 16px; flex: 1; max-width: 360px; background: var(--bg); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--muted); }
.demo { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 380px; }
.demo-copy { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; text-align: left; }
.demo-tag { font-size: 13px; font-weight: 600; color: var(--accent-text); text-transform: uppercase; letter-spacing: .08em; }
.demo-copy h3 { font-size: 34px; }
.demo-copy p { color: var(--muted); }
.demo-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-btns span { background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.demo-btns span + span { background: var(--soft); color: var(--ink); }
.demo-art { background: var(--soft); display: flex; align-items: center; justify-content: center; padding: 32px; }
.demo-card { background: var(--surface); border-radius: 18px; padding: 20px 22px; box-shadow: 0 12px 30px rgba(0,0,0,.08); width: 100%; max-width: 300px; display: grid; gap: 12px; font-size: 14px; }
.demo-card b { font-family: var(--head); font-size: 17px; }
.check { display: flex; align-items: center; gap: 10px; }
.check svg { flex: none; }
.mockup-caption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Steps */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 24px; font-weight: 800; }
.card h3 { font-size: 23px; }
.card p { color: var(--muted); }

/* Pricing */
.price-card { border: 1px solid var(--line); background: var(--bg); position: relative; }
.price-card.featured { background: var(--primary); color: #fff; border-color: var(--primary); }
.price-card.featured p, .price-card.featured li { color: rgba(255,255,255,.88); }
.badge { position: absolute; top: -14px; left: 32px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.price { font-family: var(--head); font-size: 44px; font-weight: 800; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; font-family: var(--body); }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%2310262B' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.price-card .btn { margin-top: auto; }
.price-card.featured .btn { background: #fff; color: var(--primary); }

.zero-down { margin-top: 28px; background: var(--soft); border-radius: var(--radius); padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.zero-down h3 { font-size: 26px; }
.zero-down p { color: var(--muted); margin-top: 6px; }

.care-title { margin-top: 72px; font-size: 30px; font-weight: 800; text-align: center; }
.care-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 28px; }
.care-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); }
.care-card.featured { border: 2px solid var(--primary); }
.care-card h3 { font-size: 21px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill { font-family: var(--body); font-size: 12px; font-weight: 700; background: var(--soft); color: var(--primary); padding: 3px 10px; border-radius: 999px; letter-spacing: 0; }
.care-card .price { font-size: 34px; }
.extras { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: center; color: var(--muted); font-size: 15px; }
.extras b { color: var(--ink); }

/* Who */
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.who-card { background: var(--soft); border-radius: var(--radius); padding: 36px; display: grid; gap: 12px; }
.who-card h3 { font-size: 26px; }
.who-card p { color: var(--muted); }

/* FAQ */
.faq { margin-top: 36px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 4px 24px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--head); font-weight: 700; font-size: 19px; padding: 18px 32px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 26px; color: var(--primary); font-family: var(--body); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* Form */
.check-section { background: var(--primary); color: #fff; }
.check-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.check-copy h2 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.check-copy p { color: rgba(255,255,255,.88); font-size: 18px; margin-top: 16px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: center; }
.contact-line { margin-top: 28px; font-size: 15px; color: rgba(255,255,255,.88); }
.contact-line a { color: #fff; }
.form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); width: 100%; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--soft); }
.form .btn { width: 100%; }
.form-small { font-size: 13px; color: var(--muted); text-align: center; }
.hidden { display: none; }

/* Footer */
.site-footer { padding: 48px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer-inner img { height: 34px; width: auto; }
.site-footer a { color: var(--muted); }

/* Simple pages */
.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.page h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 800; margin-bottom: 20px; }
.page h2 { font-size: 24px; margin: 36px 0 10px; }
.page p, .page li { color: var(--muted); margin-bottom: 12px; }

/* Phones */
@media (max-width: 860px) {
  .nav a:not(.btn) { display: none; }
  .demo { grid-template-columns: 1fr; }
  .demo-copy { padding: 32px 24px; }
  .demo-art { padding: 24px; }
  .check-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .brand img { height: 34px; }
  .hero { padding-top: 48px; }
  .hero-lead { font-size: 18px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; }
  .form { padding: 24px; }
  .zero-down .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* fixes */
.card .price, .care-card .price { color: var(--ink); }
.price-card.featured .price { color: #fff; }
.nav .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .nav .btn { font-size: 14px; padding: 9px 14px; }
}
