/* ==========================================================================
   Tikz Tools: AI Visibility Checker
   Colours, fonts and buttons copied from tikzmedia.com.
   Change colours and fonts ONLY in the :root block.
   ========================================================================== */
:root {
  --primaryFont: "Be Vietnam Pro", sans-serif;   /* headings */
  --secondaryFont: "Inter", sans-serif;          /* body */
  --ink: #111111;
  --accent: #FF6200;
  --ground: #FFF4E6;
  --white: #FFFFFF;
  --margin: clamp(16px, 3vw, 32px);  /* the one outer margin */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font-family: var(--secondaryFont); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
a { color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { padding-left: var(--margin); padding-right: var(--margin); }

h1, h2 { font-family: var(--primaryFont); font-weight: 900; text-transform: uppercase; letter-spacing: -0.05em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.1rem, 8vw, 7rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); }

/* Buttons: flat, square, black; orange on hover (as tikzmedia.com) */
.btn-tikz { display: inline-flex; align-items: center; justify-content: center; background: var(--ink); color: var(--white); border: 0; border-radius: 0; font-family: var(--primaryFont); font-weight: 800; font-size: 1rem; padding: 0 2rem; min-height: 56px; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, transform .15s; white-space: nowrap; }
.btn-tikz:hover { background: var(--accent); color: var(--white); }
.btn-tikz:active { transform: translateY(2px); }
.btn-tikz:disabled { opacity: .6; cursor: wait; }
.btn-tikz.on-dark { background: var(--accent); }
.btn-tikz.on-dark:hover, .btn-tikz.light:hover { background: var(--white); color: var(--ink); }
.btn-tikz.light { background: #2a2a2a; }
.btn-tikz.on-accent:hover { background: var(--white); color: var(--ink); }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--margin); background: rgba(255,244,230,.9); backdrop-filter: blur(12px); }
.site-header img { height: 30px; width: auto; display: block; }
@media (min-width: 768px) { .site-header img { height: 36px; } }
.site-header .btn-tikz { min-height: 46px; padding: 0 1.4rem; font-size: .95rem; }

/* First screen */
.hero { padding-top: 112px; padding-bottom: clamp(48px, 6vw, 88px); }
.hero h1 { margin-bottom: clamp(32px, 5vw, 72px); }
.hero-row { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 992px) { .hero-row { grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 96px); } }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.4rem); margin: 0; max-width: 30rem; color: rgba(17,17,17,.85); }
.check-form label[for=url] { display: block; font-weight: 600; margin-bottom: .5rem; }
.row-input { display: grid; gap: .5rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .row-input { grid-template-columns: 1fr auto; } }
input[type=url], input[type=text], input[type=email] { width: 100%; min-height: 56px; padding: .9rem 1rem; font: inherit; color: var(--ink); background: var(--white); border: 0; border-radius: 0; }
input:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.hint { margin: .75rem 0 0; font-size: .95rem; color: rgba(17,17,17,.7); }
.form-msg { color: #B3261E; font-weight: 600; margin: .6rem 0 0; min-height: 0; }
.form-msg:empty { display: none; }
.loading { margin: 1rem 0 0; font-weight: 600; }

/* Result */
#report { background: var(--ink); color: var(--white); padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); scroll-margin-top: 0; }
.report-top { display: grid; gap: 1.5rem clamp(32px, 5vw, 80px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 992px) { .report-top { grid-template-columns: auto 1fr; } }
.score-num { font-family: var(--primaryFont); font-weight: 900; letter-spacing: -0.07em; line-height: .8; color: var(--accent); font-size: clamp(9rem, 24vw, 22rem); display: flex; align-items: baseline; gap: .06em; }
.score-num small { font-size: .2em; letter-spacing: -.03em; color: var(--white); }
.verdict { font-family: var(--primaryFont); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: 1; font-size: clamp(1.8rem, 4vw, 3.5rem); margin: 0; }
.report-url { margin: 1rem 0 0; color: rgba(255,255,255,.75); word-break: break-all; }

.cats { margin: clamp(40px, 6vw, 88px) 0; display: grid; gap: 4px; }
.cat { background: #1d1d1d; padding: 1.1rem 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: .6rem 1.5rem; align-items: center; }
.cat .name { font-weight: 600; font-size: 1.05rem; }
.cat .pts { font-family: var(--primaryFont); font-weight: 900; font-size: 1.5rem; letter-spacing: -.04em; }
.cat .pts span { color: rgba(255,255,255,.6); font-weight: 700; font-size: 1rem; }
.cat .track { grid-column: 1 / -1; height: 10px; background: #2f2f2f; }
.cat .fill { height: 100%; width: 0; background: var(--accent); transition: width 1s cubic-bezier(.2,.7,.2,1); }

.issues { margin-top: 1.75rem; display: grid; gap: 4px; }
.issue { background: var(--ground); color: var(--ink); padding: clamp(20px, 3vw, 36px); display: grid; gap: .75rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .issue.has-fix { grid-template-columns: 1fr 1fr; } }
.issue h3 { font-family: var(--primaryFont); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: 1.05; font-size: clamp(1.2rem, 2vw, 1.7rem); margin: 0 0 .4rem; }
.issue p { margin: 0; }
.issue .fix { background: var(--white); padding: 1rem 1.25rem; }
.issue .fix b { display: block; color: var(--accent); margin-bottom: .2rem; }

.gate { margin-top: clamp(40px, 6vw, 88px); background: #1d1d1d; color: var(--white); padding: clamp(24px, 4vw, 64px); display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 992px) { .gate { grid-template-columns: 1fr 1fr; align-items: start; } }
.gate form { display: grid; gap: 1rem; }
/* Form style copied from tikzmedia.com: underline-only fields, label as placeholder, white square button */
.gate input[type=text], .gate input[type=email], .gate input[type=url] { background: transparent; color: var(--white); min-height: 56px; padding: .85rem 0; font-weight: 600; border-bottom: 1.6px solid rgba(255,255,255,.2); }
.gate input::placeholder { color: rgba(255,255,255,.6); opacity: 1; font-weight: 600; }
.gate input:focus { outline: 0; border-bottom-color: var(--accent); }
.gate .check { color: rgba(255,255,255,.75); font-size: .95rem; }
.gate .check input { accent-color: var(--accent); }
.gate .btn-tikz { background: var(--white); color: var(--ink); width: 100%; font-weight: 600; }
.gate .btn-tikz:hover { background: var(--accent); color: var(--white); }
.form-msg.dark { color: #FFB38A; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 600; }
.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--ink); flex: none; }
.after { margin-top: clamp(32px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: .75rem; }
.honesty { margin: 2rem 0 0; color: rgba(255,255,255,.7); font-size: .95rem; }

/* ==========================================================================
   Content sections (below the checker): works with, what we check, why, FAQ, closing band
   ========================================================================== */
.works, .covers, .why, .faq, .closing { padding-top: clamp(56px, 8vw, 120px); padding-bottom: clamp(56px, 8vw, 120px); }

.works { padding-top: clamp(40px, 5vw, 72px); padding-bottom: 0; }
.works-lead { margin: 0 0 1rem; font-weight: 600; }
.works-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 2.25rem; }
.works-list li { display: flex; align-items: center; gap: .55rem; font-family: var(--primaryFont); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; font-size: clamp(1.25rem, 2.6vw, 2.1rem); }
.works-list img { width: 1em; height: 1em; flex: none; display: block; }
.works-note { margin: 1.25rem 0 0; color: rgba(17,17,17,.7); }

.section-head { display: grid; gap: 1rem 2rem; grid-template-columns: 1fr; align-items: end; margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 992px) { .section-head { grid-template-columns: 7fr 5fr; } }
.section-head p { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.4rem); color: rgba(17,17,17,.85); }
.cover-grid { display: grid; gap: 4px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cover-grid { grid-template-columns: 1fr 1fr; } .cover:last-child { grid-column: 1 / -1; } }
.cover { background: var(--white); padding: clamp(20px, 3vw, 36px); }
.cover h3 { font-family: var(--primaryFont); font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: 1.05; font-size: clamp(1.2rem, 2vw, 1.7rem); margin: 0 0 .5rem; }
.cover p { margin: 0; }

.why { background: var(--ink); color: var(--white); display: grid; gap: 2rem clamp(32px, 5vw, 96px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .why { grid-template-columns: 5fr 7fr; } }
.why-body p { margin: 0 0 1.25rem; font-size: clamp(1.1rem, 1.6vw, 1.4rem); max-width: 40rem; }
.why-body .why-note { font-size: 1rem; color: rgba(255,255,255,.7); margin-bottom: 2rem; }

.faq h2 { margin-bottom: clamp(32px, 5vw, 64px); }
.faq-list { display: grid; gap: 4px; max-width: 60rem; }
.faq details { background: var(--white); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem clamp(20px, 3vw, 36px); font-family: var(--primaryFont); font-weight: 800; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -.02em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.8rem; line-height: 1; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 clamp(20px, 3vw, 36px) 1.5rem; max-width: 46rem; }

.closing { background: var(--accent); color: var(--ink); display: grid; gap: 2rem clamp(32px, 5vw, 96px); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 992px) { .closing { grid-template-columns: 7fr 5fr; } }
.closing-side p { margin: 0 0 1.5rem; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }

/* ==========================================================================
   Footer: copied from tikzmedia.com (colours, type, layout). Krazy block and "Preferred Source" left out.
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--white); position: relative; overflow: hidden; min-height: 70vh; display: flex; flex-direction: column; padding: 8rem 1.5rem 2rem; }
@media (min-width: 768px) { .site-footer { min-height: 80vh; padding-left: 3rem; padding-right: 3rem; } }
.footer-gradient { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.5)); pointer-events: none; z-index: 0; }
.footer-inner { position: relative; z-index: 10; display: flex; flex-direction: column; flex-grow: 1; width: 100%; }
.footer-top { display: grid; gap: 4rem 3rem; grid-template-columns: 1fr; margin-bottom: 6rem; }
@media (min-width: 992px) { .footer-top { grid-template-columns: 7fr 5fr; } .footer-cols { padding-top: 3rem; } }
.footer-eyebrow { display: flex; align-items: center; gap: .5rem; color: var(--accent); margin-bottom: 1.5rem; }
.logo-dot { width: 12px; height: 12px; background: var(--accent); border-radius: 50%; display: inline-block; animation: tikzPulse 2s infinite; }
@keyframes tikzPulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.footer-cta { display: inline-block; position: relative; color: var(--white); text-decoration: none; font-size: 2.5rem; line-height: .95; letter-spacing: -.05em; transition: color .5s; word-break: break-word; }
@media (min-width: 1025px) { .footer-cta { font-size: 4.5rem; } }
@media (max-width: 580px) { .footer-cta { font-size: 1.5rem; } }
.footer-cta:hover { color: var(--accent); }
.footer-cta-line { display: block; height: 4px; width: 0; background: var(--accent); margin-top: 1rem; transition: width .7s ease-in-out; }
.footer-cta:hover .footer-cta-line { width: 100%; }
.footer-cols { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr 1fr; align-content: start; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-links-col { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.footer-links-title { font-family: monospace; font-size: 10px; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .2em; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: .75rem; margin-bottom: .5rem; align-self: stretch; }
.footer-link { font-size: 14px; color: rgba(255,255,255,.7); text-decoration: none; transition: transform .3s, color .3s; display: inline-block; }
.footer-link:hover { color: var(--white); transform: translateX(4px); }
.footer-address { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.65; margin: 0; }
.footer-bottom { margin-top: auto; display: flex; flex-direction: column; align-items: center; width: 100%; position: relative; z-index: 10; }
.footer-bottom-bar { width: 100%; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; position: relative; z-index: 20; }
@media (min-width: 768px) { .footer-bottom-bar { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 0; } }
.footer-city-label { display: flex; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.city-name { font-size: 14px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; color: var(--white); }
.city-sep { margin: 0 10px; font-size: 14px; font-weight: 300; color: rgba(255,255,255,.35); }
.footer-copyright { font-family: monospace; font-size: 10px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .2em; margin: 0; }
.footer-marquee { width: 100%; display: flex; justify-content: center; align-items: flex-end; overflow: hidden; margin-top: 1rem; margin-bottom: -20px; pointer-events: none; }
@media (min-width: 768px) { .footer-marquee { margin-top: 20px; margin-bottom: 20px; } }
.footer-marquee span { font-family: var(--primaryFont); font-weight: 900; text-transform: uppercase; font-size: 15.5vw; line-height: .75; letter-spacing: -.05em; color: rgba(255,255,255,.04); user-select: none; white-space: nowrap; }
@media (max-width: 580px) { .footer-marquee span { color: rgba(255,255,255,.15); } }
@media (min-width: 1025px) { .footer-marquee span { font-size: 16.5vw; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cat .fill { transition: none; } .btn-tikz { transition: none; } .logo-dot { animation: none; } }
