/* Layout: short hub page. Hero = the owner's phone; then one row of business types, one grid of modules with links, contact. System fonts like the live landing. */
:root {
  --bg: #f7f6f2;
  --bg-glass: rgba(247, 246, 242, 0.88);
  --paper: #ffffff;
  --paper-2: #efece4;
  --line: #e5e1d6;
  --line-strong: #cfc9bd;
  --ink: #1f1e1b;
  --ink-2: #57534b;
  --ink-3: #8a867d;
  --forest: #3d5a3a;
  --forest-deep: #2f4a2d;
  --forest-soft: #e5ebde;
  --gold: #c9a54a;
  --bad: #9c3d2e; --bad-soft: #f3dfd9;
  --mid: #8a5f14; --mid-soft: #f3ead3;
  --on-forest: #ffffff;
  --bezel: #1d1f1c;
  --shadow: rgba(40, 36, 28, 0.4);
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111412; --bg-glass: rgba(17, 20, 18, 0.88); --paper: #1b1f1c; --paper-2: #242925; --line: #333a34; --line-strong: #4a524b;
    --ink: #f5f5f1; --ink-2: #b3b0a7; --ink-3: #8e8a81; --forest: #8fbf88; --forest-deep: #24361f; --forest-soft: #1e3320; --gold: #d8b65c;
    --bad: #e8907c; --bad-soft: #3a2420; --mid: #e0b768; --mid-soft: #352c1b; --on-forest: #0f1a0e; --bezel: #2a2e2a; --shadow: rgba(0,0,0,.7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111412; --bg-glass: rgba(17, 20, 18, 0.88); --paper: #1b1f1c; --paper-2: #242925; --line: #333a34; --line-strong: #4a524b;
  --ink: #f5f5f1; --ink-2: #b3b0a7; --ink-3: #8e8a81; --forest: #8fbf88; --forest-deep: #24361f; --forest-soft: #1e3320; --gold: #d8b65c;
  --bad: #e8907c; --bad-soft: #3a2420; --mid: #e0b768; --mid-soft: #352c1b; --on-forest: #0f1a0e; --bezel: #2a2e2a; --shadow: rgba(0,0,0,.7); color-scheme: dark;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 72px; }
.band.alt { background: var(--paper); border-block: 1px solid var(--line); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.015em; }
h1 em { font-style: normal; color: var(--forest); }
h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1.15; }
h3 { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--forest); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.17rem); color: var(--ink-2); max-width: 32em; }
.muted { color: var(--ink-2); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 40em; margin-bottom: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 600 1rem var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background .2s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--forest); color: var(--on-forest); }
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-ghost { border: 1.5px solid var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }

/* Top */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--serif); font-size: 1.4rem; line-height: 1; }
.nav { display: flex; gap: 22px; font-size: 0.92rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--forest); }
.tools { display: flex; align-items: center; gap: 12px; }
.login { font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--forest); }
.top .btn { min-height: 40px; padding: 0 16px; font-size: 0.92rem; border-radius: 10px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-block: 48px 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--ink-2); }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* Owner phone */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.phone { width: min(330px, 100%); aspect-ratio: 9 / 18.5; background: var(--bezel); border-radius: 44px; padding: 12px; box-shadow: 0 40px 70px -40px var(--shadow); position: relative; }
.screen { position: relative; height: 100%; background: var(--bg); border-radius: 33px; overflow: hidden; display: flex; flex-direction: column; }
.notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: var(--bezel); z-index: 2; }
.s-head { padding: 40px 16px 10px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.s-head b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; display: block; line-height: 1.1; }
.s-head small { color: var(--ink-3); font-size: 0.72rem; }
.live { font-size: 0.68rem; font-weight: 700; color: var(--bad); background: var(--bad-soft); padding: 3px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.4s ease-in-out infinite; }
.s-body { flex: 1; padding: 4px 12px 80px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.pane { display: flex; flex-direction: column; gap: 8px; animation: swap .4s cubic-bezier(.2,.8,.2,1); }
.big-card { background: var(--forest); color: var(--on-forest); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.big-card small { opacity: .8; font-size: 0.72rem; }
.big-card .num { font-size: 1.7rem; line-height: 1.1; }
.big-card .up { font-size: 0.74rem; font-weight: 600; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 9px 11px; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tile small { font-size: 0.66rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.tile b { font-family: var(--mono); font-size: 0.98rem; font-weight: 500; }
.tile.warn b { color: var(--bad); }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 6px; }
.bars span { flex: 1; background: var(--forest-soft); border-radius: 3px 3px 0 0; height: var(--h); }
.bars span.now { background: var(--forest); }
.list { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.li { display: flex; justify-content: space-between; gap: 8px; padding: 9px 11px; border-bottom: 1px solid var(--line); font-size: 0.8rem; align-items: center; }
.li:last-child { border-bottom: 0; }
.li small { display: block; color: var(--ink-3); font-size: 0.68rem; }
.li .num { font-size: 0.82rem; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.tabbar { position: absolute; left: 10px; right: 10px; bottom: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 5px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px var(--shadow); }
.tb { border: 0; background: transparent; font: 600 0.66rem var(--sans); color: var(--ink-3); padding: 7px 0; border-radius: 12px; cursor: pointer; position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tb svg { width: 17px; height: 17px; }
.tb[aria-selected="true"] { background: var(--forest-soft); color: var(--forest); }
.tb .red { position: absolute; top: 5px; right: calc(50% - 13px); width: 7px; height: 7px; border-radius: 50%; background: var(--bad); }
.phone-cap { font-size: 0.85rem; color: var(--ink-3); text-align: center; max-width: 26em; }

/* Business types */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.type { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); text-decoration: none; min-width: 0; transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden; }
.type:hover { transform: translateY(-4px); border-color: var(--forest); box-shadow: 0 20px 40px -28px var(--shadow); }
.type-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--forest-soft); color: var(--forest); }
.type p { color: var(--ink-2); font-size: 0.95rem; }
.type .go { margin-top: auto; font-weight: 600; color: var(--forest); display: inline-flex; gap: 6px; align-items: center; }
.type .go::after { content: "→"; transition: transform .2s; }
.type:hover .go::after { transform: translateX(4px); }
.type .new { position: absolute; top: 18px; right: 18px; font-size: 0.68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: #1f1e1b; padding: 3px 8px; border-radius: 6px; }

/* Modules */
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); gap: 1px; }
.mod { background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; min-width: 0; transition: background .2s; }
.mod:hover { background: var(--bg); }
.mod h3 { display: flex; align-items: center; gap: 10px; }
.mod h3 svg { color: var(--forest); flex: none; }
.mod p { color: var(--ink-2); font-size: 0.93rem; }
.mod .go { margin-top: 4px; font-size: 0.88rem; font-weight: 600; color: var(--forest); }

/* Trust strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.strip div { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 2px solid var(--forest); min-width: 0; }
.strip b { font-size: 1rem; }
.strip span { color: var(--ink-2); font-size: 0.9rem; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem var(--mono); color: var(--forest); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 16px; color: var(--ink-2); max-width: 46em; }
.two { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }

/* Contact */
.cta { background: var(--forest); color: var(--on-forest); border-radius: 22px; padding: 44px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { color: var(--on-forest); }
.cta p { opacity: .88; margin-top: 8px; }
.cta .btn-primary { background: var(--on-forest); color: var(--forest); }
.cta .contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta .contact small { opacity: .85; font-family: var(--mono); }
footer { padding-block: 28px 44px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.86rem; color: var(--ink-3); }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--forest); }

@keyframes swap { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .25; } }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 28px 56px; }
  .types, .mods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 620px) {
  .band { padding-block: 52px; }
  .types, .mods { grid-template-columns: minmax(0, 1fr); }
  .type { padding: 20px; display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; }
  .type > :not(.type-ico):not(.new) { grid-column: 2; }
  .type-ico { grid-row: span 3; }
  .mod { padding: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .login { display: none; }
  .cta { padding: 30px 22px; }
  .cta .contact, .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
