/* Cutframe SEO pages: same look as the main site (black, red, Montserrat + IBM Plex Mono) */
:root {
  --bg: #050505;
  --surface: #0c0c0c;
  --surface-2: #131313;
  --line: #1f1f1f;
  --line-2: #2c2c2c;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --red: #e8291c;
  --red-hover: #ff4033;
  --max: 1120px;
  --prose: 720px;
  --sans: "Montserrat", "Noto Sans Telugu", "Nirmala UI", "Telugu Sangam MN", "Gautami", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-hover); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; font-weight: 700;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: 0.14em; font-size: 0.95rem; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; border-radius: 50%; display: block; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--red); }
.nav .btn { margin-left: 8px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  background: var(--red); color: #fff; border: 1px solid var(--red);
  font: 700 0.8rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); color: var(--text); }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Hero */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 8vw, 96px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--red); flex: none; }
h1 {
  margin: 0 0 24px; max-width: 18ch;
  font-weight: 800; font-size: clamp(2.25rem, 6.4vw, 4.5rem); line-height: 1.04; letter-spacing: -0.02em;
}
h1.wide { max-width: 22ch; }
h1.article-h1 { max-width: 26ch; font-size: clamp(2rem, 4.8vw, 3.4rem); line-height: 1.1; }
.lead { max-width: 62ch; margin: 0 0 36px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d4d4d4; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
h2 { margin: 0 0 16px; font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { margin: 0 0 8px; font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.copy { max-width: 66ch; color: #d4d4d4; }

/* Tick list: red square bullets, as on the main site */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 6px 0 6px 28px; color: #d4d4d4; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 1.05em; width: 8px; height: 8px; background: var(--red); }

/* Card grids with hairline borders */
.cards {
  display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card { position: relative; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 28px 72px; overflow: hidden; min-height: 190px; }
.card p, .card dd { margin: 0; color: var(--muted); font-size: 0.95rem; }
.card dt { margin: 0 0 8px; font-weight: 700; font-size: 1.05rem; }
.card dl, dl.cards { margin: 0; }
.card .tag { display: block; margin-bottom: 14px; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.num {
  position: absolute; right: 18px; bottom: -14px;
  font-weight: 800; font-size: 5.5rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px #3a3a3a; pointer-events: none; user-select: none;
}
.card.plain { padding-bottom: 28px; min-height: 0; }

/* Phase strip */
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); counter-reset: phase; }
.phases li { position: relative; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 20px 64px; counter-increment: phase; font-weight: 600; }
.phases li::after {
  content: "0" counter(phase); position: absolute; right: 14px; bottom: -10px;
  font-weight: 800; font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px #3a3a3a;
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.steps li { position: relative; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 28px 24px 84px; counter-increment: step; color: #e5e5e5; font-weight: 600; }
.steps li::after {
  content: "0" counter(step); position: absolute; right: 16px; bottom: -14px;
  font-weight: 800; font-size: 5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px #3a3a3a;
}

/* Packages */
.pkg-name { font: 700 0.85rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; display: block; }
.note { margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--red); color: #d4d4d4; max-width: 66ch; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 1.05rem; min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 18px; font: 400 1.6rem/1 var(--mono); color: var(--red); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: #d4d4d4; max-width: 66ch; }

/* Telugu block */
.telugu { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.8; max-width: 40ch; }

/* CTA + form */
.cta-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-grid { display: grid; gap: clamp(32px, 6vw, 72px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cta-grid { grid-template-columns: 1fr 1.1fr; } }
.cta-mail { font: 500 0.85rem/1.6 var(--mono); color: var(--muted); }
.cta-mail a { color: var(--text); }
form.audit { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .row { grid-template-columns: 1fr 1fr; } }
label { font: 500 0.7rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
label .req { color: var(--red); }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 0;
  font: 400 1rem var(--sans);
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--red); }
.err { min-height: 1em; color: #ff8a80; font-size: 0.8rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border: 1px solid var(--line-2); font-size: 0.95rem; }
.form-status[hidden] { display: none; }
.form-status.ok { border-color: #2e7d32; color: #b9f6ca; }
.form-status.bad { border-color: var(--red); color: #ffb4ab; }

/* Related links */
.related { display: grid; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.related a { background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px 28px; text-decoration: none; display: block; }
.related a:hover { background: var(--surface-2); color: var(--text); }
.related .tag { display: block; margin-bottom: 8px; font: 500 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.related strong { font-size: 1.05rem; }

/* Article */
.article-meta { font: 500 0.75rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 40px; }
.prose { max-width: var(--prose); }
.prose > p { color: #d4d4d4; font-size: 1.08rem; }
.flag { position: relative; padding: 36px 0 36px 0; border-top: 1px solid var(--line); }
.flag .fnum {
  display: block; margin-bottom: 8px;
  font-weight: 800; font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px var(--red);
}
.flag h2 { font-size: clamp(1.25rem, 2.6vw, 1.7rem); margin-bottom: 12px; }
.flag p { color: #d4d4d4; font-size: 1.05rem; margin: 0; }
.prose h2.plain { margin-top: 48px; }
.ask { list-style: none; margin: 0 0 40px; padding: 0; border: 1px solid var(--line); }
.ask li { position: relative; padding: 16px 20px 16px 52px; border-bottom: 1px solid var(--line); background: var(--surface); }
.ask li:last-child { border-bottom: 0; }
.ask li::before { content: ""; position: absolute; left: 22px; top: 1.45em; width: 10px; height: 10px; border: 2px solid var(--red); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.foot-lines p { margin: 0 0 6px; font: 400 0.8rem/1.7 var(--mono); color: var(--muted); }
.foot-lines p:first-child { color: var(--text); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-nav a { font: 500 0.75rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.foot-nav a:hover { color: var(--text); }

.breadcrumb { margin: 0 0 20px; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-hidden] { margin: 0 8px; color: var(--red); }

@media (max-width: 760px) {
  .header-row { flex-wrap: wrap; padding: 10px 0 0; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: -12px; padding-inline: 12px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .nav .btn { display: none; }
  .header-cta { display: inline-flex !important; }
}
.header-cta { display: none; min-height: 40px; padding: 0 14px; font-size: 0.7rem; }
@media (min-width: 761px) { .header-cta { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
