/* ZORR — site styles. Brand: Ink, Paper, Fog + four loud accents. Type: Archivo (variable, self-hosted). */
@font-face {
  font-family: "Archivo";
  src: url("archivo-var.woff2") format("woff2-variations"), url("archivo-var.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("archivo-rupee.woff2") format("woff2-variations"), url("archivo-rupee.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+20B9;
}


:root {
  --ink: #0D0D0D;
  --paper: #FFFFFF;
  --fog: #F2F2EF;
  --orange: #FF4F00;
  --blue: #2D3BFF;
  --lime: #C8FF2E;
  --pink: #FF7AD9;
  --muted: #4A4A47;
  --line: rgba(13, 13, 13, 0.14);
  --radius: 12px;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --bar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 112%; letter-spacing: -0.025em; line-height: 0.98; }
h1 { font-size: clamp(42px, 6.4vw, 96px); }
h2 { font-size: clamp(34px, 4.4vw, 62px); }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.1; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Top bar: frosted glass ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  border-bottom: 1px solid transparent;
  transition: height .25s ease, background-color .25s ease, border-color .25s ease;
}
.topbar.is-scrolled { height: 60px; background: rgba(255, 255, 255, 0.8); border-bottom-color: var(--line); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar { background: rgba(255, 255, 255, 0.97); }
}
.topbar .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; padding: 6px 0; }
.brand svg { width: 92px; height: auto; fill: currentColor; overflow: visible; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid var(--ink); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.btn-primary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--paper); color: var(--ink); }
.nav .btn { min-height: 42px; padding: 8px 18px; font-size: 16px; }

/* ---------- Logo animation: letters rise like a volume meter ---------- */
.logo-anim .l { transform-box: fill-box; transform-origin: 50% 100%; animation: zorr-rise .95s cubic-bezier(.2, 1.35, .35, 1) both; }
.logo-anim .l1 { animation-delay: .05s; }
.logo-anim .l2 { animation-delay: .17s; }
.logo-anim .l3 { animation-delay: .29s; }
.logo-anim .l4 { animation-delay: .41s; }
@keyframes zorr-rise {
  from { transform: scaleY(.06); opacity: 0; }
  35% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
.brand:hover .l, .brand:focus-visible .l { animation: zorr-beat .55s cubic-bezier(.3, 1.6, .5, 1) both; }
.brand:hover .l2, .brand:focus-visible .l2 { animation-delay: .06s; }
.brand:hover .l3, .brand:focus-visible .l3 { animation-delay: .12s; }
.brand:hover .l4, .brand:focus-visible .l4 { animation-delay: .18s; }
@keyframes zorr-beat { 0% { transform: none; } 45% { transform: scaleY(1.16); } 100% { transform: none; } }

/* ---------- Sections ---------- */
main { padding-top: var(--bar-h); }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); margin: 0; }
.lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); }

/* Hero */
.hero { padding-top: clamp(24px, 4vw, 52px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 { font-size: clamp(38px, 4.5vw, 66px); line-height: 1; }
.hero-mark { width: 100%; max-width: 1144px; height: auto; fill: var(--ink); overflow: visible; margin-bottom: clamp(32px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.hero-grid p { margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Services list (rows, not cards) */
.rows { border-bottom: 2px solid var(--ink); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 16px 48px; align-items: baseline; padding: 28px 0; border-top: 2px solid var(--ink); }
.row p { margin: 0; color: var(--muted); }
.row a.more { font-weight: 700; white-space: nowrap; }

/* The ZORR Method: four rising columns */
.method { background: var(--ink); color: var(--paper); }
.method .section-head p { color: rgba(255, 255, 255, 0.78); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; min-height: 520px; }
.step { border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.step .n { font-weight: 700; font-size: 15px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 16px; line-height: 1.45; }
.s1 { background: var(--orange); color: var(--ink); height: 62%; min-height: 300px; }
.s2 { background: var(--blue); color: var(--paper); height: 75%; min-height: 340px; }
.s3 { background: var(--lime); color: var(--ink); height: 87%; min-height: 380px; }
.s4 { background: var(--pink); color: var(--ink); height: 100%; min-height: 420px; }
.steps-note { margin-top: 22px; color: rgba(255, 255, 255, 0.78); font-size: 16px; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pkg { border-top: 6px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.pkg .price { font-size: clamp(30px, 3vw, 40px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; }
.pkg .price small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.pkg ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.pkg li { margin-bottom: 6px; }
.pkg .meta { font-size: 15px; font-weight: 600; }
.pkg.featured { border-top-color: var(--orange); }
.note { font-size: 15px; color: var(--muted); margin-top: 28px; }

/* Tables (pricing page) */
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 700; font-size: 15px; }
td.price { font-weight: 800; font-stretch: 108%; white-space: nowrap; }
.price-block + .price-block { margin-top: clamp(64px, 8vw, 104px); }
.price-block h2 { margin-bottom: 14px; }
.price-block > p { color: var(--muted); }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post-link { display: flex; flex-direction: column; gap: 14px; text-decoration: none; padding: 28px; border-radius: var(--radius); min-height: 280px; justify-content: space-between; }
.post-link h3 { font-size: clamp(24px, 2.4vw, 34px); }
.post-link p { margin: 0; }
.post-link:hover { color: inherit; outline: 3px solid var(--ink); outline-offset: -3px; }
.post-pink { background: var(--pink); }
.post-blue { background: var(--blue); color: var(--paper); }
.post-blue:hover { outline-color: var(--paper); }

/* FAQ */
.faq { border-bottom: 2px solid var(--ink); }
.faq details { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-weight: 750; font-stretch: 108%; font-size: clamp(19px, 1.7vw, 23px); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -10px; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 0 24px; color: var(--muted); }

/* CTA band */
.cta { background: var(--orange); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.cta p { margin-bottom: 24px; }

/* Article */
.article { max-width: 760px; }
.article h1 { font-size: clamp(38px, 5.2vw, 72px); margin-bottom: 22px; }
.article h2 { font-size: clamp(26px, 2.8vw, 36px); margin: 48px 0 14px; }
.article p, .article li { font-size: 19px; line-height: 1.65; }
.article ol { padding-left: 24px; }
.byline { color: var(--muted); font-size: 16px; margin-bottom: 36px; }
.crumbs { font-size: 15px; margin-bottom: 28px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.callout { background: var(--fog); border-radius: var(--radius); padding: 24px 28px; margin: 36px 0; }
.callout p { margin: 0; }

/* Page hero (inner pages) */
.page-hero { padding-top: clamp(48px, 8vw, 112px); padding-bottom: clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 15ch; margin-bottom: 24px; }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 64px; }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.principles div { border-top: 2px solid var(--ink); padding: 22px 0 30px; }
.principles h3 { margin-bottom: 10px; }
.principles p { color: var(--muted); margin: 0; }

/* Contact form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.field .hint { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 10px; padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; }
.hp { display: none; }
.contact-split { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.contact-aside { align-self: start; background: var(--fog); border-radius: var(--radius); padding: 28px; }
.contact-aside h2 { font-size: 28px; margin-bottom: 12px; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding-block: 72px 40px; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer svg { width: 180px; height: auto; fill: var(--paper); margin-bottom: 18px; }
.footer h2 { font-size: 15px; font-stretch: 100%; letter-spacing: 0; font-weight: 700; margin-bottom: 14px; color: rgba(255, 255, 255, 0.72); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer-bottom { margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: rgba(255, 255, 255, 0.72); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .section-head, .cta .wrap, .split, .contact-split { grid-template-columns: minmax(0, 1fr); }
  .packages { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 820px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
    font: inherit; font-weight: 700; font-size: 16px; color: var(--ink);
    background: transparent; border: 2px solid var(--ink); border-radius: 10px; cursor: pointer;
  }
  .nav {
    position: fixed; top: var(--bar-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: saturate(1.8) blur(18px); backdrop-filter: saturate(1.8) blur(18px);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .topbar.is-scrolled .nav { top: 60px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; min-height: 50px; font-size: 18px; border-bottom: 2px solid var(--orange); }
  .steps { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 12px; }
  .step { height: auto !important; min-height: 0 !important; }
  .s1 { width: 62%; } .s2 { width: 75%; } .s3 { width: 87%; } .s4 { width: 100%; }
  .posts, .principles, .form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .s1 { width: 82%; } .s2 { width: 88%; } .s3 { width: 94%; }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Contact: copyable DM template */
.template { font: inherit; font-size: 17px; line-height: 1.6; white-space: pre-wrap; background: var(--fog); border-radius: var(--radius); padding: 22px 24px; margin: 0 0 20px; }
.copy-status { min-height: 1.5em; margin-top: 12px; font-weight: 600; }

/* Join page */
.topbar .join-btn { min-height: 42px; padding: 8px 18px; font-size: 16px; }
.hero-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.challenge { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px 56px; }
.challenge .tag { color: var(--orange); font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.challenge h2 { color: var(--paper); }
.challenge ol { margin: 0; padding-left: 22px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.88); }
.challenge li { margin-bottom: 8px; }
@media (max-width: 960px) { .challenge { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .topbar .join-btn { padding: 8px 12px; font-size: 15px; } }

/* ---------- Skills store ---------- */
.top-actions { display: flex; align-items: center; gap: 22px; }
.top-link { font-weight: 700; text-decoration: none; font-size: 16px; }
.top-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.skill-card { border-top-width: 8px; }
.skill-orange { border-top-color: var(--orange); }
.skill-blue { border-top-color: var(--blue); }
.skill-lime { border-top-color: var(--lime); }
.skill-card .sku { margin: 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.skill-card h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; margin: 0; }
.skill-card .desc { margin: 0; color: var(--muted); font-size: 17px; }
.skill-card ul { flex: 1; }
.buy-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 6px; }
.buy-row .btn { width: 100%; }
.buy-row .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.again { font-weight: 700; font-size: 15px; text-underline-offset: 4px; }
.store-foot { margin-top: clamp(28px, 4vw, 48px); display: grid; gap: 18px; max-width: 760px; }
.store-foot .note { margin: 0; }
.recover summary { cursor: pointer; font-weight: 700; display: inline-block; text-decoration: underline; text-underline-offset: 4px; }
.recover form { margin-top: 14px; display: grid; gap: 8px; }
.recover label { font-size: 15px; font-weight: 600; }
.recover-row { display: flex; gap: 10px; flex-wrap: wrap; }
.recover-row input { flex: 1 1 240px; min-height: 48px; padding: 10px 14px; border: 2px solid var(--ink); border-radius: var(--radius); font: inherit; background: var(--paper); }
.form-msg { margin: 4px 0 0; font-size: 15px; min-height: 1.4em; }
.form-msg.is-error { color: #B3261E; font-weight: 600; }
.buy-dialog { border: 0; border-radius: 16px; padding: clamp(24px, 4vw, 40px); width: min(520px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.buy-dialog::backdrop { background: rgba(13,13,13,.55); }
.buy-dialog h2 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 10px; line-height: 1.05; }
.buy-dialog p { color: var(--muted); margin: 0 0 16px; }
.buy-dialog ol { margin: 0 0 20px; padding-left: 20px; color: var(--muted); }
.buy-dialog li { margin-bottom: 6px; }
.buy-dialog .btn { width: 100%; }
.buy-dialog .pid { font-family: ui-monospace, Menlo, monospace; font-size: 15px; background: var(--fog); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.bd-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; cursor: pointer; border-radius: 10px; }
.bd-close:hover { background: var(--fog); }
.buy-dialog form[method="dialog"] { margin: 0; }
@media (max-width: 960px) { .packages { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 520px) { .top-link { display: none; } }
.skill-card .price { margin: 4px 0 0; }
.skill-card ul { margin-top: 4px; }
@media (min-width: 961px) {
  .store .packages { row-gap: 14px; }
  .skill-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; gap: 14px; }
}
.terms { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); }
