/* AussieClaw conversion system v2
   Native CSS. Dark editorial technical theme.
   Shape rule: cards 16px, controls 10px, buttons pill.
   Accent lock: cyan only. */

:root {
  --v2-bg: #090b0e;
  --v2-surface: #101419;
  --v2-surface-2: #151b21;
  --v2-text: #f2f5f7;
  --v2-muted: #a9b4bd;
  --v2-faint: #76828c;
  --v2-line: #27313a;
  --v2-accent: #37c9e6;
  --v2-accent-dark: #071115;
  --v2-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site-v2 {
  margin: 0;
  color: var(--v2-text);
  background:
    radial-gradient(circle at 82% 8%, rgba(55, 201, 230, .08), transparent 24rem),
    var(--v2-bg);
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.site-v2 img { max-width: 100%; display: block; }
body.site-v2 a { color: inherit; }
body.site-v2 h1,
body.site-v2 h2,
body.site-v2 h3,
body.site-v2 p { margin-top: 0; }
body.site-v2 h1,
body.site-v2 h2,
body.site-v2 h3 { line-height: 1.06; letter-spacing: -.035em; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--v2-accent);
  color: var(--v2-accent-dark);
  border-radius: 10px;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(calc(100% - 40px), var(--v2-max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin: 0 auto; }
.section { padding: 92px 0; }
.section.compact { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--v2-line); }
.section-title { font-size: clamp(2rem, 4.5vw, 3.7rem); max-width: 780px; margin-bottom: 18px; }
.section-copy { color: var(--v2-muted); max-width: 65ch; font-size: 1.04rem; }
.kicker {
  margin-bottom: 18px;
  color: var(--v2-accent);
  font: 700 .76rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.muted { color: var(--v2-muted); }
.faint { color: var(--v2-faint); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(39, 49, 58, .9);
  background: rgba(9, 11, 14, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-row { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.nav-brand { display: inline-flex; align-items: baseline; gap: 9px; text-decoration: none; white-space: nowrap; }
.nav-brand strong { font-size: 1.05rem; letter-spacing: -.02em; }
.nav-brand span { color: var(--v2-faint); font-size: .75rem; }
.desktop-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.desktop-nav a { color: var(--v2-muted); text-decoration: none; font-size: .88rem; white-space: nowrap; }
.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a[aria-current="page"] { color: var(--v2-text); }
.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--v2-accent);
  color: var(--v2-accent-dark) !important;
  font-weight: 800;
}
.mobile-nav { display: none; }

.action-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--v2-line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .93rem;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.action:hover { transform: translateY(-2px); }
.action:active { transform: translateY(1px); }
.action.primary { background: var(--v2-accent); color: var(--v2-accent-dark); border-color: var(--v2-accent); }
.action.secondary { color: var(--v2-text); background: transparent; }
.action.secondary:hover { border-color: var(--v2-accent); }
.action.text-link { min-height: auto; padding: 0; border: 0; border-radius: 0; color: var(--v2-accent); }

.front-hero { min-height: calc(100dvh - 68px); display: flex; align-items: center; padding: 64px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr); gap: clamp(48px, 8vw, 108px); align-items: center; }
.hero-copy h1 { font-size: clamp(3.15rem, 7vw, 6.5rem); max-width: 860px; margin-bottom: 22px; }
.hero-copy h1 span { color: var(--v2-accent); }
.hero-copy > p:not(.kicker) { color: var(--v2-muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 560px; margin-bottom: 30px; }
.hero-visual { position: relative; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -7% -5% 18%;
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  transform: rotate(4deg);
}
.hero-visual img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #34414c;
  filter: saturate(.86) contrast(1.04);
}

.work-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 18px; margin-top: 42px; }
.work-feature,
.channel-card,
.offer-panel,
.health-panel,
.article-row,
.faq-item,
.file-group {
  border: 1px solid var(--v2-line);
  border-radius: 16px;
  background: var(--v2-surface);
}
.work-feature { min-height: 470px; padding: clamp(28px, 5vw, 54px); display: flex; flex-direction: column; justify-content: space-between; }
.work-feature h3 { font-size: clamp(2rem, 4vw, 3.45rem); max-width: 720px; margin-bottom: 18px; }
.work-feature p { max-width: 64ch; color: var(--v2-muted); }
.work-meta { color: var(--v2-faint); font-size: .82rem; margin-bottom: 18px; }
.channel-stack { display: grid; gap: 18px; }
.channel-card { padding: 26px; display: flex; flex-direction: column; justify-content: space-between; min-height: 226px; }
.channel-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.channel-card blockquote { margin: 0 0 22px; color: var(--v2-muted); font-size: .94rem; }
.channel-card .channel-name { color: var(--v2-accent); font-weight: 800; font-size: .82rem; }

.proof-rail { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 44px; border: 1px solid var(--v2-line); border-radius: 16px; overflow: hidden; }
.proof-item { min-height: 174px; padding: 24px; background: var(--v2-surface); border-right: 1px solid var(--v2-line); }
.proof-item:last-child { border-right: 0; }
.proof-item strong { display: block; color: var(--v2-accent); font-size: 1.05rem; margin-bottom: 10px; }
.proof-item p { color: var(--v2-muted); font-size: .9rem; margin: 0; }

.health-layout,
.product-layout,
.service-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr); gap: clamp(38px, 7vw, 88px); align-items: center; }
.health-panel { padding: 30px; }
.health-panel ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.health-panel li { min-height: 92px; padding: 17px; background: var(--v2-surface-2); border-radius: 10px; color: var(--v2-muted); }
.health-panel strong { display: block; color: var(--v2-text); margin-bottom: 4px; }

.product-visual { overflow: hidden; border: 1px solid var(--v2-line); border-radius: 16px; background: var(--v2-surface); }
.product-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-copy h2,
.service-primary h2 { font-size: clamp(2.15rem, 4vw, 4rem); margin-bottom: 18px; }
.price-line { display: flex; gap: 14px; align-items: baseline; margin: 26px 0; }
.price-line strong { color: var(--v2-accent); font-size: 2.55rem; line-height: 1; }
.price-line span { color: var(--v2-muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 24px; color: var(--v2-muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--v2-accent); font-weight: 900; }

.service-primary { padding: clamp(28px, 5vw, 54px); border: 1px solid #35515b; border-radius: 16px; background: var(--v2-surface); }
.service-primary p { color: var(--v2-muted); }
.service-support { display: grid; gap: 18px; }
.support-row { padding: 24px 0; border-bottom: 1px solid var(--v2-line); }
.support-row:last-child { border-bottom: 0; }
.support-row h3 { font-size: 1.35rem; margin-bottom: 8px; }
.support-row p { color: var(--v2-muted); margin-bottom: 10px; }
.support-row strong { color: var(--v2-accent); }

.page-hero { padding: 94px 0 70px; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(40px, 7vw, 90px); align-items: center; }
.page-hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); margin-bottom: 22px; }
.page-hero .lead { color: var(--v2-muted); font-size: 1.13rem; max-width: 64ch; margin-bottom: 28px; }

.file-groups { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 16px; margin-top: 36px; }
.file-group { padding: 26px; }
.file-group h3 { font-size: 1.2rem; margin-bottom: 12px; }
.file-group ul { margin: 0; padding-left: 18px; color: var(--v2-muted); font-size: .92rem; }
.file-group li { margin: 7px 0; }
.compat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.compat-item { padding: 19px; border-left: 2px solid var(--v2-accent); background: var(--v2-surface); }
.compat-item strong { display: block; margin-bottom: 4px; }
.compat-item span { color: var(--v2-muted); font-size: .86rem; }

.article-list { display: grid; gap: 14px; margin-top: 36px; }
.article-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: center; padding: 24px; text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.article-row:hover { border-color: var(--v2-accent); transform: translateY(-2px); }
.article-date { color: var(--v2-faint); font-size: .8rem; }
.article-row h2 { font-size: 1.35rem; margin: 0 0 6px; }
.article-row p { color: var(--v2-muted); margin: 0; font-size: .92rem; }
.article-arrow { color: var(--v2-accent); font-weight: 900; }

.form-shell { padding: 30px; border: 1px solid var(--v2-line); border-radius: 16px; background: var(--v2-surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; font-size: .9rem; }
.form-field small { color: var(--v2-muted); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #43515c;
  border-radius: 10px;
  padding: 12px 14px;
  background: #0b0f13;
  color: var(--v2-text);
  font: inherit;
}
.form-field textarea { min-height: 112px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #87939d; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: 3px solid rgba(55, 201, 230, .25); border-color: var(--v2-accent); }
.form-status { margin-top: 16px; color: var(--v2-muted); }
.report-box { display: none; margin-top: 24px; padding: 26px; border: 1px solid var(--v2-accent); border-radius: 16px; background: #0b171b; }
.report-box h2 { font-size: 1.45rem; }
.report-score { color: var(--v2-accent); font-size: 3rem; font-weight: 900; line-height: 1; margin: 10px 0 18px; }

.faq-list { display: grid; gap: 12px; margin-top: 32px; }
.faq-item { padding: 22px 24px; }
.faq-item summary { cursor: pointer; font-weight: 800; }
.faq-item p { color: var(--v2-muted); margin: 14px 0 0; }

.site-footer { border-top: 1px solid var(--v2-line); padding: 42px 0 54px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; }
.footer-brand { max-width: 520px; }
.footer-brand strong { display: block; font-size: 1.05rem; margin-bottom: 8px; }
.footer-brand p { color: var(--v2-muted); margin: 0; font-size: .9rem; }
.footer-links { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: flex-start; gap: 18px; }
.footer-links a { color: var(--v2-muted); text-decoration: none; font-size: .88rem; }
.footer-links a:hover { color: var(--v2-text); }
.footer-bottom { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--v2-line); color: var(--v2-faint); font-size: .78rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual { animation: enter .58s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-visual { animation-delay: .08s; }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { list-style: none; cursor: pointer; color: var(--v2-text); font-weight: 800; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav[open] .mobile-panel { display: grid; }
  .mobile-panel {
    position: absolute;
    right: 0;
    top: 40px;
    width: min(300px, calc(100vw - 40px));
    padding: 16px;
    border: 1px solid var(--v2-line);
    border-radius: 16px;
    background: var(--v2-surface);
    box-shadow: 0 24px 60px rgba(5, 15, 20, .35);
  }
  .mobile-panel a { padding: 11px 10px; color: var(--v2-muted); text-decoration: none; border-bottom: 1px solid var(--v2-line); }
  .mobile-panel a:last-child { border-bottom: 0; color: var(--v2-accent); font-weight: 800; }
  .hero-grid,
  .page-hero-grid,
  .health-layout,
  .product-layout,
  .service-layout { grid-template-columns: 1fr; }
  .front-hero { min-height: auto; }
  .hero-visual { max-width: 560px; margin-left: auto; }
  .work-grid { grid-template-columns: 1fr; }
  .channel-stack { grid-template-columns: 1fr 1fr; }
  .proof-rail { grid-template-columns: 1fr 1fr; }
  .proof-item { border-bottom: 1px solid var(--v2-line); }
  .proof-item:nth-child(2n) { border-right: 0; }
  .proof-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .file-groups { grid-template-columns: 1fr 1fr; }
  .file-group:first-child { grid-column: 1 / -1; }
  .compat-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .wrap,
  .narrow { width: min(calc(100% - 28px), var(--v2-max)); }
  .section { padding: 68px 0; }
  .front-hero { padding: 54px 0 68px; }
  .hero-copy,
  .page-hero-grid > * { min-width: 0; }
  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
    overflow-wrap: anywhere;
  }
  .price-line { flex-wrap: wrap; row-gap: 8px; }
  .hero-visual::before { display: none; }
  .channel-stack,
  .file-groups,
  .compat-grid,
  .form-grid { grid-template-columns: 1fr; }
  .file-group:first-child,
  .form-field.full { grid-column: auto; }
  .health-panel ol { grid-template-columns: 1fr; }
  .proof-rail { grid-template-columns: 1fr; }
  .proof-item,
  .proof-item:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--v2-line); }
  .proof-item:last-child { grid-column: auto; border-bottom: 0; }
  .article-row { grid-template-columns: 1fr auto; gap: 10px 18px; }
  .article-date { grid-column: 1 / -1; }
  .article-row p { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .action-row { align-items: stretch; }
  .action { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .action,
  .article-row { transition: none; }
}
