/* TrioDeal marketing site — palette from DESIGN_TOKENS.md / graphics/triodeal-brand.css */
:root {
  --ink: #0d1033;
  --ink-soft: #171c4f;
  --ink-3: #262c6b;
  --em: #10b981;
  --em-light: #6ee7b7;
  --em-deep: #047857;
  --surface: #f7f8fc;
  --card: #ffffff;
  --border: #e1e3f0;
  --text: #0d1033;
  --muted: #5b6185;
  --grad: linear-gradient(135deg, #6ee7b7, #10b981);
  --radius: 14px;
  --shadow: 0 10px 30px rgb(13 16 51 / 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--surface); color: var(--text);
  font: 16px/1.6 Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--em-deep); }
img { max-width: 100%; }
code { font: 0.9em ui-monospace, Consolas, monospace; background: #eef0f8; padding: 1px 5px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px;
  text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--em-light); outline-offset: 2px; }
.btn.lg { padding: 14px 24px; font-size: 16px; }
.btn.block { display: flex; width: 100%; }
.btn.primary { background: var(--grad); color: var(--ink); box-shadow: 0 6px 18px rgb(16 185 129 / .35); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgb(16 185 129 / .45); }
.btn.ghost { color: inherit; border-color: rgb(255 255 255 / .25); }
.btn.ghost:hover { background: rgb(255 255 255 / .08); }
.btn.light { background: #fff; color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgb(13 16 51 / .92); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgb(255 255 255 / .08); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; }
.logo b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot .logo b { color: var(--em-deep); background: none; -webkit-text-fill-color: var(--em-deep); }
.links { display: flex; gap: 22px; margin-inline-start: 12px; }
.links a { color: #d4d7ef; text-decoration: none; font-size: 15px; font-weight: 500; }
.links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; margin-inline-start: auto; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% -10%, rgb(16 185 129 / .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgb(38 44 107 / .9), transparent 60%),
    var(--ink);
  color: #fff; padding: 72px 0 88px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); font-size: 14px; color: #d4d7ef; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--em); box-shadow: 0 0 0 4px rgb(16 185 129 / .25); }
h1 { font-size: clamp(36px, 5.2vw, 60px); line-height: 1.06; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 800; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #c9cce8; max-width: 600px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .fine { color: #a3a8d1; }

.hero-art { position: relative; }
.flow { position: relative; padding: 10px 0 10px 0; }
.flow-line { position: absolute; left: 0; top: 0; width: 60px; height: 100%; z-index: 0; }
.flow-line path { stroke: url(#none); stroke: rgb(110 231 183 / .45); stroke-width: 3; stroke-dasharray: 6 8; fill: none; vector-effect: non-scaling-stroke; }
.node { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; backdrop-filter: blur(4px); }
.node span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); background: var(--em-light); }
.node.n2 span { background: #34d399; }
.node.n3 span { background: var(--em); color: #fff; }
.node.n2 { margin-inline-start: 28px; }
.node.n3 { margin-inline-start: 56px; border-color: rgb(16 185 129 / .55); box-shadow: 0 0 0 4px rgb(16 185 129 / .12); }
.node b { display: block; }
.node small { color: #a3a8d1; font-size: 14px; }
.stat-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); text-align: center; }
.stat-card b { display: block; font-size: 24px; color: var(--em-deep); letter-spacing: -0.02em; }
.stat-card small { color: var(--muted); font-size: 13px; }

.band { background: var(--ink-soft); color: #d4d7ef; border-top: 1px solid rgb(255 255 255 / .06); }
.band-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; padding-top: 16px; padding-bottom: 16px; font-weight: 600; font-size: 15px; }
.band i { color: var(--em-light); font-style: normal; }
.band .em { color: var(--em-light); }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--em-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin: 0 0 8px; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 36px; font-weight: 800; }
h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step p, .card p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: var(--ink); font-weight: 800; margin-bottom: 16px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--surface); }
.card h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 14px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.feat ul, .checks { list-style: none; padding: 0; margin: 0; }
.feat li, .checks li { position: relative; padding-inline-start: 28px; margin: 10px 0; }
.feat li::before, .checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--em) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.split h2 { margin-bottom: 16px; }

.price-card { max-width: 480px; margin: 0 auto; background: #fff; border: 2px solid var(--em); border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgb(16 185 129 / .15); }
.price-top { text-align: center; margin-bottom: 18px; }
.price { margin: 8px 0 0; }
.amt { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; }
.per { color: var(--muted); font-size: 18px; margin-inline-start: 4px; }
.price-card .checks { margin: 18px 0 26px; }

details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; position: relative; padding-inline-end: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 10px; font-size: 22px; color: var(--em-deep); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

.cta { background: var(--ink); color: #fff; padding: 64px 0; background-image: radial-gradient(600px 300px at 90% 0%, rgb(16 185 129 / .25), transparent 70%); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #c9cce8; }

.foot { padding: 36px 0; background: #fff; border-top: 1px solid var(--border); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 20px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--em-deep); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .steps, .cards { grid-template-columns: 1fr 1fr; }
  .links { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0 64px; }
  .steps, .cards, .feat-grid { grid-template-columns: 1fr; }
  .nav-cta .ghost { display: none; }
  .nav-row { height: 60px; }
  .section { padding: 60px 0; }
  .node.n2 { margin-inline-start: 14px; }
  .node.n3 { margin-inline-start: 28px; }
  .price-card { padding: 24px; }
  .amt { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
