/* ZERO Solutions · white and blue, minimal. */
:root {
  --ink: #0b1b3f;
  --ink-2: #24324f;
  --muted: #55627d;
  --subtle: #8592aa;
  --line: #e4e9f2;
  --line-strong: #d3dbe9;
  --bg: #ffffff;
  --soft: #f5f8fe;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-deep: #1e3a8a;
  --blue-50: #eff4ff;
  --blue-100: #dbe6fe;
  --green: #059669;
  --red: #dc2626;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 27, 63, 0.06);
  --shadow: 0 1px 2px rgba(11, 27, 63, 0.05), 0 8px 24px -8px rgba(11, 27, 63, 0.12);
  --shadow-lg: 0 2px 4px rgba(11, 27, 63, 0.04), 0 30px 70px -20px rgba(30, 58, 138, 0.28);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; font-weight: 700; }
p { margin: 0; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--blue-100); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.icon { flex-shrink: 0; }

/* ---- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(37, 99, 235, .3), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #b9c5da; background: var(--soft); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--soft); }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-white:hover { background: var(--blue-50); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn .icon { transition: transform .15s; }
.btn:hover .icon-arrow { transform: translateX(2px); }
.link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { color: var(--blue-hover); }

/* ---- Navigation ---------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { width: auto; height: 21px; }
.auth-page .brand-mark { width: 42px; height: 42px; }
.auth-page .brand-word { height: 26px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s, background-color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--soft); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.mobile-menu { display: none; }

@media (max-width: 860px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu.open { display: block; border-top: 1px solid var(--line); background: #fff; padding: 12px 24px 20px; }
  .mobile-menu a { display: block; padding: 12px 4px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 14px; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 40px; text-align: center; }
.hero::before {
  content: ''; position: absolute; inset: 0 -10% auto; height: 900px; z-index: -1;
  background: radial-gradient(ellipse 45% 40% at 50% 42%, rgba(37, 99, 235, .10), transparent 70%);
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: 14px; color: var(--muted); transition: border-color .15s;
}
.pill:hover { border-color: var(--line-strong); }
.pill b { color: var(--ink); font-weight: 600; }
.pill .pill-tag { padding: 2px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: 12px; }
.hero h1 { margin: 26px auto 0; max-width: 900px; font-size: clamp(40px, 6.4vw, 76px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.hero h1 .accent { color: var(--blue); }
.hero .lead { margin: 24px auto 0; max-width: 640px; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.hero-ctas { margin-top: 36px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--subtle); }

/* App launcher grid, Odoo style */
.apps-row { margin: 56px auto 0; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.app-tile { width: 112px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.app-icon {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
a.app-tile:hover .app-icon { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.app-tile.soon { color: var(--subtle); font-weight: 500; }
.app-tile.soon .app-icon { background: var(--soft); border-style: dashed; box-shadow: none; color: #b3bfd4; }

/* Browser frame around product screenshots */
.shot-wrap { position: relative; margin: 64px auto 0; max-width: 1080px; }
.shot-wrap::before {
  content: ''; position: absolute; inset: 12% -6% -8%; z-index: -1; border-radius: 40px;
  background: linear-gradient(180deg, var(--blue-100), rgba(219, 230, 254, 0));
}
.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #f8fafd; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dde9; }
.browser-bar span { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--subtle); transform: translateX(-20px); }
.browser img { width: 100%; height: auto; }

/* Client logos marquee: gray, endless, paused on hover */
.clients { padding: 56px 0 72px; text-align: center; }
.clients-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--subtle); }
.marquee {
  margin-top: 28px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 88px; padding: 0 44px; margin: 0; list-style: none; }
.marquee-group li { display: flex; align-items: center; height: 64px; }
.marquee-group img { width: auto; filter: grayscale(1); opacity: .45; transition: filter .25s, opacity .25s; }
.marquee-group img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; margin: 0 auto; }
  .marquee-group[aria-hidden] { display: none; }
}

/* ---- Sections ------------------------------------------------------------ */
.section { padding: 112px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.h2 { margin-top: 14px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.035em; }
.sub { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 620px; }
.center .sub { margin-left: auto; margin-right: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card-hover:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line-strong); }
.card h3 { font-size: 19px; margin-top: 18px; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }

/* Split product spotlight */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li .icon { margin-top: 3px; color: var(--blue); }
.checks li b { color: var(--ink); font-weight: 600; }
.product-head { display: flex; align-items: center; gap: 14px; }
.product-head .app-icon { width: 56px; height: 56px; border-radius: 16px; }
.product-head .tag { font-size: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-num { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; }
.step h3 { margin-top: 18px; font-size: 18px; }
.step p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 20px; justify-content: center; margin-top: 48px; }
@media (max-width: 720px) { .founders { grid-template-columns: 1fr; } }
.founder { text-align: center; padding: 36px 28px; }
.avatar {
  width: 88px; height: 88px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  font-size: 28px; font-weight: 700; letter-spacing: .02em; color: var(--blue-deep);
  background: linear-gradient(145deg, var(--blue-50), var(--blue-100)); border: 1px solid var(--blue-100);
}
.avatar-photo {
  width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 0 0 1px var(--blue-100), var(--shadow);
}
.founder h3 { margin-top: 20px; font-size: 20px; }
.founder .role { margin-top: 4px; color: var(--blue); font-weight: 600; font-size: 14px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 24px; padding: 64px 40px; text-align: center; color: #fff; background: var(--blue-deep); }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(96, 165, 250, .45), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.035em; }
.cta-band p { margin: 14px auto 0; max-width: 520px; color: #c7d6fb; font-size: 18px; }
.cta-band .hero-ctas { margin-top: 30px; }

/* Page header for inner pages */
.page-head { padding: 80px 0 24px; text-align: center; position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; inset: 0 -10% auto; height: 520px; z-index: -1; background: radial-gradient(ellipse 45% 45% at 50% 40%, rgba(37, 99, 235, .09), transparent 70%); }
.page-head h1 { margin-top: 14px; font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.045em; }
.page-head .lead { margin: 18px auto 0; max-width: 620px; font-size: 19px; color: var(--muted); }

.prose p { margin-top: 18px; font-size: 18px; color: var(--ink-2); line-height: 1.75; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* Product catalog */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 960px) { .catalog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } }
.product-card { display: flex; flex-direction: column; }
.product-card .app-icon { width: 56px; height: 56px; border-radius: 16px; box-shadow: none; }
.product-card .meta { margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.product-card h3 { margin-top: 6px; }
.product-card .foot { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.product-card.soon { background: transparent; border-style: dashed; box-shadow: none; }
.product-card.soon .app-icon { background: var(--soft); color: #b3bfd4; border-style: dashed; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.badge-live { background: #ecfdf5; color: var(--green); border-color: #c9f0dd; }
.badge-live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Screenshot gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 14px; }
.gallery figcaption b { display: block; font-size: 17px; }
.gallery figcaption span { color: var(--muted); font-size: 15px; }

/* ---- Footer ------------------------------------------------------------------ */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--subtle); font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 15px; }
.footer ul a:hover { color: var(--ink); }
.footer .blurb { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 300px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--subtle); font-size: 14px; }

/* ---- Forms and auth pages ------------------------------------------------------ */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 48px 20px; background: var(--soft); }
.auth-page .brand { margin-bottom: 32px; }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px 32px; box-shadow: var(--shadow); }
@media (max-width: 480px) { .auth-card { padding: 28px 22px; } }
.auth-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.035em; }
.auth-card .intro { margin-top: 8px; color: var(--muted); font-size: 15px; }
.auth-foot { margin-top: 24px; font-size: 15px; color: var(--muted); text-align: center; }
.auth-foot a { color: var(--blue); font-weight: 600; }
.auth-apps { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--subtle); font-size: 13px; }

.form { margin-top: 28px; display: grid; gap: 18px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field label a { font-weight: 500; color: var(--blue); font-size: 13px; }
.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff;
  font-size: 15px; transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #a3aec3; }
.input:hover { border-color: #b9c5da; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.input[readonly] { background: var(--soft); color: var(--muted); }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 46px; }
.reveal-pass { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--subtle); border-radius: 8px; cursor: pointer; }
.reveal-pass:hover { color: var(--ink); background: var(--soft); }
.hint { margin-top: 6px; font-size: 13px; color: var(--subtle); }

.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.5; }
.alert .icon { margin-top: 2px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fde0e0; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #c9f0dd; }
.alert-info { background: var(--blue-50); color: var(--blue-deep); border: 1px solid var(--blue-100); }
.alert + .form, .intro + .alert { margin-top: 20px; }

/* ---- Account area ----------------------------------------------------------- */
.acct-body { background: var(--soft); min-height: 100vh; }
.acct-top { background: #fff; border-bottom: 1px solid var(--line); }
.acct-top .nav-inner { height: 64px; }
.acct-tabs { display: flex; gap: 4px; }
.acct-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.acct-tabs a:hover { background: var(--soft); color: var(--ink); }
.acct-tabs a.active { background: var(--blue-50); color: var(--blue); }
.user-chip { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.user-chip .avatar { width: 34px; height: 34px; font-size: 13px; }
.user-chip .who { line-height: 1.25; font-size: 14px; }
.user-chip .who small { display: block; color: var(--subtle); font-size: 12.5px; }
@media (max-width: 720px) {
  .user-chip .who { display: none; }
  .acct-top .nav-inner { gap: 12px; }
  .acct-tabs a span { display: none; }
}
.acct-main { padding: 44px 0 80px; }
.acct-main h1 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; letter-spacing: -0.035em; }
.acct-main .intro { margin-top: 6px; color: var(--muted); }
.flashes { display: grid; gap: 10px; margin-bottom: 24px; }
.acct-section { margin-top: 36px; }
.acct-section h2 { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.app-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.app-card .top { display: flex; align-items: center; gap: 14px; }
.app-card .app-icon { width: 52px; height: 52px; border-radius: 14px; box-shadow: none; }
.app-card h3 { margin: 0; font-size: 18px; }
.app-card .cat { font-size: 13.5px; color: var(--muted); }
.app-card .desc { color: var(--muted); font-size: 15px; margin: 0; }
.app-card .status { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--subtle); }
.app-card .foot { margin-top: auto; display: flex; gap: 10px; }
.app-card.soon { background: transparent; border-style: dashed; box-shadow: none; }
.app-card.soon .app-icon { background: #fff; color: #b3bfd4; border-style: dashed; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { padding: 22px 24px 0; }
.panel-head h3 { font-size: 17px; }
.panel-head p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }
.panel-body { padding: 20px 24px 24px; }
.panel-body .form { margin-top: 0; max-width: 440px; }
.panel + .panel { margin-top: 16px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 12px 20px; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }

/* Error page */
.error-page { padding: 120px 0; text-align: center; }
.error-page .code { font-size: 15px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.error-page h1 { margin-top: 12px; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; }
.error-page p { margin: 14px auto 0; max-width: 480px; color: var(--muted); font-size: 18px; }
.error-page .btn { margin-top: 32px; }

/* Hooks: key phrases get a hand-drawn underline that draws itself when it scrolls into view. */
.hook {
  --hook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C46 4.5 104 3 197 6.5' fill='none' stroke='%232563EB' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-image: var(--hook);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% .3em;
  padding-bottom: .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.65, 0, .35, 1) .2s;
}
.hook.in, .no-js .hook { background-size: 100% .3em; }
.hook-thin { background-position: 0 105%; }
.hook-thin.in, .no-js .hook-thin { background-size: 100% .45em; }
.hook-thin { --hook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9.5C50 5.5 110 4.5 197 7' fill='none' stroke='%232563EB' stroke-opacity='.55' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hook-light { --hook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C46 4.5 104 3 197 6.5' fill='none' stroke='%2393C5FD' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.hook-thin, .hero-note .hook { color: var(--ink-2); }
.hero-note .hook { font-weight: 600; }

/* Scroll reveal (disabled for reduced motion) */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hook { background-size: 100% .3em; }
  .hook-thin { background-size: 100% .45em; }
  * { transition: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---- Pricing ------------------------------------------------------------------ */
.period-toggle { display: inline-flex; margin-top: 30px; padding: 4px; gap: 4px; background: var(--soft); border: 1px solid var(--line); border-radius: 12px; }
.period-toggle[hidden] { display: none; }
.period-toggle button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: none; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s, box-shadow .15s; }
.period-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.period-toggle .save { font-size: 12px; font-weight: 600; color: var(--green); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.price-card .ribbon { position: absolute; top: -11px; left: 24px; padding: 2px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; }
.price-card .app-icon { width: 44px; height: 44px; border-radius: 12px; }
.price-card h3 { margin-top: 16px; font-size: 19px; }
.price-card .tagline { margin-top: 6px; min-height: 48px; font-size: 14.5px; color: var(--muted); }
.price-card .price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.price-card .amount { font-size: 36px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-card .per { color: var(--muted); font-size: 15px; }
.price-card .price-note { min-height: 44px; margin: 6px 0 18px; font-size: 13.5px; color: var(--subtle); }
.price-card .checks { margin-top: 22px; gap: 10px; font-size: 14.5px; }
.price-card .checks li .icon { margin-top: 2px; }

.pricing-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .pricing-faq { grid-template-columns: 1fr; gap: 22px; } }
.pricing-faq h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.pricing-faq h4 .icon { color: var(--blue); }
.pricing-faq p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---- Account: plan --------------------------------------------------------------- */
.checkout-panel { border-color: var(--blue-100); box-shadow: var(--shadow); }
.period-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
.period-pick a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.period-pick a:hover { border-color: var(--blue); }
.period-pick a.active { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: var(--blue-50); }
.period-pick span { font-size: 14.5px; color: var(--ink-2); }
.period-pick small { font-size: 12.5px; font-weight: 600; color: var(--green); }
.hint-inline { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--subtle); }
.plan-empty, .plan-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.plan-empty p, .plan-row p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.plan-row b { margin-right: 6px; }
.plan-actions { display: flex; gap: 8px; }
.plan-list .panel + .panel { margin-top: 12px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { padding: 14px 20px 10px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--subtle); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.table td { padding: 12px 20px; border-top: 1px solid var(--line); white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--muted); }
