/* Local Sites by Shai — site styles
   Mobile-first. Navy for headings, header and footer; warm white background;
   amber only for main buttons (always with navy text: 7.7:1 contrast). */

:root {
  --navy: #13233A;
  --navy-2: #1E3556;
  --navy-deep: #0E1A2B;
  --bg: #FAFAF7;
  --alt: #EEF1F5;
  --white: #FFFFFF;
  --amber: #F2A541;
  --amber-hover: #E8962C;
  --text: #2A3647;
  --muted: #4D5B6E;
  --line: #D9DEE6;
  --on-navy: #FAFAF7;
  --on-navy-muted: #C6D0DE;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1100px;
  --r: 12px;
  --section: clamp(64px, 10vw, 112px);
  --shadow: 0 1px 2px rgba(19, 35, 58, .06), 0 8px 24px -12px rgba(19, 35, 58, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.5rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
/* skip-link target: focus moves here, but it is not a control, so no ring */
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right)); }
.narrow { max-width: calc(760px + 40px); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--navy); color: var(--on-navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; outline-color: var(--on-navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 24px; border-radius: 10px;
  font: 700 1rem/1.2 var(--font); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { min-height: 44px; padding: 9px 16px; font-size: .95rem; gap: 8px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-hover); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--on-navy); }
.btn-on-dark { background: transparent; color: var(--on-navy); border-color: rgba(250, 250, 247, .7); }
.btn-on-dark:hover { background: rgba(250, 250, 247, .1); border-color: var(--on-navy); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-navy); }
.header-inner { display: flex; align-items: center; gap: 12px 16px; min-height: 64px; padding-block: 8px; }
.header-inner .btn { flex: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; margin-right: auto; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.2; }
.brand-by { font-weight: 500; color: var(--on-navy-muted); white-space: nowrap; }
.site-header :focus-visible { outline-color: var(--on-navy); }
.nav { display: none; gap: 28px; }
.nav a { color: var(--on-navy-muted); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 0; }
.nav a:hover { color: var(--on-navy); text-decoration: underline; text-underline-offset: 6px; }
@media (min-width: 960px) { .nav { display: flex; } .header-inner { gap: 36px; } }
@media (max-width: 520px) {
  .sm-hide { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 359px) {
  .wrap { padding-inline: 16px; }
  .brand-mark { display: none; }
  .brand-name { font-size: 1rem; }
  .btn-sm { padding-inline: 12px; }
}

/* ---------- Shared section bits ---------- */
.section { padding-block: var(--section); }
.alt { background: var(--alt); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--muted); margin-bottom: .75em; }
.intro { font-size: 1.125rem; max-width: 62ch; color: var(--muted); margin-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { margin-top: .25em; padding: 3px; width: 1.35em; height: 1.35em; border-radius: 50%; background: var(--navy); color: var(--on-navy); stroke-width: 3; }
.two-col { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(64px, 9vw, 104px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { max-width: 18ch; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); max-width: 46ch; color: var(--text); }
.hero-facts { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; color: var(--navy); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { padding: 3px; width: 1.35em; height: 1.35em; border-radius: 50%; background: var(--navy); color: var(--on-navy); stroke-width: 3; }
.note { font-size: .95rem; color: var(--muted); margin-top: 16px; }

/* ---------- Device frames (drawn in CSS, screenshots inside) ---------- */
.devices { position: relative; margin: 0; padding: 0 8% 6% 5%; }
.laptop-screen {
  background: var(--navy-deep); border-radius: 14px 14px 0 0; padding: 2.4% 2.4% 3%;
  box-shadow: 0 30px 60px -30px rgba(19, 35, 58, .55);
}
.laptop-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 3px; background: var(--line); }
.laptop-base {
  position: relative; height: 0; padding-bottom: 3%; margin: 0 -5.5%;
  background: linear-gradient(#E3E8EE, #AEB9C7); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.laptop-base::before { content: ""; position: absolute; left: 41%; right: 41%; top: 0; height: 40%; background: #9AA7B7; border-radius: 0 0 8px 8px; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 25%;
  background: var(--navy-deep); border-radius: 15% / 7%; padding: 1.1%;
  box-shadow: 0 24px 40px -18px rgba(19, 35, 58, .6), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.phone-screen { border-radius: 12% / 5.6%; overflow: hidden; aspect-ratio: 390 / 844; background: var(--line); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-figure { margin: 0; }
.hero-figure figcaption { margin-top: 14px; padding-left: 5%; font-size: .85rem; color: var(--muted); }

/* ---------- Problems ---------- */
.tiles { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.tile h3 { margin-top: 14px; }
.tile p { color: var(--muted); margin: 0; }
.tile-icon { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--alt); flex: none; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile .tile-icon { background: var(--alt); }

/* ---------- What you get ---------- */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.panel-head h3 { margin: 0; font-size: 1.3rem; }
.panel-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.callout { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 20px 22px; border-radius: var(--r); background: var(--alt); color: var(--text); max-width: 860px; }
.callout .icon { width: 1.6em; height: 1.6em; color: var(--navy); margin-top: 1px; }
.callout strong { color: var(--navy); }

/* ---------- Demos ---------- */
.demo-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.devices-card { background: linear-gradient(160deg, #E4E9F0, #F5F7FA); padding: 8% 12% 8% 9%; }
.devices-card .phone { right: 5%; bottom: 7%; width: 23%; }
.demo-body { padding: 24px clamp(24px, 4vw, 32px) 32px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.demo-body h3 { font-size: 1.35rem; }
.demo-body p { color: var(--muted); }
.demo-body .btn { margin-top: auto; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--navy) !important; background: var(--alt); border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; }

/* ---------- Prices ---------- */
.prices { display: grid; gap: 24px; margin-top: 40px; align-items: start; }
@media (min-width: 860px) { .prices { grid-template-columns: 1.25fr 1fr; gap: 28px; } }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.price-main { border: 2px solid var(--navy); }
.price-card h3 { font-size: 1.3rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 8px 0 24px; }
.amount { font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.amount-sm { font-size: 1.6rem; letter-spacing: -0.02em; }
.unit { color: var(--muted); font-weight: 600; }
.price-card .checklist { margin-bottom: 28px; }
.price-card > p:not(.price) { color: var(--muted); margin-bottom: 28px; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--navy); color: var(--on-navy); font-weight: 800;
}
.steps p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about { display: grid; gap: 28px; align-items: start; }
@media (min-width: 760px) { .about { grid-template-columns: auto 1fr; gap: 48px; } }
.about p { max-width: 60ch; }
.avatar {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--on-navy); font-size: 3rem; font-weight: 800; letter-spacing: -0.03em;
}

/* ---------- FAQ ---------- */
.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 14px 20px; font-weight: 700; color: var(--navy); border-radius: var(--r);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--alt); font-size: 1.25rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "−"; content: "−" / ""; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Contact CTA ---------- */
.cta-panel { background: var(--navy); color: var(--on-navy-muted); border-radius: 20px; padding: clamp(32px, 6vw, 64px); text-align: center; }
.cta-panel h2 { color: var(--on-navy); max-width: 22ch; margin-inline: auto; }
.cta-panel p { max-width: 52ch; margin-inline: auto; font-size: 1.1rem; }
.cta-panel .actions { justify-content: center; }
@media (max-width: 520px) { .cta-panel .btn { width: 100%; } }
.cta-panel :focus-visible { outline-color: var(--on-navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-top: 56px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.footer-brand { color: var(--on-navy); font-weight: 800; font-size: 1.15rem; margin-bottom: .4em; }
.footer-h { color: var(--on-navy); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--on-navy); display: inline-block; padding: 4px 0; }
.site-footer :focus-visible { outline-color: var(--on-navy); }
.footer-base { margin-top: 40px; border-top: 1px solid rgba(250, 250, 247, .14); padding-block: 20px; }
.footer-base p { margin: 0; font-size: .85rem; }

/* ---------- Legal page ---------- */
.legal { padding-block: clamp(48px, 8vw, 88px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* long email addresses must wrap at narrow widths and with larger text spacing (WCAG 1.4.10 / 1.4.12) */
a[href^="mailto:"] { overflow-wrap: anywhere; }
