/* =========================================================================
   Tanitapps product sites - shared design system (SW+, FW+, GM+)
   One file, no theme dependency. A site sets its brand in :root:
     --brand, --brand-600, --brand-700, --brand-800, --brand-50, --accent
   ========================================================================= */

:root {
	--brand: #2e9e4f;
	--brand-600: #23893f;
	--brand-700: #1b6f33;
	--brand-800: #0f4d24;
	--brand-50: #eef8f1;
	--accent: #b7e08f;

	--ink: #0f1a14;
	--ink-2: #344039;
	--muted: #5d6a62;
	--line: #e4e9e6;
	--bg: #ffffff;
	--bg-soft: #f6f8f7;
	--dark: #0b1410;

	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 20, .06), 0 1px 3px rgba(16, 24, 20, .08);
	--shadow: 0 10px 30px -10px rgba(16, 24, 20, .18);
	--shadow-lg: 0 30px 70px -20px rgba(10, 30, 18, .35);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink-2); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; background: var(--brand-50); color: var(--brand-800); padding: 2px 6px; border-radius: 5px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.section-head p { font-size: 1.15rem; color: var(--muted); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 1rem; border-radius: 10px; padding: 14px 24px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px var(--brand); }
.btn-primary:hover { background: var(--brand-600); color: #fff; }
.btn-white { background: #fff; color: var(--brand-800); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.btn-white:hover { color: var(--brand-800); background: #f3faf5; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .25); }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 28px; }
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--brand-600); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .login { color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.4rem; color: var(--ink); cursor: pointer; padding: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
	radial-gradient(900px 500px at 85% -10%, rgba(183, 224, 143, .35), transparent 60%),
	radial-gradient(700px 500px at -10% 110%, rgba(46, 158, 79, .55), transparent 60%),
	linear-gradient(135deg, var(--brand-800) 0%, var(--brand-700) 45%, var(--brand-600) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image:
	linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
	linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 44px 44px; mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%); -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 96px 0 120px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); padding: 6px 14px 6px 6px; border-radius: 999px; font-size: .88rem; font-weight: 600; margin-bottom: 26px; }
.hero-badge b { background: #fff; color: var(--brand-800); padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.55rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .hl { background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 1.22rem; color: rgba(255, 255, 255, .86); max-width: 560px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .82); }
.hero-checks i { color: var(--accent); margin-right: 6px; }

/* Product frame (hero mock-up) */
.product { position: relative; }
.frame { background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .25); overflow: hidden; color: var(--ink); font-size: 13px; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f3f5f4; border-bottom: 1px solid var(--line); }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d7dcd9; }
.frame-bar span:nth-child(1) { background: #ff6159; } .frame-bar span:nth-child(2) { background: #ffbd2e; } .frame-bar span:nth-child(3) { background: #28c941; }
.frame-bar em { font-style: normal; margin-left: 10px; color: var(--muted); font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame-body { display: grid; grid-template-columns: 1.35fr 1fr; }
.sheet { padding: 14px; border-right: 1px solid var(--line); }
.sheet-row { display: grid; grid-template-columns: 1fr 1.25fr; border-bottom: 1px solid var(--line); padding: 8px 2px; }
.sheet-row span { color: var(--muted); }
.sheet-row b { font-weight: 600; background: #fff8dc; color: #0b4cc2; padding: 0 7px; border-radius: 4px; }
.sheet-title { background: var(--brand-800); color: #fff; font-weight: 700; padding: 7px 10px; border-radius: 6px; margin-bottom: 4px; }
.sheet-row.total b { background: var(--brand-50); color: var(--ink); }
.panel { padding: 14px 13px; background: #fbfcfb; }
.panel h5 { margin: 0 0 8px; font-size: 13px; color: var(--brand-800); letter-spacing: 0; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pill-wait { background: #fdeec2; color: #7a4f01; }
.pill-ok { background: #ddf3e2; color: #146c2e; }
.pill-no { background: #fde2e1; color: #a52a24; }
.pill-back { background: #dfeafd; color: #1f56b8; }
.pill-draft { background: #eceeed; color: #555; }
.tl { margin: 12px 0; }
.tl div { border-left: 3px solid #cfd8d3; padding: 3px 0 3px 9px; margin: 7px 0; font-weight: 600; }
.tl small { display: block; font-weight: 500; color: var(--muted); }
.tl .ok { border-color: #34a853; } .tl .now { border-color: #f2a600; }
.panel .cta { background: var(--brand-700); color: #fff; text-align: center; padding: 8px; border-radius: 7px; font-weight: 700; }

.float { position: absolute; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; gap: 11px; align-items: center; font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.float b { display: block; font-size: 13px; }
.float small { color: var(--muted); }
.float-1 { left: -44px; bottom: -58px; }
.float-1 i { background: #ea4335; }
.float-2 { right: -22px; top: -26px; animation-delay: -3s; }
.float-2 i { background: #34a853; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px 44px; padding: 28px 0; }
.trust-label { font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); font-size: 1.02rem; }
.trust-item i { font-size: 1.4rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: #fff; padding: 32px 26px; }
.stat b { display: block; font-size: 2.3rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .98rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-block; font-weight: 800; font-size: .85rem; color: var(--brand-600); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; letter-spacing: -.01em; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Feature rows */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 104px; }
.frow:last-child { margin-bottom: 0; }
.frow.rev .frow-text { order: 2; }
.frow-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.frow-text p { font-size: 1.08rem; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; color: var(--ink-2); font-weight: 500; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-50); color: var(--brand-600); font-size: 10px; display: grid; place-items: center; }
.visual { background: linear-gradient(160deg, var(--brand-50), #fff); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); padding: 16px; font-size: 14px; }
.card + .card { margin-top: 12px; }
.card-title { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.rule { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 7px; padding: 4px 10px; font-weight: 600; font-size: 13px; }
.chip.brand { background: var(--brand-50); border-color: transparent; color: var(--brand-800); }
.arrow { color: var(--muted); }
.person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; flex: none; }
.person b { font-weight: 600; flex: 1; }
.role { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.role.edit { background: #ddf3e2; color: #146c2e; } .role.read { background: #eceeed; color: #555; } .role.gone { background: #fde2e1; color: #a52a24; text-decoration: line-through; }
table.log { width: 100%; border-collapse: collapse; font-size: 13px; }
table.log th { background: #38761d; color: #fff; text-align: left; padding: 8px 10px; font-weight: 700; }
table.log td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.log td.st { text-align: center; font-weight: 700; }

/* Feature grid */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.feat:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.feat-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); font-size: 1.2rem; margin-bottom: 18px; }
.feat h3 { font-size: 1.12rem; letter-spacing: -.01em; }
.feat p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Use cases */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.usecase { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 20px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm); }
.usecase i { color: var(--brand-600); }

/* Security band */
.band-dark { background: var(--dark); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.band-dark::after { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(circle, rgba(46, 158, 79, .35), transparent 65%); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--accent); }
.band-dark .section-head p { color: rgba(255, 255, 255, .7); }
.sec-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sec { border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); border-radius: var(--radius); padding: 24px; }
.sec i { color: var(--accent); font-size: 1.3rem; margin-bottom: 14px; display: block; }
.sec h3 { font-size: 1.05rem; }
.sec p { margin: 0; font-size: .94rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.plan-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; margin-bottom: 6px; }
.plan .for { color: var(--muted); font-size: .95rem; min-height: 48px; }
.price { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; margin: 12px 0 2px; }
.price small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.plan li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; color: var(--brand-600); font-size: .85rem; top: 11px; }
.plan .btn { width: 100%; }
.plans-note { text-align: center; color: var(--muted); margin-top: 34px; font-size: .95rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); font-size: 1.05rem; position: relative; padding-right: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -3px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA */
.cta-band { padding: 0 0 104px; }
.cta-box { position: relative; overflow: hidden; border-radius: 28px; padding: 72px 40px; text-align: center; color: #fff; background:
	radial-gradient(600px 300px at 90% 0%, rgba(183, 224, 143, .4), transparent 60%),
	linear-gradient(135deg, var(--brand-800), var(--brand-600)); }
.cta-box::before { content: ""; position: absolute; inset: 0; background-image:
	linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
	linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: 40px 40px; mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-box p { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 620px; margin: 0 auto 30px; }

/* Footer */
.footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding: 72px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 18px; background: #fff; border-radius: 8px; padding: 6px 10px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 9px 0; }
.footer a { color: rgba(255, 255, 255, .72); }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding-top: 24px; font-size: .88rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float { animation: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1060px) {
	.hero-inner { grid-template-columns: 1fr; padding: 72px 0 90px; }
	.product { max-width: 620px; margin: 0 auto; width: 100%; }
	.float-1 { left: -8px; } .float-2 { right: -8px; }
	.steps, .sec-grid { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.frow { grid-template-columns: 1fr; gap: 36px; margin-bottom: 72px; }
	.frow.rev .frow-text { order: 0; }
	.grid3, .plans { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.nav-links, .nav-actions { display: none; }
	.nav-toggle { display: block; }
	.nav.open .nav-links, .nav.open .nav-actions { display: flex; }
	.nav.open .nav-inner { flex-wrap: wrap; height: auto; padding: 14px 0 20px; }
	.nav.open .nav-links { flex-direction: column; width: 100%; gap: 14px; margin: 10px 0 0; }
	.nav.open .nav-actions { width: 100%; }
}
@media (max-width: 640px) {
	.section { padding: 72px 0; }
	.steps, .sec-grid, .grid3, .plans, .stats, .faq { grid-template-columns: 1fr; }
	.plan.featured { transform: none; }
	.frame-body { grid-template-columns: 1fr; }
	.panel { border-top: 1px solid var(--line); }
	.float { display: none; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-box { padding: 56px 22px; }
	.visual { padding: 20px; }
}
