/* Linometry — the marketing site (B514). The legal pages keep style.css; this file is the home page only. */
:root {
  --bg: #1D1C21; --bg2: #26252B; --bg3: #2F2E35; --paper: #FFFCF7;
  --text: #F4F2F8; --muted: #A5A1B2; --line: #3A3944;
  --accent: #7B61FF; --accent-soft: #9B87FF; --accent-ink: #5B44D6;
  --success: #57CC99; --warning: #FFD166; --rose: #FF8FA3; --sky: #8FD3F4;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --r: 18px; --r-sm: 12px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-soft); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.centre { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h1 em { font-style: italic; color: var(--accent-soft); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
.h-sm { font-size: 1.2rem; margin-bottom: 10px; }
.kicker { color: var(--accent-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; margin-bottom: 12px; }
.lead { font-size: 1.2rem; color: #D9D6E3; max-width: 34em; margin: 20px 0 28px; }
.lead-sm { font-size: 1.05rem; color: #CFCBDA; max-width: 36em; }
.lead-sm.centre { margin-inline: auto; }
.muted { color: var(--muted); }
section { padding: clamp(56px, 8vw, 104px) 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 700; padding: 14px 22px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1rem; font-family: var(--sans); box-shadow: 0 8px 24px rgba(123, 97, 255, 0.35); transition: transform .15s ease, box-shadow .15s ease, background .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(123, 97, 255, 0.45); background: #8A73FF; }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { background: var(--bg3); }
.btn.small { padding: 10px 16px; font-size: 0.92rem; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* nav */
.top { position: sticky; top: 0; z-index: 20; background: rgba(29, 28, 33, .82); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(58, 57, 68, .6); }
.nav { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { height: 20px; width: auto; }
.nav nav { display: flex; gap: 22px; margin-left: 8px; }
.nav nav a { color: #CFCBDA; font-weight: 500; font-size: 0.95rem; }
.nav nav a:hover { color: #fff; text-decoration: none; }
.nav .btn { margin-left: auto; }
@media (max-width: 760px) { .nav nav { display: none; } }

/* hero */
.hero { padding-top: clamp(40px, 7vw, 90px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(circle at center, rgba(123, 97, 255, .28), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(87, 204, 153, .18); }
.waitlist[hidden] { display: none; }
.waitlist { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 520px; }
.waitlist input[type=email] { width: 100%; padding: 14px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); color: var(--text); font: inherit; font-size: 1rem; }
.waitlist input[type=email]:focus { outline: 2px solid var(--accent-soft); outline-offset: 1px; border-color: transparent; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.85rem; }
.form-note.err { color: #FF9EAF; }
.done { grid-column: 1 / -1; background: rgba(87, 204, 153, .12); border: 1px solid rgba(87, 204, 153, .4); color: #CFF5E3; padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; }
.store[hidden] { display: none; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border: 1px solid #333; border-radius: 12px; padding: 8px 18px 8px 12px; line-height: 1.1; }
.store:hover { text-decoration: none; border-color: #666; }
.store small { display: block; font-size: 0.65rem; letter-spacing: .04em; color: #ccc; }
.store span { font-weight: 700; font-size: 1.2rem; }
.trust { list-style: none; display: flex; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 0.9rem; flex-wrap: wrap; }
.trust li::before { content: "✓"; color: var(--success); margin-right: 6px; font-weight: 700; }

/* hero art: tablet + animated page */
.hero-art { position: relative; justify-self: center; width: min(100%, 520px); }
.tablet { background: #111015; border-radius: 28px; padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 2px #2a2930; aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.screen { background: var(--paper); border-radius: 14px; height: 100%; position: relative; overflow: hidden; display: grid; place-items: center; }
.page { width: 78%; height: auto; }
.fills > * { opacity: 0; animation: fillIn .6s ease forwards; }
.fills > :nth-child(1) { animation-delay: .6s } .fills > :nth-child(2) { animation-delay: 1.3s } .fills > :nth-child(3) { animation-delay: 1.7s }
.fills > :nth-child(4) { animation-delay: 2.1s } .fills > :nth-child(5) { animation-delay: 2.5s } .fills > :nth-child(6) { animation-delay: 3.0s }
.fills > :nth-child(7) { animation-delay: 3.3s } .fills > :nth-child(8) { animation-delay: 3.6s } .fills > :nth-child(9) { animation-delay: 3.9s }
.fills > :nth-child(10) { animation-delay: 4.5s } .fills > :nth-child(11) { animation-delay: 5.0s }
@keyframes fillIn { from { opacity: 0; } to { opacity: 1; } }
.pen { position: absolute; width: 10px; height: 120px; border-radius: 6px 6px 3px 3px; background: linear-gradient(#EDEAF5, #B9B4C9); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); left: 52%; top: 42%; transform-origin: 50% 100%; transform: rotate(35deg); animation: pen 5.4s ease-in-out infinite; }
.pen::after { content: ""; position: absolute; bottom: -8px; left: 2px; width: 6px; height: 10px; background: #1D1C21; border-radius: 0 0 4px 4px; }
@keyframes pen { 0% { left: 52%; top: 42%; } 25% { left: 64%; top: 30%; } 50% { left: 40%; top: 60%; } 75% { left: 66%; top: 62%; } 100% { left: 52%; top: 42%; } }
.chip { position: absolute; background: rgba(38, 37, 43, .92); border: 1px solid var(--line); color: #E6E3EE; font-size: 0.82rem; padding: 8px 12px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); backdrop-filter: blur(8px); }
.chip b { color: var(--success); }
.chip-a { left: -14px; top: 12%; }
.chip-b { right: -10px; bottom: 10%; }
@media (prefers-reduced-motion: reduce) { .fills > * { animation: none; opacity: 1; } .pen { animation: none; } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; width: min(100%, 420px); margin-bottom: 8px; } .tablet { transform: none; } .chip-a { left: 0; } .chip-b { right: 0; } }

/* proof */
.proof { padding: 0 0 8px; }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.proof-row div { text-align: center; }
.proof-row b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; line-height: 1.1; }
.proof-row span { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 640px) { .proof-row { grid-template-columns: repeat(2, 1fr); } }

/* why */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.pillar p { color: #CFCBDA; font-size: 0.98rem; }
.pillar-art { height: 120px; border-radius: var(--r-sm); background: var(--paper); margin-bottom: 20px; position: relative; overflow: hidden; }
.art-brush span { position: absolute; left: 10%; right: 10%; height: 18px; border-radius: 999px; opacity: .9; }
.art-brush span:nth-child(1) { top: 22px; background: linear-gradient(90deg, #8FD3F4, #8FD3F4 60%, transparent); height: 10px; }
.art-brush span:nth-child(2) { top: 48px; background: linear-gradient(90deg, #FF8FA3, #FF8FA3 70%, transparent); height: 22px; filter: blur(.4px); }
.art-brush span:nth-child(3) { top: 84px; background: linear-gradient(90deg, #FFD166, #FFD166 50%, transparent); height: 14px; clip-path: polygon(0 40%, 100% 0, 100% 100%, 0 60%); }
.art-lines i { position: absolute; inset: 18px 22px; border: 3px solid #1D1C21; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(135deg, #9B87FF 0 55%, transparent 55%); }
.art-lines::after { content: ""; position: absolute; left: 8px; top: 10px; width: 70%; height: 70%; border-radius: 50%; background: rgba(155, 135, 255, .35); filter: blur(12px); z-index: 0; }
.art-lines i { z-index: 1; }
.art-zoom b { position: absolute; inset: 14px; border: 3px solid #1D1C21; border-radius: 50%; background: repeating-conic-gradient(#FFD166 0 20deg, #FFF3B0 20deg 40deg); box-shadow: inset 0 0 0 26px var(--paper), inset 0 0 0 29px #1D1C21, inset 0 0 0 44px #57CC99; }

/* pages wall */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split .btn { margin-top: 22px; }
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { aspect-ratio: 1; border-radius: var(--r-sm); background: var(--paper); overflow: hidden; position: relative; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile.ph { background: linear-gradient(135deg, var(--bg3), var(--bg2)); animation: shimmer 1.6s ease-in-out infinite alternate; }
@keyframes shimmer { to { opacity: .55; } }
.tile.today { outline: 3px solid var(--warning); outline-offset: -3px; }
.tile figcaption { position: absolute; left: 8px; bottom: 8px; background: var(--warning); color: #1D1C21; font-weight: 800; font-size: 0.7rem; padding: 4px 8px; border-radius: 999px; }
.wall figure:nth-child(2) { transform: translateY(14px); } .wall figure:nth-child(5) { transform: translateY(14px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 2; } }

/* create */
.create { background: linear-gradient(180deg, var(--bg) 0%, #221F2E 50%, var(--bg) 100%); }
.prompt-card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 12px; max-width: 440px; margin-inline: auto; }
.prompt-label { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; }
.prompt-text { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; }
.prompt-text em { color: var(--accent-soft); }
.prompt-arrow { color: var(--accent-soft); font-size: 1.6rem; text-align: center; }
.prompt-result { background: var(--paper); border-radius: var(--r-sm); padding: 14px; }
.prompt-result svg { width: 100%; height: auto; }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 8px; color: #CFCBDA; }
.ticks li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 10px; }

/* duo */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.duo-card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.duo-card p { color: #CFCBDA; }
@media (max-width: 760px) { .duo-grid { grid-template-columns: 1fr; } }

/* pricing */
.pricing h2 { text-align: center; }
.pricing .kicker { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; align-items: stretch; }
.plan { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 24px 60px rgba(123, 97, 255, .25); transform: translateY(-8px); }
.flag { position: absolute; top: -13px; left: 22px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.price { font-family: var(--display); font-size: 2.2rem; margin: 6px 0 14px; line-height: 1; }
.price span { display: block; font-family: var(--sans); font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; color: #CFCBDA; font-size: 0.95rem; flex: 1; }
.plan li::before { content: "•"; color: var(--accent-soft); margin-right: 8px; }
.plan .btn { width: 100%; }
.tiny { color: var(--muted); font-size: 0.8rem; text-align: center; margin-top: 10px; }
.promise { text-align: center; color: var(--muted); margin-top: 28px; font-size: 0.95rem; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-soft); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #CFCBDA; margin-top: 10px; max-width: 62em; }

/* final + about + footer */
.final { background: radial-gradient(60% 80% at 50% 0%, rgba(123, 97, 255, .25), transparent), var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.final .waitlist { margin: 22px auto 0; }
.final .store { margin-top: 22px; }
.about { padding: 44px 0; }
.about p { color: var(--muted); font-size: 0.92rem; }
.foot { padding: 36px 0 90px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot img { height: 16px; width: auto; margin-bottom: 10px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); font-size: 0.9rem; }
.foot .muted { font-size: 0.85rem; }

/* sticky CTA (mobile) */
.sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; display: none; text-align: center; background: var(--accent); color: #fff; font-weight: 800; padding: 15px; border-radius: 999px; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); transform: translateY(120%); transition: transform .3s ease; }
.sticky-cta.show { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: block; } .waitlist { grid-template-columns: 1fr; } .waitlist .btn, .plan .btn, .split .btn { width: 100%; } .store { width: 100%; justify-content: center; } }
