/* AMC Bookings — public site (landing, auth, legal). Loads after amc-core.css. */
:root {
  --amc-accent: #10B981;
  --amc-accent-2: #A3E635;
  --amc-accent-grad: linear-gradient(135deg, #10B981 0%, #A3E635 100%);
  --mint-50: #ECFDF5;
  --mint-100: #D1FAE5;
  --mint-200: #A7F3D0;
  --em-600: #059669;
  --em-700: #047857;
  --em-800: #065F46;
  --lime: #A3E635;
  --coral: #FF7A59;
  --sky: #38BDF8;
  --violet: #8B5CF6;
  --sun: #FBBF24;
  --ink: var(--amc-ink);
  --text: var(--amc-text);
  --muted: var(--amc-muted);
  --line: var(--amc-line);
  --radius: var(--amc-radius);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--amc-font); color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--em-700); }
a:hover { color: var(--em-800); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: var(--amc-tracking-heading); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
code { font-family: var(--amc-mono); font-size: .88em; background: var(--mint-50); color: var(--em-800); padding: .1em .4em; border-radius: 6px; word-break: break-all; }
.container { width: 100%; max-width: var(--amc-container); margin: 0 auto; padding: 0 var(--amc-gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
[hidden] { display: none !important; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: var(--amc-radius-pill); padding: 11px 20px; font: 600 .95rem/1.2 var(--amc-font); text-decoration: none; cursor: pointer; transition: transform .2s var(--amc-ease), box-shadow .2s var(--amc-ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--em-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(5, 150, 105, .7); }
.btn-primary:hover { background: var(--em-700); color: #fff; box-shadow: 0 12px 24px -10px rgba(5, 150, 105, .8); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--em-600); color: var(--em-700); }
.btn-lime { background: var(--lime); color: #0B2312; }
.btn-lime:hover { background: #BEF264; color: #0B2312; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--em-700); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 23, 42, .4); }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.amc-mark { fill: var(--lime); stroke: var(--amc-accent); }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav ul a:hover { color: var(--em-700); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-signin { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--amc-gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(15, 23, 42, .35); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-cta { padding-top: 16px; justify-content: space-between; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 72px; overflow: hidden; background: linear-gradient(180deg, #F3FEF8 0%, #fff 100%); }
.hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 85% 20%, rgba(163, 230, 53, .28), transparent 70%),
              radial-gradient(35% 45% at 70% 80%, rgba(56, 189, 248, .18), transparent 70%),
              radial-gradient(40% 60% at 10% 10%, rgba(16, 185, 129, .16), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .85rem; color: var(--em-800); background: #fff; border: 1px solid var(--mint-200); padding: 6px 14px 6px 10px; border-radius: 999px; margin-bottom: 22px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amc-accent); box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); letter-spacing: var(--amc-tracking-display); font-weight: 800; margin-bottom: 20px; }
.grad-text { background: linear-gradient(100deg, #059669 10%, #65A30D 60%, #0EA5E9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--amc-accent); width: 18px; height: 18px; }
.hero-copy > *, .hero-demo { animation: rise .8s var(--amc-ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-demo { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

/* Demo booking widget */
.hero-demo { position: relative; }
.demo-card { position: relative; z-index: 2; background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(6, 95, 70, .45), 0 0 0 1px rgba(16, 185, 129, .12); min-height: 430px; }
.demo-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.demo-head b { display: block; color: var(--ink); }
.demo-head span { font-size: .82rem; color: var(--muted); }
.demo-avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--amc-accent-grad); color: #06281A; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.demo-badge { margin-left: auto; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--em-800); background: var(--mint-100); border-radius: 999px; padding: 4px 10px; }
.demo-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0 10px; }
.demo-steps li { flex: 1; font-size: .72rem; font-weight: 600; color: var(--amc-faint); text-transform: uppercase; letter-spacing: .06em; padding-top: 8px; border-top: 3px solid var(--line); transition: color .3s, border-color .3s; }
.demo-steps li.is-on { color: var(--em-700); border-top-color: var(--amc-accent); }
.demo-pane { animation: paneIn .45s var(--amc-ease); }
@keyframes paneIn { from { opacity: 0; translate: 16px 0; } to { opacity: 1; translate: 0 0; } }
.demo-q { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); margin: 6px 0 12px; }
.demo-back { background: var(--amc-bg-3); border: 0; border-radius: 8px; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.demo-services { display: grid; gap: 10px; }
.demo-service { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; cursor: pointer; font: inherit; transition: border-color .2s, background-color .2s, transform .2s var(--amc-ease); }
.demo-service:hover { border-color: var(--amc-accent); transform: translateX(3px); }
.demo-service b { display: block; color: var(--ink); font-size: .95rem; }
.demo-service small { color: var(--muted); }
.demo-service em { font-style: normal; font-weight: 700; color: var(--em-700); white-space: nowrap; }
.demo-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.demo-day { background: var(--amc-bg-2); border: 1.5px solid transparent; border-radius: 12px; padding: 8px 0; text-align: center; cursor: pointer; font: inherit; color: var(--ink); transition: all .2s; }
.demo-day span { display: block; font-size: .68rem; text-transform: uppercase; color: var(--muted); }
.demo-day b { font-size: 1.05rem; }
.demo-day:hover { border-color: var(--mint-200); }
.demo-day[aria-pressed="true"] { background: var(--em-600); color: #fff; }
.demo-day[aria-pressed="true"] span { color: rgba(255, 255, 255, .8); }
.demo-day:disabled { opacity: .35; cursor: not-allowed; }
.demo-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; min-height: 92px; }
.demo-time { border: 1.5px solid var(--mint-200); background: var(--mint-50); color: var(--em-800); border-radius: 10px; padding: 8px 0; font: 600 .88rem var(--amc-font); cursor: pointer; animation: pop .3s var(--amc-ease) both; transition: background-color .15s, color .15s; }
.demo-time:hover { background: var(--mint-100); }
.demo-time[aria-pressed="true"] { background: var(--em-600); border-color: var(--em-600); color: #fff; }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }
.demo-done { text-align: center; padding-top: 18px; }
.done-check { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; background: var(--amc-accent-grad); display: grid; place-items: center; color: #06281A; animation: popBig .6s var(--amc-ease) both; box-shadow: 0 0 0 10px var(--mint-50); }
.done-check .icon { width: 36px; height: 36px; stroke-width: 2.6; }
@keyframes popBig { 0% { scale: .3; opacity: 0; } 60% { scale: 1.1; opacity: 1; } 100% { scale: 1; } }
.done-title { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.done-sub { color: var(--muted); }
.done-ticket { display: grid; gap: 8px; margin: 18px 0; text-align: left; }
.done-ticket span { display: flex; align-items: center; gap: 10px; background: var(--amc-bg-2); border-radius: 12px; padding: 10px 14px; font-size: .9rem; color: var(--ink); animation: rise .5s var(--amc-ease) both; }
.done-ticket span:nth-child(2) { animation-delay: .15s; }
.done-ticket .icon { color: var(--em-600); }
.demo-note { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 12px; }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 9px 14px; font-size: .82rem; font-weight: 600; color: var(--ink); box-shadow: 0 16px 30px -16px rgba(15, 23, 42, .45); animation: float 6s ease-in-out infinite; }
.float-chip .icon { width: 16px; height: 16px; color: var(--em-600); }
.chip-a { right: 96px; top: -18px; }
.chip-b { left: -40px; bottom: 22px; animation-delay: -3s; }
.chip-b .icon { color: #65A30D; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee ul { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0 20px; }
.marquee li { font-weight: 600; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-200); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 40px 0 80px; }
.section-tint { background: linear-gradient(180deg, #F3FEF8, #F8FAFC); }
.section-dark { background: var(--amc-obsidian); color: var(--amc-on-dark-2); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(16, 185, 129, .22), transparent); pointer-events: none; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; position: relative; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: var(--amc-tracking-display); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: var(--amc-on-dark-muted); }
.kicker { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: var(--amc-tracking-caps); color: var(--em-600); margin-bottom: 10px; }
.on-dark .kicker, .section-dark .kicker { color: var(--lime); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; transition: transform .3s var(--amc-ease), box-shadow .3s var(--amc-ease), border-color .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--amc-shadow-lg); border-color: var(--mint-200); }
.feature h3 { font-size: 1.15rem; margin: 16px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.feature-icon .icon { width: 24px; height: 24px; }
.fi-1 { background: var(--mint-100); color: var(--em-700); }
.fi-2 { background: #E0F2FE; color: #0369A1; }
.fi-3 { background: #ECFCCB; color: #4D7C0F; }
.fi-4 { background: #FFE9E2; color: #C2410C; }
.fi-5 { background: #EDE9FE; color: #6D28D9; }
.fi-6 { background: #FEF3C7; color: #B45309; }

.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; position: relative; display: grid; gap: 22px; }
.steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; background: var(--line); border-radius: 3px; }
.steps::after { content: ""; position: absolute; left: 27px; top: 28px; width: 3px; height: calc((100% - 56px) * var(--progress, 0)); background: var(--amc-accent-grad); border-radius: 3px; transition: height .2s linear; }
.step { position: relative; display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 22px 22px; }
.step-n { position: relative; z-index: 1; flex: 0 0 auto; width: 34px; height: 34px; margin-left: -1px; border-radius: 50%; background: var(--em-600); color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 0 6px #fff; }
.step h3 { font-size: 1.12rem; margin: 4px 0 6px; }
.step p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: var(--amc-tracking-display); }
.split-copy > p { color: var(--muted); font-size: 1.05rem; }
.tabs { display: inline-flex; background: var(--amc-bg-3); border-radius: 999px; padding: 4px; margin: 6px 0 22px; }
.tab { background: none; border: 0; border-radius: 999px; padding: 9px 20px; font: 600 .92rem var(--amc-font); color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.tab.is-on { background: #fff; color: var(--ink); box-shadow: var(--amc-shadow-sm); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23047857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }

.phone { justify-self: center; width: 310px; max-width: 100%; aspect-ratio: 9 / 17; background: #0B1220; border-radius: 42px; padding: 12px; box-shadow: 0 40px 70px -35px rgba(6, 95, 70, .6), inset 0 0 0 2px #1E293B; }
.phone-screen { height: 100%; border-radius: 32px; background: linear-gradient(180deg, #ECFDF5, #F8FAFC); padding: 26px 16px; overflow: hidden; }
.phone-panel { animation: paneIn .4s var(--amc-ease); }
.mail-card { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--amc-shadow); font-size: .86rem; }
.mail-from { color: var(--muted); font-size: .78rem; margin-bottom: 6px; }
.mail-from b { color: var(--ink); }
.mail-subj { font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.mail-card dl { margin: 12px 0; display: grid; gap: 6px; }
.mail-card dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.mail-card dt { color: var(--muted); }
.mail-card dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.mail-btn { display: block; text-align: center; background: var(--em-600); color: #fff; border-radius: 999px; padding: 9px; font-weight: 600; }
.wa-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-weight: 700; }
.wa-bubble { position: relative; background: #DCF8C6; border-radius: 14px 14px 4px 14px; padding: 10px 12px 18px; font-size: .86rem; color: #0B2312; margin: 0 0 10px 26px; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
.wa-bubble.wa-in { background: #fff; border-radius: 14px 14px 14px 4px; margin: 0 26px 10px 0; animation: rise .5s .5s var(--amc-ease) both; }
.wa-time { position: absolute; right: 10px; bottom: 4px; font-size: .68rem; color: #64748B; }

.pay-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pay-card { background: var(--amc-surface); border: 1px solid var(--amc-border-dark); border-radius: 20px; padding: 28px; transition: transform .3s var(--amc-ease), border-color .3s; }
.pay-card:hover { transform: translateY(-4px); border-color: rgba(163, 230, 53, .4); }
.pay-card h3 { color: #fff; margin: 16px 0 8px; font-size: 1.15rem; }
.pay-card p { color: var(--amc-on-dark-muted); margin: 0; }

/* Pricing */
.cycle-toggle { display: inline-flex; gap: 4px; background: var(--amc-bg-3); border-radius: 999px; padding: 4px; margin-top: 8px; }
.cycle-toggle button { background: none; border: 0; border-radius: 999px; padding: 9px 18px; font: 600 .92rem var(--amc-font); color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cycle-toggle button.is-on { background: #fff; color: var(--ink); box-shadow: var(--amc-shadow-sm); }
.save { font-size: .72rem; background: var(--lime); color: #1A2E05; border-radius: 999px; padding: 2px 8px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; transition: transform .3s var(--amc-ease), box-shadow .3s var(--amc-ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--amc-shadow-lg); }
.plan h3 { font-size: 1.3rem; margin: 0; }
.plan-blurb { color: var(--muted); font-size: .95rem; margin: 0 0 8px; }
.plan-featured { border: 2px solid var(--amc-accent); box-shadow: 0 30px 60px -36px rgba(5, 150, 105, .6); }
.plan-ribbon { position: absolute; top: -13px; left: 26px; background: var(--amc-accent-grad); color: #06281A; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 6px 0 0; line-height: 1.1; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price-eft { font-size: .88rem; color: var(--em-700); font-weight: 600; margin: 0 0 16px; }
.plan .btn { margin-bottom: 20px; }
.plan .ticks { font-size: .95rem; }
.plans-note { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 28px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--mint-200); box-shadow: var(--amc-shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--em-600); border-bottom: 2px solid var(--em-600); translate: 0 -70%; rotate: 45deg; transition: rotate .25s var(--amc-ease); }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

.cta-band { background: var(--amc-accent-grad); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #06281A; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 6px; }
.cta-band p { color: #0B3B24; margin: 0; font-size: 1.05rem; }
.cta-band .btn-lime { background: #06281A; color: #fff; }
.cta-band .btn-lime:hover { background: #000; color: #fff; }

/* Footer */
.site-footer { background: var(--amc-obsidian); color: var(--amc-on-dark-muted); padding: 64px 0 28px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 320px; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: var(--amc-tracking-caps); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--amc-on-dark-2); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--lime); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--amc-border-dark); margin-top: 48px; padding-top: 22px; font-size: .85rem; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
.to-top .icon { width: 16px; height: 16px; }

/* ---------- Auth & forms ---------- */
.auth-wrap { padding: 56px 0 88px; background: radial-gradient(60% 50% at 80% 0%, rgba(163, 230, 53, .14), transparent 70%), linear-gradient(180deg, #F3FEF8, #fff 60%); }
.auth-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.auth-side h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: var(--amc-tracking-display); }
.auth-side .ticks { margin-top: 24px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: var(--amc-shadow-lg); }
.auth-card h2 { font-size: 1.4rem; }
.auth-narrow .auth-card { max-width: 440px; margin: 0 auto; }
.auth-narrow { padding-inline: var(--amc-gutter); }
.auth-title { font-size: 1.6rem; font-weight: 800; }
.auth-alt { text-align: center; color: var(--muted); font-size: .92rem; margin: 16px 0 0; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend, .label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amc-accent); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); }
input[aria-invalid="true"] { border-color: var(--amc-bad); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--em-600); padding: 0; }
.check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check input { margin-top: 3px; flex: 0 0 auto; }
.help { font-size: .82rem; color: var(--muted); margin: 0; }
.field-error { color: #B91C1C; font-size: .86rem; margin: 0; font-weight: 500; }
.code-input { font-size: 1.6rem; letter-spacing: .4em; text-align: center; font-family: var(--amc-mono); }
.plan-pick { border: 0; padding: 0; margin: 0; }
.plan-pick legend { font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 8px; }
.plan-pick-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.plan-chip { position: relative; cursor: pointer; }
.plan-chip input { position: absolute; opacity: 0; }
.plan-chip span { display: grid; text-align: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 6px; transition: all .15s; }
.plan-chip b { color: var(--ink); }
.plan-chip small { color: var(--muted); font-size: .78rem; }
.plan-chip input:checked + span { border-color: var(--amc-accent); background: var(--mint-50); box-shadow: 0 0 0 3px rgba(16, 185, 129, .15); }
.plan-chip input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }

.notice { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; font-size: .93rem; margin: 0 0 16px; }
.notice .icon { margin-top: 1px; }
.notice-ok { background: var(--mint-50); color: var(--em-800); border: 1px solid var(--mint-200); }
.notice-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.notice-warn { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }

.page-hero { padding: 64px 0 24px; background: linear-gradient(180deg, #F3FEF8, #fff); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.error-page { padding-bottom: 96px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Scroll reveal (house pattern) ---------- */
#main .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--amc-ease), translate .8s var(--amc-ease); transition-delay: var(--d, 0s); }
#main .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .chip-a { right: 40px; }
  .chip-b { left: -8px; }
}
@media (max-width: 960px) {
  .hero-grid, .split, .auth-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 40px; }
  .hero-demo { max-width: 480px; width: 100%; margin: 0 auto; }
  .feature-grid, .pay-grid, .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .plans { gap: 28px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 72px 0; }
  .phone { order: -1; }
}
@media (max-width: 560px) {
  .float-chip { display: none; }
  .demo-card { padding: 16px; border-radius: 18px; }
  .demo-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .demo-day { padding: 6px 0; }
  .demo-day b { font-size: .95rem; }
  .auth-card { padding: 22px 18px; }
  .step { padding: 18px; gap: 14px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-inner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  #main .reveal { opacity: 1; translate: 0 0; }
  .marquee-track { animation: none; }
}

/* AMC family type: Bricolage headings on every page, Inter for text. */
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
h1, h2, h3 { font-family: "Bricolage", var(--amc-font, Inter), sans-serif; letter-spacing: -.03em; }
h1 { font-weight: 800; letter-spacing: -.04em; }
