/* ---------- Copyvane landing ---------- */
.landing { background: var(--black); overflow-x: hidden; }
.landing::after { /* film grain, very faint */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.03em; text-decoration: none !important; }
.mono { font-family: var(--mono); }

.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.label .num { color: var(--azure); }
.label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 0 4px rgba(46,155,255,.15), 0 0 12px var(--azure); }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(5, 6, 8, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: #A5AEBB; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; text-decoration: none; }

/* hero */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 40px; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1.4s ease; }
.hero-canvas.ready, .hero-canvas.no-webgl { opacity: 1; }
.hero-canvas canvas { width: 100%; height: 100%; display: block; }
.hero-fallback { display: none; position: absolute; right: 6%; top: 24%; width: min(300px, 30vw); filter: drop-shadow(0 0 40px rgba(46,155,255,.45)); }
.no-webgl .hero-fallback { display: block; }
.hero-fallback img { width: 100%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,6,8,.95) 0%, rgba(5,6,8,.7) 40%, rgba(5,6,8,0) 62%),
    linear-gradient(0deg, var(--black) 0%, rgba(5,6,8,0) 28%),
    linear-gradient(180deg, rgba(5,6,8,.6) 0%, rgba(5,6,8,0) 18%); }
.hero-content { padding-bottom: 72px; }
.hero-title { font-size: clamp(46px, 6.6vw, 96px); font-weight: 600; letter-spacing: -0.045em; line-height: .98; margin: 22px 0 26px; max-width: 900px; }
.hero-title .accent { color: transparent; background: linear-gradient(180deg, #8CCBFF 0%, #2E9BFF 70%); -webkit-background-clip: text; background-clip: text; }
.hero-lead { font-size: 18px; line-height: 1.6; color: #AEB7C4; max-width: 520px; }
.hero-cta { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.link-arrow { color: #fff; font-weight: 500; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow span { transition: transform .2s; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover span { transform: translateX(4px); }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid var(--line); }
.specs > div { padding: 22px 24px 4px 0; }
.specs > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.specs dt { font-size: 28px; color: #fff; letter-spacing: -0.02em; }
.specs dd { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 220px; }

/* sections */
.section { padding: 140px 0; position: relative; }
.section-tight { padding: 100px 0; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head h2, .connectors h2, .final h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; margin-top: 18px; }
.section-lead { color: #98A2B0; font-size: 17px; line-height: 1.6; margin-top: 20px; max-width: 600px; }

/* failures list */
.failures { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.failures li { display: grid; grid-template-columns: 70px 1fr 1.15fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; transition: background .3s; position: relative; }
.failures li::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--azure); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.failures li:hover::before { width: 100%; }
.f-num { color: var(--azure); font-size: 13px; padding-top: 6px; }
.f-quote { font-size: 22px; line-height: 1.35; color: #C9D1DC; font-style: italic; letter-spacing: -0.01em; }
.f-fix h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.f-fix p { color: #98A2B0; font-size: 15px; line-height: 1.6; }

/* product frame */
.section-product::before { content: ''; position: absolute; left: 50%; top: 40%; width: 900px; height: 500px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(46,155,255,.18), transparent); filter: blur(30px); pointer-events: none; }
.frame { margin: 0; border-radius: 16px; border: 1px solid var(--line-2); background: #07090c; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 40px 120px -30px rgba(46,155,255,.35), 0 30px 60px -20px rgba(0,0,0,.8);
  transform: perspective(2000px) rotateX(6deg) scale(.98); transform-origin: 50% 0; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.frame.in { transform: perspective(2000px) rotateX(0deg) scale(1); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #0B0E13; }
.frame-bar span { width: 10px; height: 10px; border-radius: 50%; background: #1E242E; }
.frame-bar em { margin: 0 auto; font-style: normal; font-size: 11.5px; color: var(--muted); padding-right: 50px; }
.frame img { display: block; width: 100%; height: auto; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { --mx: 50%; --my: 50%; position: relative; background: linear-gradient(180deg, #0D1015, #090B0F); border: 1px solid var(--line); border-radius: 16px; padding: 28px; overflow: hidden; min-height: 190px; }
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(46,155,255,.10), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.tile p { color: #98A2B0; font-size: 14.5px; line-height: 1.6; }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: center; }
.tile-art { width: 100%; height: auto; }
.a-box { fill: #0B0F15; stroke: rgba(255,255,255,.12); }
.a-bad { stroke: rgba(255, 90, 95, .45); stroke-dasharray: 4 4; }
.a-t { fill: #7D8796; letter-spacing: .06em; }
.a-pos { fill: #3DD68C; } .a-neg { fill: #FF7A7E; }
.a-line { stroke: rgba(46,155,255,.6); stroke-dasharray: 3 4; fill: none; }
.a-line-bad { stroke: rgba(255,90,95,.5); }
.a-pill { fill: rgba(255,90,95,.1); stroke: rgba(255,90,95,.5); }
.a-pill-t { fill: #FF8A8E; font-size: 9.5px; letter-spacing: .08em; }
.tile-log { font-size: 11.5px; line-height: 1; background: #07090C; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; color: #C9D1DC; }
.tile-log div { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.04); white-space: nowrap; overflow: hidden; }
.tile-log div:last-child { border-bottom: 0; }
.tile-log .t { color: #5E6876; }
.tile-log em { margin-left: auto; font-style: normal; color: #6E7887; }
.lv { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.lv.b { background: var(--azure); } .lv.g { background: var(--ok); } .lv.y { background: var(--warn); }

/* connectors */
.connectors { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.conn-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.conn-list li { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.status { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #6E7887; }
.status.live { color: var(--azure); display: inline-flex; align-items: center; gap: 8px; }
.status.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 10px var(--azure); }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.price { padding: 36px 32px; display: flex; flex-direction: column; gap: 10px; background: #080A0E; position: relative; }
.price + .price { border-left: 1px solid var(--line); }
.price.featured { background: linear-gradient(180deg, #0C1420 0%, #080A0E 70%); }
.price.featured::before { content: ''; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--azure), transparent); }
.badge { position: absolute; top: 36px; right: 32px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--azure); }
.price h3 { font-size: 18px; font-weight: 600; }
.amount { color: var(--muted); font-size: 14px; }
.amount span { font-size: 44px; color: #fff; letter-spacing: -0.04em; margin-right: 4px; }
.price ul { list-style: none; padding: 18px 0 0; margin: 8px 0 24px; border-top: 1px solid var(--line); color: #B7C0CC; flex: 1; display: grid; gap: 10px; font-size: 14.5px; align-content: start; }
.price li::before { content: ''; display: inline-block; width: 12px; height: 1px; background: var(--azure); vertical-align: middle; margin-right: 12px; }
.promises { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 36px; flex-wrap: wrap; color: #98A2B0; font-size: 14px; }
.promises li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--azure); margin-right: 10px; vertical-align: middle; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.faq .section-head { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 24px 0; font-weight: 500; color: #fff; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s; flex: none; }
details[open] summary::after { transform: rotate(225deg) translateY(-2px); border-color: var(--azure); }
details p { color: #98A2B0; line-height: 1.65; padding: 0 40px 24px 0; }

/* final */
.final { position: relative; padding: 160px 0 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line); }
.final::before { content: ''; position: absolute; left: 50%; bottom: -200px; width: 1100px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(46,155,255,.28), transparent); pointer-events: none; }
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final .section-lead { margin-inline: auto; }
.final .btn { margin-top: 36px; }
.wordmark { position: relative; margin: 110px 0 -0.22em; font-family: var(--display); font-weight: 600; font-size: clamp(90px, 21vw, 300px); letter-spacing: -0.06em; line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 75%); -webkit-background-clip: text; background-clip: text; user-select: none; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 40px; position: relative; background: var(--black); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-top nav { display: flex; gap: 24px; }
.foot-top nav a { color: var(--muted); font-size: 14px; }
.disclaimer { color: #6E7887; font-size: 12.5px; line-height: 1.6; margin: 28px 0 14px; max-width: 920px; }
.small { font-size: 12.5px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .specs { grid-template-columns: 1fr 1fr; }
  .specs > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .failures li { grid-template-columns: 48px 1fr; }
  .failures .f-fix { grid-column: 2; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-wide { grid-column: span 2; }
  .connectors, .faq { grid-template-columns: 1fr; gap: 40px; }
  .prices { grid-template-columns: 1fr; }
  .price + .price { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 330px; min-height: 0; }
  .hero-canvas { bottom: auto; height: 460px; }
  .hero-shade { background: linear-gradient(180deg, rgba(5,6,8,.5) 0px, rgba(5,6,8,0) 90px, rgba(5,6,8,0) 250px, var(--black) 430px); }
  .hero-content { padding-bottom: 40px; }
  .hero-lead { font-size: 16px; }
  .specs dt { font-size: 22px; }
  .specs > div { padding: 18px 12px 4px 0; }
  .specs > div + div { padding-left: 12px; }
  .section { padding: 96px 0; }
  .section-head { margin-bottom: 40px; }
  .failures li { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }
  .failures .f-fix { grid-column: auto; }
  .f-quote { font-size: 19px; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; grid-template-columns: 1fr; }
  .frame { border-radius: 10px; }
  .badge { top: 36px; }
  .final { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .frame { transition: none; opacity: 1; transform: none; }
  .hero-canvas { transition: none; }
}
.bento > *, .tile-wide > * { min-width: 0; }
.section-product { overflow-x: clip; }
