@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- ZINX brand tokens ---------- */
:root {
  --bg: #0A0A0C;
  --bg-2: #101114;
  --surface: #15161A;
  --line: #26282E;
  --line-2: #33363D;
  --text: #F2F3F5;
  --muted: #A3A8B3;
  --dim: #7C818C;
  --accent: #FF6A3F;
  --accent-hover: #FF8460;
  --accent-ink: #0A0A0C;
  --display: 'Archivo', 'Arial Black', Arial, sans-serif;
  --body: 'Archivo', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'DejaVu Sans Mono', ui-monospace, Menlo, monospace;
  /* >< pattern used behind hero and banner-like areas */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110' viewBox='0 0 110 110'%3E%3Cg fill='%23ffffff' fill-opacity='.05'%3E%3Cpolygon points='27,35 41,35 51,55 41,75 27,75 37,55'/%3E%3Cpolygon points='83,35 69,35 59,55 69,75 83,75 73,55'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.shell { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 10px; padding: 10px; background: var(--accent); color: var(--accent-ink); z-index: 200; }
.skip-link:focus { left: 10px; }

/* ---------- logo ---------- */
.logo { display: block; height: 26px; width: auto; }
.logo-ink { fill: var(--text); }
.logo-accent { fill: var(--accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 12, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.main-nav { display: flex; gap: 32px; color: var(--muted); font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.main-nav a:hover, .text-link:hover, .footer a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-toggle { border: 1px solid var(--line-2); background: transparent; color: var(--text); cursor: pointer; font-family: var(--mono); font-weight: 500; font-size: 12px; padding: 7px 10px; border-radius: 4px; min-height: 36px; }
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta { padding: 11px 16px; background: var(--accent); border-radius: 4px; color: var(--accent-ink); font-family: var(--mono); font-weight: 700; font-size: 12px; }
.nav-cta:hover { background: var(--accent-hover); }

/* ---------- shared type ---------- */
.prompt, .t-prompt { color: var(--accent); font-family: var(--mono); }
.cursor {
  display: inline-block; width: .55em; height: 1.05em; margin-left: .35em;
  background: var(--accent); vertical-align: -.17em;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.eyebrow, .kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; font-weight: 500; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.kicker { color: var(--accent); margin: 0 0 20px; }
.kicker::before { content: '> '; }

.hero h1, .section h2 { font-family: var(--display); font-stretch: 112%; letter-spacing: -.03em; }

/* ---------- hero ---------- */
.hero-wrap { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero-wrap::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: var(--pattern);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, transparent 35%, #000 80%);
          mask-image: radial-gradient(ellipse 60% 70% at 30% 50%, transparent 35%, #000 80%);
}
.hero { min-height: 640px; padding-top: 80px; padding-bottom: 96px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); line-height: 1.05; font-weight: 850; margin: 26px 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
.h1-last { white-space: nowrap; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }
.hero-note { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 20px; }

/* hero art: illustrative terminal-style file check */
.hero-art { position: relative; height: 470px; display: flex; align-items: center; justify-content: center; }
.art-mark { position: absolute; width: 92%; max-width: 520px; height: auto; fill: none; stroke: var(--line-2); stroke-width: 1.2; opacity: .9; }
.terminal {
  position: relative; width: min(440px, 100%);
  background: rgba(21, 22, 26, .92); border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  font-family: var(--mono); font-size: 14px;
}
.terminal-bar { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 11px; letter-spacing: .1em; }
.terminal-id { color: var(--accent); }
.terminal-body { padding: 18px 18px 8px; }
.terminal-body p { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.t-dim { color: var(--dim); padding-left: 18px; font-size: 12px; }
.t-fill { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); }
.t-ok { color: #8FD694; font-weight: 700; }
.t-warn { color: var(--accent); font-weight: 700; }
.terminal-foot { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.terminal-foot .accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  min-height: 48px; padding: 14px 20px; border-radius: 4px;
  font-family: var(--mono); font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border: 1px solid var(--line-2); background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.text-link { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--muted); }

/* ---------- ticker ---------- */
.ticker { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.ticker .sep { color: var(--accent); letter-spacing: 0; }

/* ---------- sections ---------- */
.section { padding-top: 110px; padding-bottom: 110px; }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.1; margin: 0 0 20px; font-weight: 800; }
.section-head > p:last-child, .form-intro > p:not(.kicker) { color: var(--muted); line-height: 1.75; font-size: 15px; }

/* issue cards */
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.issue-card { background: var(--surface); border: 1px solid var(--line); padding: 12px 12px 24px; border-radius: 8px; }
.issue-visual { height: 184px; border-radius: 5px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--bg) var(--pattern); }
.pixel-grid {
  width: 124px; height: 124px;
  background:
    linear-gradient(90deg, #3A3D45 25%, transparent 25% 50%, var(--accent) 50% 75%, transparent 75%),
    linear-gradient(#5A5E68 25%, #26282E 25% 50%, #8A8F99 50% 75%, #1B1C21 75%);
  background-size: 42px 42px; transform: rotate(-12deg); filter: blur(1.2px);
}
.crop-box { width: 160px; height: 112px; background: #26282E; border: 2px solid var(--text); outline: 1px dashed var(--accent); outline-offset: 12px; display: grid; place-items: center; transform: rotate(-8deg); }
.crop-box span { font-family: var(--mono); font-weight: 700; color: var(--text); letter-spacing: .2em; font-size: 15px; }
.type-sample { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 116px; letter-spacing: -.1em; color: #4A4D56; transform: rotate(-12deg); }
.issue-number { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink); border-radius: 3px; padding: 4px 8px; font-family: var(--mono); font-size: 11px; font-weight: 700; }
.issue-card h3 { font-family: var(--display); font-stretch: 108%; margin: 24px 12px 10px; font-size: 18px; letter-spacing: -.01em; }
.issue-card p { margin: 0 12px; color: var(--muted); line-height: 1.7; font-size: 14px; }

/* how it works */
.how-wrap { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.step { border-top: 1px solid var(--line-2); padding-top: 26px; }
.step-index { color: var(--accent); font-family: var(--mono); font-size: 26px; font-weight: 700; }
.step h3 { font-family: var(--display); font-stretch: 108%; font-size: 21px; margin: 20px 0 12px; letter-spacing: -.01em; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.75; }

/* pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 28px 26px 26px; display: flex; flex-direction: column; min-height: 380px; }
.price-card.featured { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pill { align-self: flex-start; border: 1px solid var(--line-2); color: var(--muted); padding: 6px 9px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; font-weight: 700; border-radius: 3px; }
.featured .pill { border-color: var(--accent); color: var(--accent); }
.price-card h3 { font-family: var(--display); font-stretch: 108%; font-size: 20px; margin: 26px 0 14px; }
.price { font-family: var(--display); font-stretch: 112%; font-weight: 850; letter-spacing: -.02em; font-size: 40px; min-height: 56px; }
.price-suffix { font: 500 12px var(--mono); color: var(--dim); letter-spacing: 0; margin-left: 8px; }
.price-card p { font-size: 14px; color: var(--muted); line-height: 1.7; flex: 1; }
.price-card .btn { margin-top: 22px; font-size: 12px; }
.price-footnote { max-width: 860px; font-size: 12px; line-height: 1.7; color: var(--dim); margin-top: 22px; }

/* form */
.form-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.form-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 64px; align-items: start; }
.form-intro { position: sticky; top: 112px; }
.form-intro h2 { max-width: 440px; }
.form-trust { display: grid; gap: 16px; margin-top: 32px; font-size: 14px; font-weight: 600; }
.form-trust > span { display: flex; gap: 12px; align-items: center; }
.form-trust b { color: var(--accent); font-family: var(--mono); }
.privacy-note { font-size: 12px !important; color: var(--dim) !important; margin-top: 36px; }
/* Tally renders dark text, so the form stays on a light card */
.form-card { border-radius: 8px; padding: 20px; background: #FFFFFF; color: #0A0A0C; box-shadow: 0 0 0 1px var(--line-2), 0 24px 60px rgba(0, 0, 0, .45); min-height: 780px; }
.form-card iframe { border: 0; display: block; }
.form-fallback { border-top: 1px solid #E6E7EA; padding: 18px 8px 4px; font-size: 13px; color: #4B5060; }
.form-fallback a { text-decoration: underline; color: #C2410C; font-weight: 700; }

/* faq */
.faq-section { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 16px; padding-right: 34px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-family: var(--mono); font-size: 20px; color: var(--accent); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { color: var(--muted); line-height: 1.75; font-size: 14px; padding-right: 40px; }

/* footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 22px; position: relative; overflow: hidden; }
.footer-inner, .footer-bottom { display: flex; justify-content: space-between; gap: 30px; }
.footer .logo { height: 34px; }
.footer-tag { color: var(--muted); font-family: var(--mono); font-size: 13px; margin-top: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; font-family: var(--mono); font-size: 13px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 44px; color: var(--dim); font-family: var(--mono); font-size: 11px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 64px; min-height: 0; }
  .hero-art { height: 400px; }
  .form-layout { grid-template-columns: 1fr; gap: 30px; }
  .form-intro { position: static; }
  .faq-section { grid-template-columns: 1fr; gap: 12px; }
  .steps { gap: 22px; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 32px); }
  .nav { height: 64px; }
  .nav-actions { gap: 10px; }
  .nav-cta { padding: 10px 11px; font-size: 11px; }
  .logo { height: 22px; }
  .hero { padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(38px, 11vw, 58px); margin: 20px 0; }
  .lead { font-size: 15px; }
  .hero-art { height: auto; padding: 10px 0 0; }
  .terminal { font-size: 12px; }
  .terminal-body p { gap: 6px; }
  .ticker-inner { gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 10px; padding-block: 16px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .section-head { margin-bottom: 28px; }
  .issue-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .issue-visual { height: 170px; }
  .price-card { min-height: 0; }
  .form-card { padding: 6px; min-height: 700px; }
  .form-card iframe { min-height: 680px; }
  .footer-inner { flex-direction: column; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions { gap: 18px; }
  .hero-wrap::before { -webkit-mask-image: linear-gradient(transparent 45%, #000 85%); mask-image: linear-gradient(transparent 45%, #000 85%); }
  .btn { gap: 12px; }
  .faq-section { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .cursor { animation: none; }
}
