/* ==========================================================================
   Vendaa POS — vendaa.app
   Hand-written CSS. Every colour is a token in :root so the theme toggle, the
   palette switcher and the later Elementor conversion all keep working.
   Light is the default theme; dark is the toggle.

   Palette from the POS Theme Customizer (theme_settings row 1):
   primary #248E38, gradient #065F46 → #248E38, lime #A6D23B; ink #333333 is
   the dark fold of the V and the wordmark.
   ========================================================================== */

:root {
  /* --- palette-switcher contract ------------------------------------- */
  --color-primary: #248E38;
  --color-accent: #A6D23B;
  --color-bg: #FBFCF8;
  --color-surface: #FFFFFF;
  --color-text: #1F2A22;
  --color-text-muted: #56625A;
  --font-display: 'Lexend', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Figtree', 'Segoe UI', Arial, sans-serif;

  /* derived by palette-switch.js when primary changes; defaults here */
  --color-primary-hover: #1C7530;
  --color-primary-soft: rgba(36, 142, 56, 0.11);
  --color-text-on-primary: #FFFFFF;

  /* --- brand extensions ---------------------------------------------- */
  --green-deep: #065F46;
  --green-night: #0B2A17;
  --ink: #333333;
  --tint: #F0F5EA;                   /* soft green-grey band */
  --line: #DFE7D8;
  --line-strong: #C8D5BE;
  --wa: #1F8F4E;                     /* WhatsApp button — kept in the brand green family */
  --wa-hover: #187340;
  --on-dark: #F2F7EE;
  --on-dark-muted: #B9C9BC;
  --dark-line: rgba(255, 255, 255, 0.14);
  --brand-gradient: linear-gradient(120deg, #065F46 0%, #248E38 55%, #A6D23B 100%);

  /* --- type scale ------------------------------------------------------
     Figtree has a moderate x-height; body at 1.125rem reads as 18px. */
  --step--2: 0.8125rem;
  --step--1: 0.9375rem;
  --step-0:  1.125rem;
  --step-1:  clamp(1.2rem, 0.6vw + 1.05rem, 1.38rem);
  --step-2:  clamp(1.45rem, 1vw + 1.15rem, 1.85rem);
  --step-3:  clamp(1.8rem, 1.8vw + 1.2rem, 2.55rem);
  --step-4:  clamp(2.15rem, 3vw + 1.2rem, 3.45rem);

  --measure: 66ch;

  --sp-1: 0.35rem;  --sp-2: 0.7rem;  --sp-3: 1.1rem;  --sp-4: 1.7rem;
  --sp-5: 2.6rem;   --sp-6: 4rem;    --sp-7: 6rem;

  --wrap: 1200px;

  --radius-img: 16px;
  --radius-box: 12px;
  --radius-card: 20px;
  --radius-pill: 999px;

  --shadow-1: 0 1px 2px rgba(11, 42, 23, 0.06), 0 6px 18px rgba(11, 42, 23, 0.06);
  --shadow-2: 0 22px 50px -20px rgba(11, 42, 23, 0.35);

  --header-h: 76px;
  --ease: cubic-bezier(0.32, 0.72, 0.28, 1);
}

[data-theme="dark"] {
  --color-primary: #3DB356;
  --color-primary-hover: #52C66A;
  --color-primary-soft: rgba(61, 179, 86, 0.16);
  --color-text-on-primary: #06140B;
  --color-bg: #0C1510;
  --color-surface: #132019;
  --color-text: #E9F1EA;
  --color-text-muted: #A6B8AB;
  --tint: #101C15;
  --line: #22342A;
  --line-strong: #2E4538;
  --wa: #2BA560;
  --wa-hover: #33BC6E;
  --green-night: #07120C;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 18px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 22px 50px -20px rgba(0, 0, 0, 0.7);
}

/* --- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-img); }
.brand img, .footer-brand img, .about-logo { border-radius: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--sp-3); font-weight: 600; }
h1 { font-size: var(--step-4); font-weight: 700; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0 0 var(--sp-3); max-width: var(--measure); }
a { color: var(--color-primary); text-underline-offset: 3px; }
a:hover { color: var(--color-primary-hover); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--color-primary); color: var(--color-text-on-primary); padding: 10px 16px; border-radius: var(--radius-box); }
.skip-link:focus { top: 12px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-btn { width: 20px; height: 20px; }
.icon-xl { width: 160px; height: 160px; stroke-width: 0.9; }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
}
.eyebrow--on-dark { color: var(--color-accent); }
.lede { font-size: var(--step-1); color: var(--color-text-muted); line-height: 1.5; }

/* --- buttons and the chevron pointer ------------------------------------ */
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--radius-box);
  font-family: var(--font-body); font-weight: 600; font-size: var(--step-0);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-primary); color: var(--color-text-on-primary); }
.btn--primary:hover { background: var(--color-primary-hover); color: var(--color-text-on-primary); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); color: #fff; }
.btn--ghost { border-color: var(--line-strong); color: var(--color-text); background: var(--color-surface); }
.btn--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.go {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; color: var(--color-primary);
}
.go-mark {
  display: inline-grid; place-items: center; width: 26px; height: 26px;
  border-radius: 8px; background: var(--color-primary-soft); color: var(--color-primary);
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.go-mark svg { width: 14px; height: 14px; }
.go:hover .go-mark, a:hover > .go-mark { transform: translateX(4px); background: var(--color-primary); color: var(--color-text-on-primary); }
.go--on-dark { color: var(--color-accent); }
.go--on-dark .go-mark { background: rgba(166, 210, 59, .16); color: var(--color-accent); }

/* --- header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-1); }
.header-inner { display: flex; align-items: center; gap: var(--sp-4); min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.logo-dark { display: none !important; }
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }

.nav { display: flex; align-items: center; gap: var(--sp-4); margin-left: auto; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--color-text); text-decoration: none; font-weight: 500;
}
.nav-list a:hover { background: var(--color-primary-soft); color: var(--color-text); }
.nav-list a[aria-current="page"] { color: var(--color-primary); box-shadow: inset 0 -2px 0 var(--color-primary); border-radius: 0; }
.nav-signin { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: var(--sp-2); }

.theme-toggle {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--color-surface); color: var(--color-text); cursor: pointer;
}
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--color-surface); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--color-text); border-radius: 2px; }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; box-shadow: var(--shadow-2);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-list a { padding: 14px 8px; font-size: var(--step-0); }
  .nav-list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--color-primary); padding-left: 14px; }
  .nav-signin { padding: 14px 8px; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 480px) {
  :root { --header-h: 66px; }
  .brand img { height: 40px; }
}

/* --- sections ------------------------------------------------------------ */
.section { padding: var(--sp-7) 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--green-night); color: var(--on-dark); }
.section--dark h2 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }
.section--figures { padding: var(--sp-5) 0; border-block: 1px solid var(--line); }
.section-head { margin-bottom: var(--sp-5); max-width: 760px; }
@media (max-width: 720px) { .section { padding: var(--sp-6) 0; } }

/* --- home hero ----------------------------------------------------------- */
.hero { padding: var(--sp-6) 0 var(--sp-7); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: var(--sp-6); align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 50ch; }
.hero .actions { margin-top: var(--sp-4); }
.hero-signin { margin-top: var(--sp-3); font-size: var(--step--1); color: var(--color-text-muted); }
.hero-media { position: relative; margin: 0; }
.hero-frame { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 5 / 4; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero-chip {
  position: absolute; left: -28px; bottom: 28px;
  display: flex; align-items: center; gap: 14px; max-width: 290px;
  background: var(--color-surface); border: 1px solid var(--line);
  padding: 14px 18px; border-radius: var(--radius-box); box-shadow: var(--shadow-2);
  font-size: var(--step--1); line-height: 1.35; color: var(--color-text-muted);
}
.hero-chip b { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--color-primary); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .hero-chip { left: 12px; bottom: 12px; right: 12px; max-width: none; }
}

/* slow drift on the hero photograph; off under reduced motion */
.drift { animation: drift 26s var(--ease) infinite alternate; transform-origin: 60% 40%; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }

/* staggered entrance: only once main.js marks the page ready */
.js .h-in { opacity: 0; transform: translateY(14px); }
.js.hero-ready .h-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js.hero-ready .h-in:nth-child(2) { transition-delay: .08s; }
.js.hero-ready .h-in:nth-child(3) { transition-delay: .16s; }
.js.hero-ready .h-in:nth-child(4) { transition-delay: .24s; }
.js.hero-ready .h-in:nth-child(5) { transition-delay: .32s; }
.js.hero-ready .hero-media.h-in { transition-delay: .2s; }

/* --- interior page hero -------------------------------------------------- */
.page-hero { padding: var(--sp-6) 0 var(--sp-5); background:
  radial-gradient(600px 240px at 92% 0%, var(--color-primary-soft), transparent 70%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { max-width: 60ch; }

.jump ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: var(--sp-4) 0 0; }
.jump a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--color-surface); text-decoration: none; color: var(--color-text); font-weight: 500; }
.jump a:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* --- figures ------------------------------------------------------------- */
.figures { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-4); }
.figure b { display: block; font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; color: var(--color-primary); line-height: 1.1; letter-spacing: -0.02em; }
.figure span { display: block; color: var(--color-text-muted); font-size: var(--step--1); margin-top: 4px; }
.figures--grid .figure { background: var(--color-surface); border: 1px solid var(--line); border-radius: var(--radius-box); padding: var(--sp-4); }
@media (max-width: 960px) { .figures { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .figures { grid-template-columns: repeat(2, 1fr); } }

/* --- the four uses: a numbered editorial list, not cards ------------------ */
.uses { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.use { display: grid; grid-template-columns: 70px 56px 1fr; gap: var(--sp-4); align-items: start; padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); }
.use-num { font-family: var(--font-display); font-size: var(--step-2); color: var(--line-strong); font-weight: 600; line-height: 1.2; }
.use-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--color-primary-soft); color: var(--color-primary); }
.use-body h3 { font-size: var(--step-2); margin-bottom: var(--sp-2); }
.use-body p { color: var(--color-text-muted); }
@media (max-width: 640px) {
  .use { grid-template-columns: 56px 1fr; gap: var(--sp-3); }
  .use-num { display: none; }
}

/* --- split (image + copy) ------------------------------------------------- */
.split { display: grid; grid-template-columns: 0.85fr 1fr; gap: var(--sp-6); align-items: center; }
.split--flip { grid-template-columns: 1fr 0.9fr; }
.split-media { margin: 0; }
.split-media img { width: 100%; box-shadow: var(--shadow-1); }
@media (max-width: 900px) { .split, .split--flip { grid-template-columns: 1fr; gap: var(--sp-5); } .split-media { max-width: 520px; } }

.steps { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-3); }
.steps li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.steps h3 { font-size: var(--step-0); margin-bottom: 2px; }
.steps p { color: var(--color-text-muted); margin: 0; }
.step-n { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--color-primary); color: var(--color-text-on-primary); font-family: var(--font-display); font-weight: 600; }

/* --- industries link list ------------------------------------------------ */
.industry-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--sp-5); }
.industry-link { display: flex; gap: var(--sp-3); align-items: center; padding: var(--sp-4) 0; border-top: 1px solid var(--line); color: var(--color-text); text-decoration: none; }
.industry-link:hover { color: var(--color-text); }
.industry-link:hover b { color: var(--color-primary); }
.industry-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line-strong); color: var(--color-primary); background: var(--color-surface); }
.industry-text { flex: 1; }
.industry-text b { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); }
.industry-text span { color: var(--color-text-muted); font-size: var(--step--1); }
@media (max-width: 760px) { .industry-list { grid-template-columns: 1fr; } }

/* --- manufacturing band --------------------------------------------------- */
.band { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-6); align-items: center; }
.band-icon { color: var(--color-accent); opacity: .85; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } .band-icon { display: none; } }

/* --- clients --------------------------------------------------------------- */
.client-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.client-group h3 { font-size: var(--step--1); color: var(--color-text-muted); font-family: var(--font-body); font-weight: 600; letter-spacing: .03em; margin-bottom: var(--sp-2); }
.names { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.names li { font-family: var(--font-display); font-weight: 500; font-size: var(--step--1); padding: 8px 14px; border-radius: 10px; background: var(--color-surface); border: 1px solid var(--line); }
@media (max-width: 900px) { .client-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .client-groups { grid-template-columns: 1fr; } }

/* --- price teaser --------------------------------------------------------- */
.price-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); align-items: center; }
.teaser-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.teaser-plan { display: block; padding: var(--sp-4); border-radius: var(--radius-box); background: var(--color-surface); border: 1px solid var(--line); text-decoration: none; color: var(--color-text); transition: border-color .2s; }
.teaser-plan:hover { border-color: var(--color-primary); color: var(--color-text); }
.teaser-plan span { display: block; font-weight: 600; color: var(--color-text-muted); }
.teaser-plan b { display: block; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; }
.teaser-plan small { color: var(--color-text-muted); font-size: var(--step--1); }
.teaser-plan.is-featured { border: 2px solid var(--color-primary); }
@media (max-width: 860px) { .price-teaser { grid-template-columns: 1fr; gap: var(--sp-4); } }

/* --- CTA band ------------------------------------------------------------- */
.cta-band { background: var(--brand-gradient); color: #fff; padding: var(--sp-6) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-5); align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-2); }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }
.cta-band .btn--wa { background: #fff; color: var(--green-deep); }
.cta-band .btn--wa:hover { background: var(--on-dark); color: var(--green-deep); }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } }

/* --- features ------------------------------------------------------------- */
.ticks { list-style: none; padding: 0; margin: var(--sp-3) 0 var(--sp-4); display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.icon-tick { width: 22px; height: 22px; margin-top: 3px; color: var(--color-primary); stroke-width: 2.2; }
.feature-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-6); align-items: start; }
.feature-block .ticks { margin-top: 0; font-size: var(--step-0); }
.feature-block .ticks li { padding: 14px 0; border-bottom: 1px solid var(--line); gap: 14px; }
.feature-block--dark .ticks li { border-bottom-color: var(--dark-line); color: var(--on-dark); }
.feature-block--dark .icon-tick { color: var(--color-accent); }
.feature-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: var(--color-primary-soft); color: var(--color-primary); margin-bottom: var(--sp-3); }
.section--dark .feature-icon { background: rgba(166, 210, 59, .14); color: var(--color-accent); }
@media (max-width: 860px) { .feature-block { grid-template-columns: 1fr; gap: var(--sp-3); } }

.extras { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--sp-5); }
.extras li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.extras-note { margin-top: var(--sp-4); color: var(--color-text-muted); }
@media (max-width: 860px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .extras { grid-template-columns: 1fr; } }

/* --- industries page ------------------------------------------------------ */
.industry { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--sp-6); align-items: start; }
.industry-body .ticks { margin-top: 0; }
.industry-clients { margin-top: var(--sp-4); padding: var(--sp-4); border-radius: var(--radius-box); background: var(--color-surface); border: 1px solid var(--line); }
.industry-clients h3 { font-size: var(--step--1); font-family: var(--font-body); color: var(--color-text-muted); letter-spacing: .03em; }
.industry-clients .names li { background: var(--color-primary-soft); border-color: transparent; }
@media (max-width: 860px) { .industry { grid-template-columns: 1fr; gap: var(--sp-3); } }

/* --- pricing -------------------------------------------------------------- */
.section--plans { padding-top: var(--sp-6); }
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.plan { position: relative; padding: var(--sp-5); border-radius: var(--radius-card); background: var(--color-surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.plan--featured { border: 2px solid var(--color-primary); }
.plan-badge { position: absolute; top: -14px; left: var(--sp-5); margin: 0; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--color-primary); color: var(--color-text-on-primary); font-size: var(--step--1); font-weight: 600; }
.plan-name { font-size: var(--step-2); margin-bottom: 4px; }
.plan-for { color: var(--color-text-muted); }
.plan-price { margin: var(--sp-2) 0 var(--sp-3); display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-family: var(--font-display); font-size: var(--step-4); font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.plan-price .cur, .plan-price .per { color: var(--color-text-muted); font-weight: 600; }
.plan-limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 var(--sp-3); }
.plan-limits div { background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.plan-limits dt { font-size: var(--step--2); color: var(--color-text-muted); font-weight: 600; letter-spacing: .03em; }
.plan-limits dd { margin: 0; font-family: var(--font-display); font-weight: 600; }
.plan .ticks { flex: 1; }
.plan .btn { align-self: flex-start; }
.plans-note { margin-top: var(--sp-4); color: var(--color-text-muted); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } .plan { padding: var(--sp-4); } .plan-badge { left: var(--sp-4); } }

.table-wrap { overflow-x: auto; border-radius: var(--radius-box); border: 1px solid var(--line); background: var(--color-surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 600; background: var(--tint); }
.compare th[scope="row"] { text-align: left; font-weight: 500; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .icon-tick { display: inline-block; margin: 0; }
.compare .dash { color: var(--line-strong); }

.bigger { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-5); align-items: center; }
@media (max-width: 760px) { .bigger { grid-template-columns: 1fr; } }

/* --- about ---------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--sp-6); align-items: center; }
.about-media { margin: 0; display: grid; place-items: center; padding: var(--sp-5); background: #fff; border-radius: var(--radius-card); border: 1px solid var(--line); }
.about-logo { width: min(260px, 70%); }
.about-tag { font-family: var(--font-display); font-size: var(--step-2); color: var(--color-primary); font-weight: 600; }
.industry-list--plain { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-media { max-width: 420px; } }

/* --- contact -------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--sp-5); align-items: start; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.contact-card { position: relative; display: block; padding: var(--sp-4); border-radius: var(--radius-box); background: var(--color-surface); border: 1px solid var(--line); color: var(--color-text); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.contact-card:hover { border-color: var(--color-primary); color: var(--color-text); }
.contact-card h2 { font-size: var(--step-1); margin: var(--sp-3) 0 4px; }
.contact-card p { color: var(--color-text-muted); font-size: var(--step--1); margin-bottom: var(--sp-2); }
.contact-card b { display: block; font-family: var(--font-display); font-weight: 600; word-break: break-word; padding-right: 34px; }
.contact-card .go-mark { position: absolute; right: var(--sp-4); bottom: var(--sp-4); }
.contact-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--color-primary-soft); color: var(--color-primary); }
.card--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.card--wa:hover { color: #fff; border-color: var(--wa-hover); background: var(--wa-hover); }
.card--wa p { color: rgba(255,255,255,.85); }
.card--wa .contact-icon, .card--wa .go-mark { background: rgba(255,255,255,.16); color: #fff; }

.demo-form { padding: var(--sp-5); border-radius: var(--radius-card); background: var(--color-surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.demo-form h2 { font-size: var(--step-2); }
.demo-form > p { color: var(--color-text-muted); }
.field { margin-bottom: var(--sp-3); }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--color-text); background: var(--color-bg);
  border: 1px solid var(--line-strong); border-radius: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.form-error { color: #B42318; font-weight: 600; }
[data-theme="dark"] .form-error { color: #FF8A80; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } .demo-form { padding: var(--sp-4); } }

/* --- footer --------------------------------------------------------------- */
.site-footer { background: var(--green-night); color: var(--on-dark-muted); padding: var(--sp-6) 0 var(--sp-4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 0.8fr; gap: var(--sp-5); }
.footer-brand img { height: 48px; width: auto; margin-bottom: var(--sp-3); }
.footer-tag { font-family: var(--font-display); color: var(--color-accent); font-size: var(--step-1); font-weight: 600; margin-bottom: var(--sp-2); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--color-accent); }
.footer-brand a { text-decoration: underline; }
.footer-h { font-family: var(--font-body); font-size: var(--step--1); color: #fff; letter-spacing: .04em; margin-bottom: var(--sp-3); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.footer-bottom { border-top: 1px solid var(--dark-line); margin-top: var(--sp-5); padding-top: var(--sp-3); font-size: var(--step--1); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* --- scroll reveal (hidden only once main.js adds .reveal-ready) --------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-ready .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .h-in, .reveal-ready .reveal { opacity: 1 !important; transform: none !important; }
}
