/* cutting tool site, redesign (founder 16 Oct 2026: "UI la nalla play pannu, ellame flat a irukku ... trending").
   Dark green ground from the brand (#003E1F / #1EB907), one warm accent (amber) for highlights, Bricolage Grotesque
   for headings, Manrope for text. Every page shares these classes; the old names are kept so the pages' scripts work. */
:root {
  --bg: #06110b;
  --bg-alt: #0b1a11;
  --card-bg: #0e1f15;
  --card-hover: #13291c;
  --raised: #13291c;
  --text: #eaf5ec;
  --text-dim: #b7c9bc;
  --text-faint: #8fa798;
  --border: #1d3a28;
  --border-soft: rgba(255, 255, 255, 0.08);
  --accent: #1eb907;          /* brand bright green: buttons, links, highlights */
  --accent-hover: #2bd010;
  --accent-ink: #04230f;      /* text on the green */
  --accent-soft: rgba(30, 185, 7, 0.12);
  --accent-on-dark: #7cf27f;
  --warm: #ffb547;            /* the one extra accent: badges, stars, "new" */
  --warm-ink: #2a1800;
  --danger: #f07b72;
  --radius: 18px;
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; }
b, strong { color: var(--text); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

/* --- Site-wide CMS banner (assets/site-content.js) --- */
.site-banner { display: none; background: var(--warm); color: var(--warm-ink); text-align: center; font-size: 13px; font-weight: 700; padding: 9px 20px; }
.site-banner.visible { display: block; }

/* --- Nav: a floating pill that stays on top --- */
body > .container:first-of-type, body > #site-banner + .container { position: sticky; top: 0; z-index: 50; padding-top: 14px; padding-bottom: 6px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(14, 31, 21, 0.82); border: 1px solid var(--border-soft);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px -16px rgba(0, 0, 0, 0.7);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.nav-brand img { display: block; height: 30px; width: 30px; border-radius: 8px; }
.nav-brand .w-cutting { color: #ffffff; }
.nav-brand .w-tool { color: var(--accent); }
a.nav-brand { text-decoration: none; }
.nav-links { display: flex; gap: 6px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--text-dim); padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-signin { color: var(--text); padding: 10px 16px; font-weight: 700; font-size: 14px; text-decoration: none; border-radius: 999px; display: inline-block; }
.nav-signin:hover { background: rgba(255, 255, 255, 0.06); }
.nav-cta { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 11px 20px; font-weight: 800; font-size: 14px; text-decoration: none; display: inline-block; transition: transform 0.2s, background 0.2s; }
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* --- Buttons --- */
.btn-primary {
  background: var(--accent); color: var(--accent-ink); border: none; border-radius: 14px;
  padding: 16px 26px; font-weight: 800; font-size: 16px; text-decoration: none; display: inline-block; cursor: pointer;
  box-shadow: 0 14px 32px -12px rgba(30, 185, 7, 0.65); transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(30, 185, 7, 0.75); }
.btn-secondary {
  background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px;
  padding: 15px 22px; font-weight: 700; font-size: 16px; text-decoration: none; display: inline-block; cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.28); }

/* --- Hero --- */
.hero { padding: 64px 0 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; text-align: left; }
.hero-copy { flex: 1 1 460px; min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--card-bg); border: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--text-dim); margin-bottom: 22px;
}
.hero-badge .tag { background: var(--warm); color: var(--warm-ink); border-radius: 999px; padding: 3px 10px; font-weight: 800; font-size: 12px; }
.hero-badge .sep { color: var(--text-faint); font-weight: 400; }
.hero h1 { font-size: clamp(42px, 6.2vw, 72px); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; margin: 0 0 20px; text-wrap: balance; }
.hero .accent, .accent { color: var(--accent); }
.hero p { font-size: 18px; color: var(--text-dim); max-width: 540px; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-subnote { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--text-faint); margin-top: 24px; }
.hero-subnote span::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* hero picture: a timeline before / after */
.hero-demo { flex: 1 1 480px; min-width: 0; border-radius: 24px; background: var(--card-bg); border: 1px solid var(--border); padding: 22px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85); }
.demo-head { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-faint); font-weight: 600; }
.demo-head .live { color: var(--accent); }
.demo-label { margin-top: 18px; font-size: 11px; color: var(--text-faint); letter-spacing: 0.1em; font-weight: 800; }
.demo-track { margin-top: 8px; display: flex; gap: 3px; height: 42px; }
.demo-track span { border-radius: 6px; background: #2f6d43; }
.demo-track span.cut { background: repeating-linear-gradient(135deg, #5a1f1f 0 6px, #3b1414 6px 12px); }
.demo-track.after { width: 82%; }
.demo-track.after span { background: var(--accent); animation: grow 1.2s ease-out both; transform-origin: left; }
.demo-track.after span:nth-child(2) { animation-delay: 0.1s; } .demo-track.after span:nth-child(3) { animation-delay: 0.2s; } .demo-track.after span:nth-child(4) { animation-delay: 0.3s; }
@keyframes grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.demo-stats { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.demo-stat { flex: 1 1 120px; padding: 14px; border-radius: 14px; background: var(--raised); }
.demo-stat b { display: block; font-family: var(--display); font-size: 28px; font-weight: 800; color: #ffffff; line-height: 1.1; }
.demo-stat b.warm { color: var(--warm); }
.demo-stat span { font-size: 12px; color: var(--text-faint); }

/* --- Section heads --- */
.section { padding: 80px 0 32px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
.section-title { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; line-height: 1.05; margin: 12px 0 36px; max-width: 780px; }

/* --- Bento features --- */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.bento-card { padding: 26px; border-radius: 22px; background: var(--card-bg); border: 1px solid var(--border); transition: transform 0.25s, border-color 0.25s; }
.bento-card:hover { transform: translateY(-4px); border-color: #2b5a3b; }
.bento-card.wide { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 300px; }
.bento-card.green { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 300px; }
.bento-card.green p { color: var(--accent-ink); font-weight: 600; }
.bento-card h3 { font-size: 24px; font-weight: 800; margin: 14px 0 6px; }
.bento-card.wide h3, .bento-card.green h3 { font-size: 28px; margin-top: 0; }
.bento-card p { color: var(--text-dim); margin: 0; line-height: 1.55; font-size: 15px; }
.bento-card svg { display: block; }
.wave { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.wave span { flex: 1; background: var(--accent); border-radius: 4px; }
.wave span.cut { background: #5a1f1f; }
.caption-sample { background: var(--accent-ink); border-radius: 16px; padding: 18px; text-align: center; font-family: "Noto Sans Tamil", var(--display); font-weight: 700; font-size: 26px; color: #ffffff; }
.caption-sample em { font-style: normal; color: var(--warm); }
@media (max-width: 640px) { .bento-card.wide { grid-column: auto; } }

/* --- Steps --- */
.steps { display: flex; flex-wrap: wrap; gap: 16px; }
.step { flex: 1 1 280px; padding: 24px; border-radius: 20px; border: 1px solid var(--border-soft); }
.step .num { font-family: var(--display); font-size: 44px; font-weight: 800; color: var(--accent); line-height: 1; }
.step h3 { font-family: "Manrope", sans-serif; letter-spacing: 0; font-weight: 800; font-size: 18px; margin: 12px 0 6px; }
.step p { color: var(--text-dim); margin: 0; }

/* --- Final call --- */
.cta-band { margin: 40px 0 72px; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: var(--accent); color: var(--accent-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.05; margin: 0; max-width: 620px; }
.cta-band .btn-primary { background: var(--accent-ink); color: #ffffff; box-shadow: none; }
.cta-band .btn-primary:hover { background: #0a3a1c; }
.cta-band .btn-secondary { color: var(--accent-ink); border-color: rgba(4, 35, 15, 0.35); }

/* --- Product demo frame (hero screenshot) --- */
.demo-frame { margin: 44px auto 0; max-width: 860px; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.demo-frame img { display: block; width: 100%; height: auto; }

/* --- Comparison --- */
.compare { padding: 16px 0 72px; }
.compare h2 { text-align: center; font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.compare > p { text-align: center; color: var(--text-dim); font-size: 15px; max-width: 540px; margin: 0 auto 36px; }
.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.compare-col { border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--border); background: var(--card-bg); }
.compare-col.good { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.compare-col h3 { font-family: "Manrope", sans-serif; letter-spacing: 0.06em; font-size: 13px; font-weight: 800; text-transform: uppercase; margin: 0 0 16px; color: var(--text-faint); }
.compare-col.good h3 { color: var(--accent); }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.compare-col li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-dim); }
.compare-col.bad li::before { content: "✕"; color: var(--danger); font-weight: 800; flex-shrink: 0; }
.compare-col.good li::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* --- Feature grid (features page) --- */
.features { padding: 40px 0 72px; }
.features h2 { text-align: center; font-size: 34px; font-weight: 800; margin-bottom: 36px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.25s, border-color 0.25s; }
.feature-card:hover { transform: translateY(-3px); border-color: #2b5a3b; }
.feature-card .icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 14px; color: #fff; }
.feature-card h3 { font-family: "Manrope", sans-serif; letter-spacing: 0; font-size: 16px; font-weight: 800; margin: 0 0 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.feature-card p { font-size: 14px; color: var(--text-dim); margin: 0; }
.feature-card.soon { opacity: 0.6; }
.badge-soon { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--warm-ink); background: var(--warm); border-radius: 999px; padding: 2px 8px; white-space: nowrap; }

/* --- Pricing --- */
.pricing-hero { padding: 48px 0 8px; text-align: center; }
.pricing-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.05; margin: 0 0 14px; }
.pricing-hero p { color: var(--text-dim); font-size: 15.5px; max-width: 820px; margin: 0 auto; }
.early-bird-banner { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 12px 18px; max-width: 640px; margin: 20px auto 0; font-size: 14px; color: var(--warm); font-weight: 600; }
.tier-btn { border-radius: 999px !important; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; padding: 36px 0; align-items: start; }
.plan-card { position: relative; background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; transition: transform 0.25s, border-color 0.25s; }
.plan-card:hover { transform: translateY(-3px); border-color: #2b5a3b; }
.plan-card.featured { background: var(--text); color: var(--bg); border-color: var(--text); }
.plan-card.featured .plan-tagline, .plan-card.featured .plan-price .unit, .plan-card.featured .plan-effective { color: #3f6657; }
.plan-card.featured .plan-bonus { color: #0b7a1d; }
.plan-card.featured .plan-features { border-top-color: #cfe1d4; }
.plan-card.featured .plan-features li { color: var(--bg); }
.plan-card.featured .plan-features li::before { color: #0b7a1d; }
.plan-card.featured .plan-buy { background: var(--bg); color: #ffffff; }
.plan-card.featured .plan-buy:hover { background: #0e2a19; }
.plan-flag { position: absolute; top: -13px; left: 26px; background: var(--warm); color: var(--warm-ink); font-size: 11.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.plan-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.plan-icon { font-size: 18px; }
.plan-name { font-size: 17px; font-weight: 800; }
.plan-tagline { font-size: 13px; color: var(--text-dim); min-height: 32px; margin-bottom: 14px; }
.plan-price { font-family: var(--display); font-size: 42px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 2px; line-height: 1; }
.plan-price .unit { font-family: "Manrope", sans-serif; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.plan-effective { font-size: 12.5px; color: var(--text-faint); margin-bottom: 4px; }
.plan-bonus { font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 16px; min-height: 18px; }
.plan-buy { background: var(--accent); color: var(--accent-ink); border: none; border-radius: 12px; padding: 14px; font-weight: 800; font-size: 14.5px; font-family: inherit; cursor: pointer; margin-bottom: 18px; transition: background 0.2s, transform 0.2s; }
.plan-buy:hover { background: var(--accent-hover); transform: translateY(-1px); }
.plan-features { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; gap: 8px; font-size: 13.5px; color: var(--text); align-items: flex-start; }
.plan-features li::before { content: "✓"; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.bulk-note { text-align: center; font-size: 13.5px; color: var(--text-dim); max-width: 560px; margin: 0 auto 56px; }
#coupon { background: var(--card-bg); color: var(--text); border: 1px solid var(--border) !important; font-family: inherit; }

/* --- Footer --- */
footer { border-top: 1px solid var(--border-soft); padding: 32px 0; margin-top: 40px; }
footer .container { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { text-decoration: none; color: var(--text-faint); }
.footer-links a:hover { color: var(--accent); }

/* --- Page hero (inner pages) --- */
.page-hero { padding: 48px 0 8px; text-align: center; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 52px); font-weight: 800; line-height: 1.05; margin: 0 0 12px; }
.page-hero p { color: var(--text-dim); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* --- Prose (legal pages) --- */
.prose { max-width: 760px; margin: 0 auto; padding: 32px 0 64px; font-size: 15px; color: var(--text-dim); }
.prose h2 { color: var(--text); font-size: 22px; font-weight: 800; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); font-weight: 600; }
.prose .updated { font-size: 13px; color: var(--text-faint); margin-bottom: 32px; }

/* --- FAQ accordion --- */
.faq-list { max-width: 780px; margin: 0 auto; padding: 32px 0 64px; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px; transition: border-color 0.2s; }
.faq-item[open] { border-color: #2b5a3b; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 15px; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: var(--raised); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; font-size: 14.5px; color: var(--text-dim); }

/* --- About / Contact --- */
.contact-grid { max-width: 680px; margin: 0 auto; padding: 32px 0 64px; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.contact-card .icon { font-size: 22px; margin-bottom: 10px; }
.contact-card h3 { font-family: "Manrope", sans-serif; letter-spacing: 0; font-size: 15px; margin: 0 0 6px; }
.contact-card p { font-size: 14px; color: var(--text-dim); margin: 0 0 10px; }
.contact-card a.link { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }

/* --- Dashboard --- */
.dashboard-wrap { max-width: 480px; margin: 0 auto; padding: 40px 0 72px; }
.dashboard-wrap.wide { max-width: 1200px; }
.dashboard-wrap.wide #my-licenses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px; }
.dashboard-wrap.wide #my-licenses .license-card { margin-bottom: 0; }
.dashboard-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; padding: 28px 26px; }
.dashboard-field { margin-bottom: 16px; }
.dashboard-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dim); margin-bottom: 6px; }
.dashboard-field input, .checkout-field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  font-size: 14.5px; font-family: inherit; color: var(--text); background: var(--bg-alt); transition: border-color 0.2s, box-shadow 0.2s;
}
.dashboard-field input:focus, .checkout-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dashboard-btn { width: 100%; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 12px; padding: 13px; font-weight: 800; font-size: 14.5px; font-family: inherit; cursor: pointer; transition: background 0.2s; }
.dashboard-btn:hover { background: var(--accent-hover); }
.dashboard-btn.secondary { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.16); margin-top: 10px; }
.dashboard-btn.secondary:hover { background: rgba(255, 255, 255, 0.06); }
.dashboard-msg { font-size: 13.5px; margin-top: 12px; min-height: 16px; }
.dashboard-msg.error { color: var(--danger); }
.dashboard-msg.ok { color: var(--accent); }
.dashboard-info { display: none; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.dashboard-info.show { display: block; }
.dashboard-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.dashboard-row:last-of-type { border-bottom: none; }
.dashboard-row .k { color: var(--text-faint); }
.dashboard-row .v { font-weight: 700; }
.dash-badge { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 10px; border-radius: 999px; }
.dash-badge.active { background: var(--accent-soft); color: var(--accent-on-dark); }
.dash-badge.expired, .dash-badge.revoked { background: rgba(240, 123, 114, 0.14); color: var(--danger); }
.dash-badge.suspended { background: rgba(255, 181, 71, 0.14); color: var(--warm); }

/* --- Account / login --- */
.auth-tabs { display: flex; gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); }
.auth-tab { flex: 1; text-align: center; padding: 9px; border-radius: 999px; font-size: 13.5px; font-weight: 700; cursor: pointer; border: none; background: transparent; color: var(--text-dim); font-family: inherit; }
.auth-tab.active { background: var(--text); color: var(--bg); }
.auth-divider { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: 12.5px; color: var(--text-faint); }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.google-btn { width: 100%; padding: 11px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: #ffffff; color: #1f1f1f; font-weight: 700; font-size: 14px; font-family: inherit; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.google-btn:hover { background: #eef3ef; }
.google-btn img { width: 18px; height: 18px; }
.auth-link { font-size: 13px; color: var(--accent); font-weight: 600; cursor: pointer; background: none; border: none; padding: 0; text-decoration: underline; font-family: inherit; }
.auth-forgot { text-align: right; margin: -8px 0 16px; }
.account-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.account-bar .email { font-weight: 700; font-size: 14.5px; }
.license-card { border: 1px solid var(--border); background: var(--card-bg); border-radius: 18px; padding: 20px; margin-bottom: 14px; }
.license-card:last-child { margin-bottom: 0; }
.license-key-label { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--text-faint); word-break: break-all; margin-bottom: 8px; }
.dashboard-or { text-align: center; font-size: 13px; color: var(--text-faint); margin: 30px 0 14px; }

/* --- 404 --- */
.error-code { font-family: var(--display); font-size: 120px; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 4px; letter-spacing: -0.05em; }

/* --- Checkout modal and site dialogs --- */
.checkout-overlay, .dlg-overlay { position: fixed; inset: 0; background: rgba(2, 8, 5, 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.checkout-overlay.open, .dlg-overlay.open { display: flex; }
.checkout-modal, .dlg-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: 22px; padding: 30px 28px; max-width: 400px; width: 100%; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8); position: relative; }
.checkout-modal h3 { font-size: 21px; margin: 0 0 4px; }
.checkout-summary { font-size: 14px; color: var(--text-dim); margin: 0 0 22px; }
.checkout-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 10px; border: none; background: transparent; color: var(--text-faint); font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.checkout-close:hover { background: var(--raised); color: var(--text); }
.checkout-field { margin-bottom: 16px; }
.checkout-field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dim); margin-bottom: 6px; }
.checkout-field .hint { font-size: 12px; color: var(--text-faint); margin-top: 5px; }
.checkout-submit { width: 100%; background: var(--accent); color: var(--accent-ink); border: none; border-radius: 12px; padding: 13px; font-weight: 800; font-size: 14.5px; font-family: inherit; cursor: pointer; margin-top: 6px; }
.checkout-submit:hover { background: var(--accent-hover); }
.checkout-submit:disabled { opacity: 0.6; cursor: default; }
.checkout-error { font-size: 13.5px; color: var(--danger); margin-top: 12px; min-height: 16px; }
.dlg-title { font-family: var(--display); font-size: 20px; font-weight: 800; color: var(--text); margin: 0 0 8px; }
.dlg-msg { font-size: 14px; color: var(--text-dim); line-height: 1.55; margin: 0 0 20px; white-space: pre-line; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; }
.dlg-btn { border: none; border-radius: 12px; padding: 11px 18px; font-weight: 800; font-size: 14px; font-family: inherit; cursor: pointer; }
.dlg-btn.primary { background: var(--accent); color: var(--accent-ink); }
.dlg-btn.primary:hover { background: var(--accent-hover); }
.dlg-btn.ghost { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.16); }
.dlg-btn.ghost:hover { background: rgba(255, 255, 255, 0.06); }
.dlg-btn.danger { background: #c0392b; color: #fff; }
.dlg-btn.danger:hover { background: #a83226; }

/* --- Home lists from the CMS: tutorials, user videos, reviews, logos --- */
.home-more { text-align: center; margin: 8px 0; font-size: 15px; }
.home-more a { color: var(--accent); font-weight: 700; }
.home-block { padding: 56px 0 8px; }
.home-block h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 0 0 6px; }
.home-sub { color: var(--text-dim); font-size: 15px; margin: 0 0 22px; }
.home-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 54px) / 4)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.home-row > * { scroll-snap-align: start; }
.video-card { display: flex; flex-direction: column; gap: 8px; }
.video-thumb, .video-card iframe, .video-link { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; overflow: hidden; background: var(--card-bg); padding: 0; cursor: pointer; display: block; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.video-thumb:hover img { transform: scale(1.04); }
.video-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(6, 17, 11, 0.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background 0.2s; }
.video-play::after { content: ""; position: absolute; left: 23px; top: 19px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.video-thumb:hover .video-play { background: var(--accent); }
.video-link { display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent); text-decoration: none; border: 1px solid var(--border); }
.video-title { font-weight: 700; font-size: 15px; }
.video-sub { font-size: 13px; color: var(--text-dim); margin-top: -4px; }
.review-card { margin: 0; background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: var(--warm); letter-spacing: 3px; }
.review-card blockquote { margin: 0; font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--text); flex: 1; letter-spacing: -0.01em; }
.review-who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.review-who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.review-who b { display: block; }
.review-who span { color: var(--text-dim); }
.logo-strip { overflow: hidden; padding: 10px 0 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logo-track { display: flex; gap: 56px; align-items: center; justify-content: center; flex-wrap: wrap; }
.logo-track img { height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; filter: grayscale(1) brightness(1.6); opacity: 0.7; transition: filter 0.3s, opacity 0.3s; }
.logo-track img:hover { filter: none; opacity: 1; }
.logo-track.moving { flex-wrap: nowrap; justify-content: flex-start; width: max-content; animation: logo-scroll 40s linear infinite; }
.logo-strip:hover .logo-track.moving { animation-play-state: paused; }
@keyframes logo-scroll { to { transform: translateX(calc(-50% - 28px)); } }

/* scroll reveal (assets/site-content.js adds .in when a section comes into view) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav { border-radius: 22px; flex-wrap: wrap; row-gap: 8px; padding: 10px 10px 10px 16px; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .nav-links a { white-space: nowrap; padding: 6px 12px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 36px; gap: 32px; }
  .hero p { font-size: 16px; }
  .home-row { grid-auto-columns: 82%; }
  footer .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) { .nav-signin { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .demo-track.after span { animation: none; }
  .logo-track.moving { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-track [aria-hidden="true"] { display: none; }
  .bento-card, .plan-card, .feature-card, .btn-primary, .nav-cta { transition: none; }
}
.bento-card.reveal.in:hover, .step.reveal.in:hover { transform: translateY(-4px); }

/* billing box (GST tax invoice, 17 Oct 2026) */
.billing-select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 14.5px; font-family: inherit; color: var(--text); background: var(--bg-alt); }
.billing-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.checkout-field input[type="checkbox"] { width: auto; margin-right: 8px; accent-color: var(--accent); }

/* Raise a complaint (contact page, 18 Oct 2026) */
.complaint-form { max-width: 680px; margin: 0 auto 64px; padding: 24px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 90px; }
.complaint-form h2 { margin: 0; font-size: 22px; }
.complaint-form .muted { margin: 0 0 4px; color: var(--text-dim); font-size: 14px; }
.complaint-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-dim); font-weight: 600; }
.complaint-form input, .complaint-form textarea { font: inherit; font-size: 15px; color: var(--text); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.complaint-form input:focus, .complaint-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.complaint-form button { align-self: flex-start; }
#complaint-msg { margin: 0; font-size: 14px; color: var(--accent-on-dark); min-height: 1.2em; }

/* billing box: the address (18 Oct 2026); the taller box scrolls on small screens */
.checkout-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; font-size: 14.5px; font-family: inherit; color: var(--text); background: var(--bg-alt); resize: vertical; }
.checkout-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.checkout-field label a { color: var(--accent-on-dark); }
#billing-overlay .checkout-modal { max-height: calc(100vh - 32px); overflow-y: auto; }
