:root {
  --ink: #09211e;
  --ink-soft: #31524d;
  --paper: #f5f3ec;
  --paper-2: #ebe7da;
  --white: #fffef9;
  --lime: #ccff62;
  --coral: #ff765e;
  --line: rgba(9, 33, 30, .14);
  --shadow: 0 28px 80px rgba(10, 35, 31, .13);
  --radius: 28px;
  --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::selection { background: var(--lime); color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--lime); }
.skip-link:focus { top: 16px; }
.section-shell { width: min(1240px, calc(100% - 56px)); margin-inline: auto; }

.site-header { position: fixed; z-index: 50; top: 14px; left: 50%; width: min(1280px, calc(100% - 28px)); transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 18px; border: 1px solid transparent; border-radius: 19px; transition: background .35s, border-color .35s, box-shadow .35s, top .35s; }
.site-header.is-scrolled { top: 8px; background: rgba(255, 254, 249, .88); border-color: var(--line); box-shadow: 0 14px 44px rgba(9, 33, 30, .09); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; letter-spacing: -.03em; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand span { white-space: nowrap; }
.brand strong { font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.site-nav > a:not(.button) { position: relative; }
.site-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--ink); }
.nav-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: var(--white); transition: .25s; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 55px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-3px); }
.button span { transition: transform .25s; }
.button:hover span { transform: translate(2px, -2px); }
.button-primary { color: var(--ink); background: var(--lime); box-shadow: 0 12px 28px rgba(128, 165, 50, .2); }
.button-primary:hover { box-shadow: 0 18px 35px rgba(128, 165, 50, .3); }
.button-ghost { border-color: var(--line); background: rgba(255,255,255,.2); }
.button-light { color: var(--ink); background: var(--white); }
.button-small { min-height: 42px; padding-inline: 18px; font-size: 13px; }
.button-full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-block: 8px; border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateY(3px); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; }
.eyebrow > span { width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--lime); }

.hero { position: relative; min-height: 780px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 60px; padding-top: 128px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(58px, 6.5vw, 100px); line-height: .92; letter-spacing: -.067em; font-weight: 800; }
.hero h1 em, .section-heading h2 em, .request-intro h2 em { color: var(--coral); font-family: var(--serif); font-weight: 400; }
.hero-lede { max-width: 610px; margin: 30px 0; color: var(--ink-soft); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.hero-trust { display: flex; gap: 8px; margin-top: 34px; }
.hero-trust span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; }
.hero-visual { position: relative; min-height: 560px; }
.browser-card { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.65); border-radius: 24px; box-shadow: var(--shadow); }
.browser-front { z-index: 2; top: 72px; right: 0; width: 87%; height: 420px; background: var(--ink); transform: rotate(2deg); }
.browser-back { top: 12px; left: -2%; width: 74%; height: 360px; background: #d7e9de; transform: rotate(-7deg); }
.browser-bar { height: 45px; display: flex; align-items: center; gap: 6px; padding: 0 15px; background: rgba(255,255,255,.12); }
.browser-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.54); }
.browser-back .browser-bar { background: rgba(9,33,30,.08); }
.browser-back .browser-bar i { background: rgba(9,33,30,.25); }
.browser-bar small { margin-left: auto; color: rgba(255,255,255,.55); font-size: 9px; }
.browser-preview { height: calc(100% - 45px); display: flex; flex-direction: column; justify-content: center; padding: 48px; color: var(--white); background: radial-gradient(circle at 80% 10%, rgba(204,255,98,.2), transparent 32%), linear-gradient(145deg, #0e322d, #071714); }
.browser-preview img { width: 72px; margin-bottom: 30px; filter: drop-shadow(0 12px 20px rgba(0,0,0,.2)); }
.browser-preview p { margin: 0; font-family: var(--serif); font-size: 44px; line-height: 1.05; letter-spacing: -.04em; }
.browser-preview p strong { color: var(--lime); font-weight: 400; }
.browser-preview div { display: flex; gap: 8px; margin-top: 34px; }
.browser-preview div span { width: 75px; height: 8px; border-radius: 10px; background: rgba(255,255,255,.13); }
.browser-preview div span:first-child { width: 130px; background: var(--coral); }
.browser-lines { padding: 75px 38px; }
.browser-lines b { display: block; width: 65%; height: 58px; margin-bottom: 24px; border-radius: 8px; background: var(--ink); }
.browser-lines span { display: block; width: 85%; height: 11px; margin: 12px 0; border-radius: 4px; background: rgba(9,33,30,.18); }
.browser-lines span:last-child { width: 58%; }
.local-stamp { position: absolute; z-index: 4; right: -2px; bottom: 24px; width: 125px; height: 125px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 50%; color: var(--ink); background: var(--coral); transform: rotate(8deg); box-shadow: 0 15px 35px rgba(255,118,94,.24); }
.local-stamp strong { font-size: 38px; letter-spacing: -.08em; }
.local-stamp span { text-transform: uppercase; font-size: 9px; font-weight: 900; line-height: 1.1; letter-spacing: .08em; }
.hero-orbit { position: absolute; border: 1px solid rgba(9,33,30,.08); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 620px; height: 620px; right: -250px; top: 30px; }
.hero-orbit-two { width: 410px; height: 410px; right: -140px; top: 135px; }

.ticker { overflow: hidden; padding: 19px 0; color: var(--white); background: var(--coral); transform: rotate(-1deg) scale(1.02); }
.ticker > div { width: max-content; display: flex; align-items: center; gap: 34px; animation: ticker 26s linear infinite; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 900; }
.ticker i { font-style: normal; color: var(--ink); }
@keyframes ticker { to { transform: translateX(-50%); } }

.process { padding-block: 150px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 60px; }
.section-heading h2, .request-intro h2 { margin: 0; font-size: clamp(44px, 5vw, 72px); line-height: 1; letter-spacing: -.055em; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.process-card { position: relative; min-height: 370px; padding: 35px 35px 42px; border-right: 1px solid var(--line); transition: background .35s, transform .35s; }
.process-card:first-child { border-left: 1px solid var(--line); }
.process-card:hover { background: var(--white); transform: translateY(-8px); box-shadow: var(--shadow); }
.process-card > span { color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.process-icon { width: 76px; height: 76px; display: grid; place-items: center; margin: 52px 0 36px; border-radius: 50%; color: var(--ink); background: var(--lime); font-family: var(--serif); font-size: 35px; }
.process-card:nth-child(2) .process-icon { background: var(--coral); }
.process-card:nth-child(3) .process-icon { background: #b8d8ee; }
.process-card h3 { margin: 0 0 14px; font-size: 24px; letter-spacing: -.03em; }
.process-card p { margin: 0; color: var(--ink-soft); line-height: 1.7; }

.care-section { padding-block: 145px; color: var(--white); background: var(--ink); overflow: hidden; }
.care-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.care-copy { position: sticky; top: 140px; }
.care-copy h2 { margin: 0 0 28px; font-size: clamp(43px, 4.4vw, 68px); line-height: 1; letter-spacing: -.055em; }
.care-copy > p:not(.eyebrow) { max-width: 520px; margin: 0 0 34px; color: rgba(255,255,255,.68); line-height: 1.7; font-size: 17px; }
.care-list > div { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.15); }
.care-list > div:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.care-list > div > span { color: var(--lime); font-family: var(--serif); font-style: italic; }
.care-list p { margin: 0; color: rgba(255,255,255,.64); line-height: 1.65; }
.care-list strong { display: block; margin-bottom: 8px; color: var(--white); font-size: 22px; }

.request-section { display: grid; grid-template-columns: .84fr 1.16fr; gap: 100px; padding-block: 145px; align-items: start; }
.request-intro { position: sticky; top: 130px; }
.request-intro > p:not(.eyebrow) { max-width: 520px; color: var(--ink-soft); line-height: 1.7; font-size: 17px; }
.request-note { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin-top: 38px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.34); }
.request-note b { color: var(--coral); }
.request-note span { color: var(--ink-soft); line-height: 1.45; }
.form-card { padding: 38px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { display: block; margin-bottom: 22px; }
label > span { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 12px; font-weight: 800; }
label > span small { color: var(--ink-soft); font-weight: 500; }
input, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: 0; color: var(--ink); background: var(--paper); transition: border-color .2s, box-shadow .2s, background .2s; }
input { height: 52px; padding: 0 15px; }
textarea { padding: 15px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(204,255,98,.45); }
label em { display: block; margin-top: 5px; color: #b23f33; font-size: 11px; font-style: normal; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-success { margin-bottom: 24px; padding: 16px 18px; border-radius: 12px; background: #e5f6d5; font-weight: 700; line-height: 1.5; }

.contact-section { padding-bottom: 90px; }
.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; padding: 72px; border-radius: 36px; color: var(--white); background: var(--coral); box-shadow: 0 30px 80px rgba(255,118,94,.17); }
.contact-panel h2 { margin: 0 0 20px; font-size: clamp(44px, 5vw, 70px); line-height: .95; letter-spacing: -.055em; }
.contact-panel p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.78); line-height: 1.7; }
.contact-panel input, .contact-panel textarea { border-color: rgba(255,255,255,.32); color: var(--white); background: rgba(255,255,255,.1); }
.contact-panel input:focus, .contact-panel textarea:focus { color: var(--ink); background: var(--white); }

.site-footer { width: min(1240px, calc(100% - 56px)); display: flex; align-items: end; justify-content: space-between; gap: 40px; margin: 0 auto; padding: 48px 0 58px; border-top: 1px solid var(--line); }
.brand-footer { margin-bottom: 14px; }
.site-footer p { max-width: 430px; margin: 0; color: var(--ink-soft); }
.footer-meta { display: flex; gap: 30px; color: var(--ink-soft); font-size: 12px; }

.login-page .site-header, .login-page .site-footer { display: none; }
.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: radial-gradient(circle at 15% 15%, rgba(204,255,98,.35), transparent 30%), radial-gradient(circle at 90% 90%, rgba(255,118,94,.3), transparent 32%), var(--paper); }
.login-card { width: min(470px, 100%); padding: 46px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255,254,249,.9); box-shadow: var(--shadow); backdrop-filter: blur(15px); }
.login-mark img { width: 68px; margin-bottom: 28px; }
.login-card h1 { margin: 0; font-size: 52px; letter-spacing: -.055em; }
.login-card > p:not(.eyebrow) { color: var(--ink-soft); line-height: 1.6; }
.login-card form { margin-top: 30px; }
.check-label { display: flex; align-items: center; gap: 10px; }
.check-label input { width: 18px; height: 18px; }
.check-label span { margin: 0; }
.validation-summary { margin-bottom: 18px; color: #b23f33; }

.admin-page { background: #f0eee7; }
.admin-page .site-header { position: static; transform: none; width: min(1420px, calc(100% - 36px)); margin: 10px auto 0; }
.admin-page .site-footer { width: min(1420px, calc(100% - 48px)); }
.admin-shell { width: min(1420px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 110px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.admin-heading h1 { margin: 0; font-size: clamp(42px, 5vw, 70px); line-height: .95; letter-spacing: -.06em; }
.admin-heading > div > p:last-child { color: var(--ink-soft); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.stat-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.stat-grid span, .stat-grid small { display: block; color: var(--ink-soft); font-size: 12px; }
.stat-grid strong { display: block; margin: 12px 0 8px; font-size: 44px; letter-spacing: -.06em; }
.admin-panel { margin-top: 20px; padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.panel-heading .eyebrow { margin-bottom: 8px; }
.panel-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.privacy-pill { padding: 9px 13px; border-radius: 999px; background: #e8f7d5; font-size: 12px; font-weight: 700; }
.demo-admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.demo-admin-card { overflow: hidden; display: grid; grid-template-columns: 180px 1fr; min-height: 180px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.demo-admin-card > img { width: 100%; height: 100%; object-fit: cover; }
.demo-admin-card > div { padding: 22px; }
.demo-admin-card > div > span { color: var(--coral); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 850; }
.demo-admin-card h3 { margin: 8px 0; font-size: 20px; }
.demo-admin-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 12px; }
.demo-links { display: flex; align-items: center; gap: 16px; }
.demo-links .text-link { font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); text-align: left; text-transform: uppercase; letter-spacing: .09em; font-size: 9px; }
td { max-width: 310px; padding: 16px 12px; border-bottom: 1px solid rgba(9,33,30,.08); vertical-align: top; line-height: 1.45; }
td strong, td small { display: block; }
td small { margin-top: 4px; color: var(--ink-soft); font-size: 10px; }
td a { color: #145f54; text-decoration: underline; text-decoration-color: rgba(20,95,84,.3); }
.status-text.is-offline { color: #b23f33; }
.fit-badge { display: inline-block; padding: 6px 9px; border-radius: 999px; background: var(--paper-2); font-size: 10px; font-weight: 800; }
.fit-excellent { color: #215d36; background: #def3df; }
.fit-good { color: #80531e; background: #f7ead0; }
.score { font-size: 20px; }
.admin-search span { margin-bottom: 5px; color: var(--ink-soft); font-size: 9px; }
.admin-search input { width: 300px; height: 42px; background: var(--paper); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-row button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.filter-row button.active { color: var(--white); background: var(--ink); }
.message-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.message-grid article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.message-grid article > div { display: flex; justify-content: space-between; gap: 14px; }
.message-grid a { color: #145f54; }
.message-grid p { line-height: 1.55; }
.message-grid small, .empty-state { color: var(--ink-soft); }
.plain-message { min-height: 70vh; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.plain-message h1 { margin: 0; font-size: 64px; letter-spacing: -.06em; }
.plain-message .button { margin-top: 25px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .hero-copy { max-width: 820px; }
  .hero-visual { min-height: 500px; }
  .browser-front { width: 70%; right: 7%; }
  .browser-back { left: 12%; width: 62%; }
  .care-grid, .request-section, .contact-panel { grid-template-columns: 1fr; gap: 55px; }
  .care-copy, .request-intro { position: static; }
  .demo-admin-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 32px, 1240px); }
  .site-header { top: 7px; width: calc(100% - 14px); background: rgba(255,254,249,.91); border-color: var(--line); backdrop-filter: blur(16px); }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 62px; right: 0; left: 0; display: grid; gap: 0; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .25s; }
  .site-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .site-nav a { padding: 14px; }
  .hero { min-height: 0; gap: 20px; padding-top: 130px; }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero .button { width: 100%; }
  .hero-trust { flex-wrap: wrap; }
  .hero-visual { min-height: 390px; }
  .browser-front { top: 45px; right: -7%; width: 91%; height: 320px; }
  .browser-back { left: 0; width: 76%; height: 270px; }
  .browser-preview { padding: 28px; }
  .browser-preview p { font-size: 34px; }
  .local-stamp { width: 96px; height: 96px; bottom: 4px; }
  .local-stamp strong { font-size: 29px; }
  .process { padding-block: 100px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:first-child { min-height: 320px; border: 1px solid var(--line); border-bottom: 0; }
  .process-card:last-child { border-bottom: 1px solid var(--line); }
  .care-section { padding-block: 95px; }
  .care-grid { gap: 48px; }
  .request-section { padding-block: 95px; }
  .form-card { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-panel { padding: 38px 22px; border-radius: 26px; }
  .site-footer { width: calc(100% - 32px); align-items: start; flex-direction: column; }
  .footer-meta { flex-direction: column; gap: 8px; }
  .admin-shell { width: calc(100% - 24px); padding-top: 50px; }
  .admin-heading { align-items: start; flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .admin-panel { padding: 19px 14px; }
  .panel-heading { align-items: start; flex-direction: column; }
  .admin-search, .admin-search input { width: 100%; }
  .demo-admin-card { grid-template-columns: 1fr; }
  .demo-admin-card > img { height: 180px; }
  .message-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stat-grid { grid-template-columns: 1fr; }
  .login-card { padding: 32px 22px; }
  .login-card h1 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
