/*
Theme Name: Briknox
Theme URI: https://briknox.com
Author: Briknox
Description: Marketing website for Briknox — Land Appreciation Intelligence. Matches the Briknox app UI, shows live credit pricing from the Frappe backend, and redirects /app to the app.
Version: 1.3.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: briknox
*/

:root {
  --paper: #faf7f0; --paper-2: #f4f0e6; --surface: #ffffff;
  --ink: #14201d; --ink-dim: #3c4a46; --muted: #8a9591;
  --line: #e9e2d2; --line-soft: #f1ece0;
  --accent: #d99a3f; --accent-2: #e8b45a; --accent-strong: #b1802f; --accent-soft: rgba(217,154,63,0.12);
  --teal: #0f9488; --teal-strong: #0c9e86; --teal-deep: #0b6f66; --teal-soft: rgba(15,148,136,0.1);
  --plum: #6a5acd; --weak: #cf4a4c; --strong: #1f9d5f;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --shadow-sm: 0 1px 3px rgba(30,24,14,0.05);
  --shadow: 0 10px 30px rgba(30,24,14,0.09);
  --shadow-lg: 0 30px 60px -18px rgba(30,24,14,0.22);
  --radius: 18px; --ease: cubic-bezier(0.22,0.61,0.36,1); --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; }
.contour-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 45% at 82% 8%, rgba(217,154,63,0.16), transparent 60%), radial-gradient(55% 45% at 10% 30%, rgba(15,148,136,0.13), transparent 60%), radial-gradient(50% 40% at 90% 85%, rgba(106,90,205,0.08), transparent 60%); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.dim { color: var(--ink-dim); } .muted { color: var(--muted); }
.grad-text { background: linear-gradient(120deg, var(--accent-strong), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px 7px 8px; font-size: 12.5px; font-weight: 600; color: var(--ink-dim); box-shadow: var(--shadow-sm); }
.badge .dot { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--teal-strong)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 12px 20px; font-size: 15px; font-weight: 650; cursor: pointer; transition: transform 0.16s var(--ease), box-shadow 0.16s, background 0.16s, border-color 0.16s; font-family: inherit; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 8px 20px -6px rgba(217,154,63,0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(217,154,63,0.6); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-teal { background: linear-gradient(135deg, var(--teal-strong), var(--teal-deep)); color: #fff; box-shadow: 0 8px 20px -6px rgba(12,158,134,0.5); }
.btn-teal:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 13px; }
.site-header { position: sticky; top: 0; z-index: 60; transition: box-shadow 0.2s, background 0.2s; }
.site-header.scrolled { background: rgba(250,247,240,0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { filter: drop-shadow(0 2px 4px rgba(217,154,63,0.25)); }
.brand-name { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 14.5px; color: var(--ink-dim); font-weight: 500; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: width 0.2s var(--ease); }
.nav a:hover { color: var(--ink); } .nav a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.hero { padding: 44px 0 64px; position: relative; overflow: hidden; }
.topo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero .topo { opacity: 0.6; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 18px 0 20px; font-weight: 800; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19.5px); color: var(--ink-dim); max-width: 42ch; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; }
.hstat .n { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.hstat .n.teal { color: var(--teal-strong); } .hstat .n.amber { color: var(--accent-strong); }
.hstat .l { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hstat + .hstat { border-left: 1px solid var(--line); padding-left: 26px; }
.hero-visual { position: relative; min-height: 400px; }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 22px; position: relative; z-index: 2; }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; z-index: 3; display: flex; gap: 10px; align-items: center; }
.float-a { top: -22px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.float-b { bottom: -24px; right: -20px; animation: floaty 6s ease-in-out infinite 0.6s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-ico { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-ico.road { background: var(--accent-soft); color: var(--accent-strong); }
.fc-ico.price { background: var(--teal-soft); color: var(--teal-strong); }
.fc-t { font-size: 12.5px; font-weight: 700; }
.fc-s { font-size: 11px; color: var(--muted); } .fc-s .up { color: var(--strong); font-weight: 700; }
.hc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.hc-loc { font-weight: 700; font-size: 15.5px; }
.hc-coord { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; }
.hc-rating { background: linear-gradient(135deg, #24b877, var(--strong)); color: #fff; font-weight: 700; font-size: 12.5px; padding: 6px 14px; border-radius: 20px; box-shadow: 0 6px 14px -4px rgba(31,157,95,0.5); }
.hc-gauge { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); margin-bottom: 16px; }
.hc-scale { display: flex; gap: 4px; margin-bottom: 16px; }
.hc-scale span { flex: 1; height: 7px; border-radius: 4px; background: var(--line-soft); }
.hc-scale span.on { background: var(--strong); }
.hc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hc-metric { text-align: center; }
.hc-metric .n { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; }
.hc-metric .l { font-size: 10px; color: var(--muted); margin-top: 2px; }
.hc-bar { height: 9px; border-radius: 5px; background: var(--line-soft); margin-top: 18px; overflow: hidden; display: flex; }
.hc-bar span { height: 100%; }
.hc-cap { font-size: 10.5px; color: var(--muted); margin-top: 8px; }
.metrics-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.55); }
.metrics-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.metric { text-align: center; }
.metric .n { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.metric .l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
section { position: relative; z-index: 1; }
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 14px; font-weight: 800; }
.section-head p { color: var(--ink-dim); font-size: 17px; line-height: 1.55; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform 0.18s var(--ease), box-shadow 0.18s, border-color 0.18s; position: relative; overflow: hidden; }
.feature::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 100% 0%, rgba(217,154,63,0.06), transparent 60%); opacity: 0; transition: opacity 0.2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(217,154,63,0.4); }
.feature:hover::before { opacity: 1; }
.feature .ico { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg, var(--teal-soft), rgba(15,148,136,0.02)); color: var(--teal-strong); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid rgba(15,148,136,0.15); }
.feature.amber .ico { background: linear-gradient(135deg, var(--accent-soft), rgba(217,154,63,0.02)); color: var(--accent-strong); border-color: rgba(217,154,63,0.2); }
.feature h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; }
.feature p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.55; margin: 0; }
.report-section { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-top: 1px solid var(--line); }
.viz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.viz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform 0.18s var(--ease), box-shadow 0.18s; }
.viz-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.viz-card .vh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.viz-card h3 { font-size: 17px; margin: 0; font-weight: 700; }
.viz-card .tag { font-size: 10.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal-strong); background: var(--teal-soft); padding: 3px 9px; border-radius: 20px; }
.viz-card p { font-size: 13.5px; color: var(--ink-dim); line-height: 1.5; margin: 16px 0 0; }
.viz-art { height: 132px; display: flex; align-items: center; justify-content: center; }
.viz-art svg { max-width: 100%; height: 100%; }
.how { position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; top: 30px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); z-index: 0; }
.step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.step-n { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); color: var(--accent-strong); font-weight: 800; font-size: 22px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -8px rgba(217,154,63,0.5); }
.step h3 { font-size: 19px; margin: 0 0 10px; }
.step p { color: var(--ink-dim); font-size: 15px; line-height: 1.5; margin: 0; }
.pricing-wrap { max-width: 940px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px; text-align: center; position: relative; transition: transform 0.18s var(--ease); }
.price-card:hover { transform: translateY(-4px); }
.price-card.feature-card { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, var(--accent), var(--teal-strong)) border-box; box-shadow: var(--shadow); transform: scale(1.04); }
.price-card.feature-card:hover { transform: scale(1.04) translateY(-4px); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 14px; border-radius: 20px; box-shadow: 0 6px 14px -4px rgba(217,154,63,0.5); }
.price-tag { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.price-num { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin: 12px 0 2px; color: var(--accent-strong); font-family: var(--mono); }
.price-desc { font-size: 14px; color: var(--ink-dim); margin-top: 10px; line-height: 1.55; }
.price-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: 14.5px; }
.price-note b { color: var(--ink); }
.refer-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #1b2a27, #0f2320); border-radius: 26px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.refer-band .topo { position: absolute; inset: 0; opacity: 0.4; }
.refer-band > * { position: relative; z-index: 1; }
.refer-band h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 10px; color: #fff; }
.refer-band p { color: rgba(255,255,255,0.72); font-size: 16.5px; margin: 0; max-width: 48ch; line-height: 1.55; }
.refer-band .amt { color: var(--accent-2); font-weight: 700; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; transition: border-color 0.15s; }
.faq-item[open] { border-color: rgba(217,154,63,0.4); }
.faq-item summary { font-weight: 650; font-size: 16.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent-strong); font-size: 24px; font-weight: 300; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--ink-dim); font-size: 15px; line-height: 1.6; margin: 14px 0 0; }
.cta-band { text-align: center; position: relative; overflow: hidden; background: linear-gradient(140deg, #17201f 0%, #123330 60%, #0d3b33 100%); color: #fff; border-radius: 28px; padding: 68px 30px; }
.cta-band .topo { position: absolute; inset: 0; opacity: 0.5; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .badge { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 16px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 18px; margin: 0 auto 30px; max-width: 48ch; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 32px; margin-top: 24px; position: relative; z-index: 1; background: rgba(255,255,255,0.4); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 14px 0 0; line-height: 1.55; max-width: 34ch; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 4px 0 16px; }
.footer-col a { display: block; color: var(--ink-dim); font-size: 14.5px; margin-bottom: 11px; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent-strong); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 12.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
/* AI model section */
.ai-section { background: linear-gradient(180deg, var(--paper), var(--paper-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai-diagram { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; max-width: 960px; margin: 0 auto 30px; }
.ai-sources { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.src-chip { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--ink-dim); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px; }
.src-chip .sd { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.src-chip:nth-child(even) .sd { background: var(--accent); }
.ai-core { position: relative; width: 168px; height: 168px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.ai-core-disc { position: relative; z-index: 2; width: 128px; height: 128px; border-radius: 50%; background: linear-gradient(140deg, var(--teal-strong), var(--teal-deep)); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 18px 40px -10px rgba(12,158,134,0.55); text-align: center; }
.ai-core-disc .n { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.ai-core-disc .s { font-size: 11px; opacity: 0.85; margin-top: 2px; }
.ai-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--teal); opacity: 0; animation: pulsering 3s var(--ease) infinite; }
.ai-ring.r1 { inset: 20px; animation-delay: 0s; } .ai-ring.r2 { inset: 6px; animation-delay: 1s; } .ai-ring.r3 { inset: -8px; animation-delay: 2s; }
@keyframes pulsering { 0% { opacity: 0.5; transform: scale(0.85); } 70% { opacity: 0; transform: scale(1.12); } 100% { opacity: 0; } }
.ai-output { display: flex; align-items: center; }
.ai-out-card { border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); max-width: 230px; border: 1.5px solid transparent; background: linear-gradient(var(--surface),var(--surface)) padding-box, linear-gradient(135deg, var(--accent), var(--teal-strong)) border-box; }
.ai-out-card .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-strong); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.ai-out-card .t { font-weight: 700; font-size: 14.5px; }
.ai-out-card .s { font-size: 12px; color: var(--muted); margin-top: 3px; }
.learn-wrap { text-align: center; margin-bottom: 6px; }
.learn-loop { display: inline-flex; align-items: center; gap: 10px; background: var(--teal-soft); border: 1px solid rgba(15,148,136,0.25); color: var(--teal-deep); border-radius: 100px; padding: 9px 18px; font-size: 13.5px; font-weight: 600; }
.learn-loop svg { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ai-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.ai-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ai-card .ico { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--accent-soft), rgba(217,154,63,0.02)); color: var(--accent-strong); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; border: 1px solid rgba(217,154,63,0.2); }
.ai-card.teal .ico { background: linear-gradient(135deg, var(--teal-soft), rgba(15,148,136,0.02)); color: var(--teal-strong); border-color: rgba(15,148,136,0.15); }
.ai-card h3 { font-size: 17px; margin: 0 0 8px; font-weight: 700; }
.ai-card p { font-size: 14px; color: var(--ink-dim); line-height: 1.55; margin: 0; }
@media (max-width: 760px) {
  .ai-diagram { grid-template-columns: 1fr; gap: 18px; }
  .ai-sources { align-items: stretch; }
  .ai-output { justify-content: center; } .ai-out-card { max-width: none; width: 100%; }
  .ai-cards { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; margin-top: 20px; max-width: 460px; }
  .features, .viz-grid, .footer-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; } .steps::before { display: none; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.feature-card { transform: none; } .price-card.feature-card:hover { transform: translateY(-4px); }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 0; box-shadow: var(--shadow); }
  .nav.open { display: flex; } .nav a { padding: 13px 24px; width: 100%; } .nav a::after { display: none; }
  .nav-toggle { display: block; } .header-cta .btn-ghost { display: none; }
  .refer-band { flex-direction: column; text-align: center; padding: 40px 26px; }
}
@media (max-width: 560px) {
  .section { padding: 58px 0; } .hero { padding: 46px 0 46px; }
  .float-a { left: -8px; } .float-b { right: -6px; }
  .hero-stats { gap: 18px; } .hstat + .hstat { padding-left: 18px; }
}

/* ---- Product tiers ---- */
.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.tier-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; box-shadow: 0 1px 2px rgba(20,32,29,0.04); transition: transform .25s var(--ease, ease), box-shadow .25s ease, border-color .25s ease; }
.tier-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px -22px rgba(20,32,29,0.3); }
.tier-featured { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 20px 50px -24px rgba(217,154,63,0.5); }
.tier-featured::before { content: ''; position: absolute; inset: 0; border-radius: 18px; padding: 1px; background: linear-gradient(160deg, var(--accent-2), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tier-name { font-family: var(--font-display, var(--font)); font-size: 20px; font-weight: 800; color: var(--ink); }
.tier-tag { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-strong); font-weight: 700; margin-top: 3px; }
.tier-price { display: flex; align-items: baseline; gap: 3px; margin: 16px 0 4px; }
.tier-cur { font-size: 18px; font-weight: 700; color: var(--muted); }
.tier-num { font-family: var(--font-display, var(--font)); font-size: 44px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.tier-per { font-size: 13px; color: var(--muted); font-weight: 600; }
.tier-desc { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 16px; min-height: 40px; }
.tier-feat { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tier-feat li { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink); line-height: 1.4; }
.tier-feat li svg { color: var(--teal, #0c9e86); flex-shrink: 0; margin-top: 1px; }
.tier-cta { width: 100%; justify-content: center; }
@media (max-width: 1000px) { .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tier-grid { grid-template-columns: 1fr; } }

/* ---- Geo personalization ---- */
.geo-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-strong); background: var(--accent-soft); border-radius: 20px; padding: 4px 11px; margin-bottom: 10px; opacity: 0; transform: translateY(-4px); transition: opacity .4s ease, transform .4s ease; }
.geo-tag.on { opacity: 1; transform: none; }
.geo-tag .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--teal, #0c9e86); box-shadow: 0 0 0 0 rgba(12,158,134,.5); animation: geopulse 2s infinite; }
@keyframes geopulse { 0% { box-shadow: 0 0 0 0 rgba(12,158,134,.5); } 70% { box-shadow: 0 0 0 6px rgba(12,158,134,0); } 100% { box-shadow: 0 0 0 0 rgba(12,158,134,0); } }
.hc-preview-note { font-size: 10.5px; color: var(--muted); text-align: center; margin-top: 10px; font-style: italic; }

.tier-usd { font-size: 12px; color: var(--muted); margin: -2px 0 14px; }
.tier-usd b { color: var(--ink); }
.price-note .pay-lines { display: inline; }
@media (max-width: 560px) { .price-note .pay-lines { display: block; margin-top: 4px; } }
