/* Tecton Geomechanics site. Brand: ink #1B1F26, ember #F0892E, bone #EEEAE2. */
:root {
  --bg: #0d1014;
  --bg2: #12161b;
  --surface: #171c22;
  --surface2: #1d232b;
  --line: #262d36;
  --line2: #323a45;
  --text: #eeeae2;
  --muted: #a3abb5;
  --faint: #6f7885;
  --ember: #f0892e;
  --ember2: #d9741f;
  --ember-soft: rgba(240, 137, 46, .12);
  --steel: #6ea8ff;
  --mint: #4fd1a5;
  --radius: 14px;
  --max: 1200px;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ember); text-decoration: none; }
a:hover { text-decoration: underline; }
code, kbd, pre { font-family: var(--mono); }
code { font-size: .88em; background: var(--surface2); border: 1px solid var(--line); padding: .1em .4em; border-radius: 6px; }
kbd { font-size: .8em; background: var(--surface2); border: 1px solid var(--line2); border-bottom-width: 2px; padding: .15em .5em; border-radius: 6px; color: var(--text); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ember); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 20px; font-weight: 650; }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; }
section { padding: 96px 0; position: relative; }
.sec-head { margin-bottom: 44px; }
.sec-head h2 { margin: 12px 0 14px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(13, 16, 20, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.nav .logo img { height: 30px; width: auto; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.nav nav a:hover { color: var(--text); text-decoration: none; }
.nav .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 900px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px; font-weight: 600; font-size: 15.5px; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--ember); color: #1a1008; }
.btn-primary:hover { background: #ff9a40; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line2); }
.btn-ghost:hover { border-color: var(--ember); }
.btn small { font-weight: 500; opacity: .75; font-size: 12.5px; }

/* hero */
.hero { padding: 84px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -200px -200px auto auto; width: 900px; height: 900px; background:
  radial-gradient(circle at center, transparent 0 22%, rgba(240,137,46,.07) 22.2% 23%, transparent 23.2% 34%, rgba(238,234,226,.05) 34.2% 34.8%, transparent 35% 46%, rgba(238,234,226,.035) 46.2% 46.6%, transparent 46.8%);
  pointer-events: none; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 640px; background: radial-gradient(60% 60% at 70% 0%, rgba(240,137,46,.10), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--line2); border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--surface); }
.badge b { background: var(--ember-soft); color: var(--ember); padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: 12px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; font-weight: 750; margin: 22px 0 22px; max-width: 980px; }
.hero h1 em { font-style: normal; color: var(--ember); }
.hero .lead { font-size: 19.5px; max-width: 760px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 18px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--faint); font-size: 14px; }
.trust span::before { content: "✓"; color: var(--mint); margin-right: 7px; font-weight: 700; }

/* app window frame */
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line2); background: #1d1d1d; box-shadow: 0 40px 120px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02); }
.shot .bar { height: 30px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #2b2b2b; border-bottom: 1px solid #161616; font-size: 12px; color: #a3a3a3; }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #444; display: inline-block; }
.shot .bar span { margin-left: 8px; }
.shot img { width: 100%; height: auto; cursor: zoom-in; }
.hero-shot { margin-top: 56px; position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: -40px 8% auto; height: 200px; background: radial-gradient(closest-side, rgba(240,137,46,.25), transparent); filter: blur(40px); z-index: -1; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 64px; }
.stats div { background: var(--bg2); padding: 26px 24px; }
.stats b { display: block; font: 700 34px/1.1 var(--display); letter-spacing: -.02em; }
.stats b small { font-size: 18px; color: var(--ember); }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* workflow rail */
.rail { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 0; position: relative; margin-top: 8px; }
.rail::before { content: ""; position: absolute; left: 4%; right: 4%; top: 21px; height: 2px; background: linear-gradient(90deg, var(--ember), var(--steel)); opacity: .5; }
.rail button { all: unset; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 4px; position: relative; }
.rail button b { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line2); font: 700 15px var(--display); transition: all .15s; }
.rail button span { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.rail button:hover b, .rail button.on b { border-color: var(--ember); background: var(--ember); color: #1a1008; }
.rail button.on span { color: var(--text); }
@media (max-width: 900px) { .rail { grid-template-columns: repeat(4, 1fr); row-gap: 22px; } .rail::before { display: none; } }
.step-view { margin-top: 36px; display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.step-view .txt h3 { font-size: 26px; margin: 8px 0 12px; }
.step-view .txt p { color: var(--muted); margin: 0 0 14px; }
.step-view .txt ul { margin: 0; padding-left: 18px; color: var(--muted); }
.step-view .txt li { margin: 4px 0; }
@media (max-width: 900px) { .step-view { grid-template-columns: 1fr; } }

/* product tour */
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tour-tabs button { all: unset; cursor: pointer; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); font-size: 14px; font-weight: 550; background: var(--surface); transition: all .15s; }
.tour-tabs button:hover { color: var(--text); border-color: var(--faint); }
.tour-tabs button.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tour-pane { display: none; grid-template-columns: 1fr 330px; gap: 34px; align-items: start; }
.tour-pane.on { display: grid; animation: fade .35s ease; }
.tour-pane .txt h3 { font-size: 26px; margin: 6px 0 12px; }
.tour-pane .txt p { color: var(--muted); margin: 0 0 14px; }
.tour-pane .txt ul { list-style: none; padding: 0; margin: 0; }
.tour-pane .txt li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; color: var(--text); font-size: 15px; }
.tour-pane .txt li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ember); }
@media (max-width: 980px) { .tour-pane { grid-template-columns: 1fr; } }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line2); transform: translateY(-2px); }
.card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ember-soft); color: var(--ember); margin-bottom: 16px; }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

/* AI section */
.ai { background: linear-gradient(180deg, var(--bg) 0%, #0f1319 30%, #0f1319 70%, var(--bg) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ai::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 40% at 15% 20%, rgba(110,168,255,.10), transparent 70%), radial-gradient(40% 40% at 90% 70%, rgba(240,137,46,.08), transparent 70%); pointer-events: none; }
.ai .wrap { position: relative; }
.ai-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 980px) { .ai-split { grid-template-columns: 1fr; } }
.steps3 { counter-reset: s; display: grid; gap: 14px; }
.steps3 > div { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 20px 68px; position: relative; }
.steps3 > div::before { content: counter(s); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--steel); color: #0b1220; font: 700 15px var(--display); }
.steps3 > .note { counter-increment: none; padding: 14px 16px; }
.steps3 > .note::before { display: none; }
.steps3 h3 { font-size: 17.5px; margin-bottom: 6px; }
.steps3 p { color: var(--muted); margin: 0; font-size: 15px; }
.clients { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.clients span { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line2); color: var(--text); }

/* chat mock */
.chat { background: #14181e; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.chat header { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.chat header .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.chat .body { padding: 18px; display: grid; gap: 12px; font-size: 14.5px; }
.msg { padding: 12px 14px; border-radius: 12px; max-width: 92%; }
.msg.user { background: var(--surface2); justify-self: end; border: 1px solid var(--line2); }
.msg.ai { background: transparent; border: 1px solid var(--line); }
.msg.ai p { margin: 0 0 8px; }
.msg.ai p:last-child { margin: 0; }
.tool { display: flex; align-items: center; gap: 8px; font: 12.5px/1.3 var(--mono); color: var(--muted); padding: 6px 10px; border-radius: 8px; background: #0f1216; border: 1px solid var(--line); }
.tool::before { content: "⚙"; color: var(--steel); }
.tool em { font-style: normal; color: var(--mint); margin-left: auto; }
.tools { display: grid; gap: 6px; }
.chat .typing { opacity: 0; transform: translateY(6px); transition: all .4s ease; }
.chat .typing.show { opacity: 1; transform: none; }

/* teach-the-agent */
.teach { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
@media (max-width: 980px) { .teach { grid-template-columns: 1fr; } }
.file-card { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line2); border-radius: var(--radius); padding: 18px; margin: 20px 0; }
.file-card .fi { width: 48px; height: 56px; border-radius: 8px; background: linear-gradient(160deg, #2a3240, #1b212b); border: 1px solid var(--line2); display: grid; place-items: center; font: 700 11px var(--mono); color: var(--steel); flex: none; }
.file-card b { display: block; font-family: var(--mono); font-size: 14.5px; }
.file-card span { color: var(--muted); font-size: 13.5px; }
.file-card .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.file-card .btn { padding: 9px 14px; font-size: 13.5px; }
.howto { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.howto .tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.howto .tabs button { all: unset; cursor: pointer; padding: 12px 16px; font-size: 13.5px; color: var(--muted); font-weight: 550; border-bottom: 2px solid transparent; }
.howto .tabs button.on { color: var(--text); border-bottom-color: var(--ember); }
.howto .pane { display: none; padding: 20px 22px; }
.howto .pane.on { display: block; }
.howto .pane p, .howto .pane li { color: var(--muted); font-size: 15px; }
.howto .pane ol { padding-left: 20px; margin: 0; }
.howto .pane li { margin: 6px 0; }
.howto .pane li b, .howto .pane p b { color: var(--text); }
pre { margin: 12px 0 0; background: #0b0e12; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow: auto; font-size: 13px; line-height: 1.55; color: #d6dbe2; position: relative; }
pre .k { color: var(--steel); } pre .s { color: #f5b97a; } pre .c { color: var(--faint); }
.copy { position: absolute; top: 8px; right: 8px; all: unset; }
.codebox { position: relative; }
.codebox .copy { position: absolute; top: 8px; right: 8px; cursor: pointer; font: 600 11.5px var(--sans); color: var(--muted); background: var(--surface2); border: 1px solid var(--line2); padding: 4px 9px; border-radius: 6px; }
.codebox .copy:hover { color: var(--text); }
.prompts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.prompts div { background: var(--surface); border: 1px dashed var(--line2); border-radius: 12px; padding: 16px 18px; font-size: 14.5px; color: var(--text); }
.prompts div::before { content: "“"; color: var(--ember); font: 700 28px/0 var(--display); vertical-align: -10px; margin-right: 4px; }
@media (max-width: 800px) { .prompts { grid-template-columns: 1fr; } }
.note { display: flex; gap: 14px; align-items: flex-start; background: rgba(79,209,165,.07); border: 1px solid rgba(79,209,165,.25); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: 14.5px; margin-top: 22px; }
.note svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 2px; }
.note.warn { background: rgba(240,137,46,.07); border-color: rgba(240,137,46,.3); }
.note.warn svg { color: var(--ember); }
.note b { color: var(--text); }

/* download */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.dl .os { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dl .os svg { width: 34px; height: 34px; }
.dl .os h3 { font-size: 22px; }
.dl .os span { color: var(--muted); font-size: 13.5px; display: block; }
.dl > .btn { align-self: flex-start; }
.dl .meta { color: var(--faint); font-size: 13px; font-family: var(--mono); margin: 10px 0 18px; }
.dl ol { color: var(--muted); padding-left: 20px; margin: 18px 0 0; font-size: 15px; }
.dl ol li { margin: 8px 0; }
.dl ol b { color: var(--text); }
.dl-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.dl-more a { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; color: var(--text); }
.dl-more a:hover { border-color: var(--ember); text-decoration: none; }
.dl-more a svg { width: 24px; height: 24px; color: var(--ember); flex: none; }
.dl-more a b { display: block; font-size: 15px; }
.dl-more a span { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .dl-grid, .dl-more { grid-template-columns: 1fr; } }

/* Windows warning walkthrough */
.warn-walk { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .warn-walk { grid-template-columns: 1fr; } }
.ss { font-family: "Segoe UI", system-ui, sans-serif; background: #0067b8; color: #fff; border-radius: 6px; padding: 34px 34px 22px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); position: relative; max-width: 520px; }
.ss .t { font-size: 27px; font-weight: 600; margin-bottom: 18px; letter-spacing: -.01em; }
.ss p { font-size: 14px; margin: 0 0 10px; opacity: .95; }
.ss .more { text-decoration: underline; cursor: pointer; display: inline-block; margin-bottom: 8px; }
.ss .det { font-size: 13.5px; display: none; margin: 8px 0 4px; }
.ss .det.show { display: block; }
.ss .btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 30px; }
.ss .btns span { border: 1px solid rgba(255,255,255,.8); padding: 6px 22px; font-size: 14px; }
.ss .btns span.run { display: none; }
.ss.open .btns span.run { display: inline-block; outline: 3px solid var(--ember); outline-offset: 3px; }
.ss .hint { position: relative; display: inline-block; margin-left: 12px; vertical-align: 1px; background: var(--ember); color: #1a1008; font: 700 12px var(--sans); padding: 4px 9px; border-radius: 6px; animation: bob 1.4s ease-in-out infinite; }
.ss.open .hint { display: none; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.wsteps { counter-reset: w; list-style: none; padding: 0; margin: 0; }
.wsteps li { counter-increment: w; position: relative; padding: 0 0 22px 48px; color: var(--muted); }
.wsteps li::before { content: counter(w); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ember); color: var(--ember); font: 700 14px var(--display); }
.wsteps li b { color: var(--text); }
.wsteps li h4 { margin: 0 0 4px; color: var(--text); font-size: 16px; }

/* getting started */
.gs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: g; }
.gs > div { counter-increment: g; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.gs > div::before { content: "0" counter(g); font: 700 13px var(--mono); color: var(--ember); display: block; margin-bottom: 12px; }
.gs h3 { font-size: 17px; margin-bottom: 8px; }
.gs p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .gs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gs { grid-template-columns: 1fr; } }
.tutorials { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .tutorials { grid-template-columns: 1fr; } }
.tlist { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tlist li { display: flex; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.tlist li:last-child { border-bottom: 0; }
.tlist li b { font: 700 12px var(--mono); color: var(--ember); width: 22px; }
.tlist li span { color: var(--muted); font-size: 14px; display: block; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; color: var(--muted); font-size: 14.5px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); cursor: zoom-in; }
.gallery img { aspect-ratio: 16/10; object-fit: cover; object-position: top left; width: 100%; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding: 9px 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--ember); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

/* closing CTA + footer */
.closing { text-align: center; padding: 110px 0; background: radial-gradient(50% 70% at 50% 100%, rgba(240,137,46,.14), transparent 70%); border-top: 1px solid var(--line); }
.closing img { width: 74px; margin: 0 auto 22px; }
.closing h2 { max-width: 760px; margin: 0 auto 16px; }
.closing .lead { margin: 0 auto; }
.closing .cta { justify-content: center; }
footer { border-top: 1px solid var(--line); padding: 34px 0 50px; color: var(--faint); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { color: var(--muted); }
footer .sp { margin-left: auto; }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(5,7,10,.92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 3vw; cursor: zoom-out; }
.lb.on { display: flex; }
.lb img { max-width: 100%; max-height: 92vh; border-radius: 8px; box-shadow: 0 30px 120px rgba(0,0,0,.6); }
.lb p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* let grid columns shrink on small screens */
.teach > *, .ai-split > *, .tour-pane > *, .step-view > *, .warn-walk > *, .tutorials > *, .dl-grid > * { min-width: 0; }
.file-card { flex-wrap: wrap; }
.file-card b { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .file-card .acts { margin-left: 0; }
  .ss { padding: 24px 22px 18px; }
  .ss .t { font-size: 22px; }
  .hero .lead { font-size: 17px; }
}

/* audience cards */
.aud .card { padding: 28px; }
.aud .card h3 { font-size: 21px; margin-bottom: 10px; }
.aud .card p { font-size: 15px; }
.aud ul { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); }
.aud li { padding: 8px 0 0 22px; position: relative; font-size: 14px; color: var(--text); }
.aud li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 700; }

/* Edge download-protection illustration */
#browser-warning { margin-top: 64px; }
.edge { position: relative; max-width: 480px; background: #2b2b2b; color: #f3f3f3; border: 1px solid #3c3c3c; border-radius: 10px; font-family: "Segoe UI", system-ui, sans-serif; box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.edge .eh { display: flex; justify-content: space-between; padding: 12px 16px; font-weight: 600; font-size: 15px; border-bottom: 1px solid #3c3c3c; }
.edge .eh span { color: #aaa; }
.edge .ei { position: relative; padding: 12px; }
.edge .efile { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 6px; background: #333; }
.edge .zip { flex: none; width: 34px; height: 40px; border-radius: 4px; background: #f2c14e; color: #3a2a00; font: 700 10px/40px var(--mono); text-align: center; }
.edge .efile b { display: block; font-size: 13px; font-weight: 600; word-break: break-all; }
.edge .efile small { display: block; color: #f7c948; font-size: 12.5px; margin-top: 4px; line-height: 1.4; }
.edge .emore { margin-left: auto; cursor: pointer; padding: 2px 8px; border-radius: 4px; font-weight: 700; color: #ddd; }
.edge .emore:hover { background: #444; }
.edge .emenu { display: none; position: absolute; right: 14px; top: 52px; background: #2f2f2f; border: 1px solid #4a4a4a; border-radius: 8px; padding: 4px; z-index: 2; min-width: 200px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.edge .emenu span { display: block; padding: 7px 12px; font-size: 13px; border-radius: 4px; }
.edge .emenu span.k { cursor: pointer; outline: 2px solid var(--ember); outline-offset: -2px; }
.edge.s1 .emenu { display: block; }
.edge .econf { display: none; margin: 0 12px 12px; padding: 16px; background: #333; border-radius: 8px; }
.edge.s2 .econf, .edge.s3 .econf { display: block; }
.edge .econf b { font-size: 14px; display: block; margin-bottom: 8px; }
.edge .econf p { font-size: 12.5px; color: #ccc; margin: 0 0 12px; }
.edge .erow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.edge .erow span { font-size: 13px; padding: 5px 12px; border-radius: 4px; background: #444; }
.edge .erow .sm { background: transparent; color: #8ab4f8; cursor: pointer; padding-left: 0; }
.edge .erow .ka { display: none; cursor: pointer; }
.edge.s2 .erow .sm { outline: 2px solid var(--ember); outline-offset: 2px; }
.edge.s3 .erow .sm { display: none; }
.edge.s3 .erow .ka { display: inline-block; outline: 2px solid var(--ember); outline-offset: 2px; }
.edge .edone { display: none; margin: 0 12px 12px; padding: 12px 14px; border-radius: 8px; background: rgba(79,209,165,.12); color: var(--mint); font-size: 13.5px; font-weight: 600; }
.edge.s4 .edone { display: block; }
.edge.s4 .econf, .edge.s4 .efile small { display: none; }
.edge .hint { position: absolute; right: 52px; top: 10px; background: var(--ember); color: #1a1008; font: 700 12px var(--sans); padding: 4px 9px; border-radius: 6px; animation: bob 1.4s ease-in-out infinite; z-index: 3; }
.edge.s4 .hint { display: none; }
