/* minus65 — site styles */
:root {
  --bg: #0b1220;
  --bg-2: #111a2e;
  --bg-3: #16213a;
  --text: #e6ecf5;
  --muted: #9aa8bf;
  --accent: #34d3b4;
  --accent-ink: #04261f;
  --accent-dim: rgba(52, 211, 180, 0.12);
  --line: rgba(230, 236, 245, 0.09);
  --radius: 14px;
  --max: 1160px;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.86);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.logo svg { width: 30px; height: 30px; }
.logo b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,0.04); }
.nav .btn { margin-left: 8px; color: var(--accent-ink); }
.nav .btn:hover { background: var(--accent); color: var(--accent-ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 8px 10px; font: inherit; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover, .btn:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(52,211,180,.25); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { box-shadow: none; border-color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: radial-gradient(1100px 600px at 75% 120%, var(--accent-dim), transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.hero .rings { position: absolute; right: -10vmin; bottom: -60vmin; width: 0; height: 0; pointer-events: none; }
.hero .rings span { position: absolute; left: 50%; top: 50%; width: 150vmin; height: 150vmin; margin: -75vmin 0 0 -75vmin; border: 1px solid var(--accent); border-radius: 50%; opacity: 0; animation: ripple 9s linear infinite; }
.hero .rings span:nth-child(2) { animation-delay: 3s; }
.hero .rings span:nth-child(3) { animation-delay: 6s; }
@keyframes ripple { 0% { transform: scale(.15); opacity: .3; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero .rings span { animation: none; opacity: .07; } .hero .rings span:nth-child(1){transform:scale(.4)} .hero .rings span:nth-child(2){transform:scale(.65)} .hero .rings span:nth-child(3){transform:scale(.9)} }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.reading { font-family: var(--mono); font-weight: 700; font-size: clamp(3.6rem, 10vw, 7.5rem); line-height: .95; letter-spacing: -0.05em; }
.reading .unit { font-size: .32em; color: var(--accent); letter-spacing: 0; margin-left: .15em; vertical-align: .15em; }
.hero h1 { margin-top: 20px; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 20ch; }
.hero .lead { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 54ch; }
.hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero figure { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero figcaption { background: var(--bg-3); color: var(--muted); font-size: .85rem; padding: 10px 14px; }
@media (max-width: 900px) { .hero { padding: 64px 0; } .hero .wrap { grid-template-columns: 1fr; } }

.page-hero { padding: 72px 0 48px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; line-height: 1.15; }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 1.1rem; max-width: 62ch; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.2; margin-top: 8px; }
h3 { font-size: 1.15rem; line-height: 1.3; }
.section-intro { color: var(--muted); max-width: 62ch; margin-top: 12px; font-size: 1.05rem; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose h2 { margin-top: 48px; font-size: 1.5rem; }
.prose h3 { margin-top: 28px; }
.prose ul { margin: 12px 0 0 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--text); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats div { padding: 26px 22px; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: var(--mono); font-size: 1.9rem; color: var(--text); letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(2) { border-right: 0; } .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Cards */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card p { color: var(--muted); margin-top: 10px; }
.card .icon { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-dim); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.card ul { margin: 12px 0 0 18px; color: var(--muted); }

/* Process */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px; }
.steps li { counter-increment: step; border-top: 2px solid var(--accent); padding-top: 14px; }
.steps li::before { content: "0" counter(step); font-family: var(--mono); color: var(--accent); font-size: .85rem; }
.steps h3 { margin-top: 6px; font-size: 1rem; }
.steps p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Gallery / figures */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.fig { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #1b2640; }
.fig figcaption { padding: 14px 16px 16px; }
.fig figcaption b { display: block; }
.fig figcaption span { color: var(--muted); font-size: .9rem; }
.fig.portrait img { aspect-ratio: 1 / 1.414; object-fit: cover; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } .split.rev > :first-child { order: 0; } }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }

/* Checks */
.checks { list-style: none; margin-top: 18px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li + li { margin-top: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d3b4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks li strong { color: var(--text); }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pills li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem; background: rgba(255,255,255,.02); }

/* Case study */
.case { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--line); }
.case:first-of-type { margin-top: 24px; padding-top: 0; border-top: 0; }
.case dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin-top: 20px; }
.case dt { color: var(--accent); font-family: var(--mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.case dd { color: var(--muted); }
@media (max-width: 560px) { .case dl { grid-template-columns: 1fr; gap: 4px; } .case dd { margin-bottom: 12px; } }
.placeholder-note { margin-top: 14px; font-size: .85rem; color: #f2c14e; background: rgba(242,193,78,.08); border: 1px dashed rgba(242,193,78,.4); border-radius: 8px; padding: 8px 12px; }

/* FAQ */
.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; 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); font-family: var(--mono); font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* CTA band */
.cta-band { background: radial-gradient(800px 300px at 50% 120%, var(--accent-dim), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); text-align: center; }
.cta-band p { color: var(--muted); margin: 12px auto 0; max-width: 56ch; }
.cta-band .actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 8px; }
.form .full { grid-column: 1 / -1; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form legend { padding: 0 8px; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.form label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 6px; }
.form label .opt { color: var(--muted); font-weight: 400; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=number], .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(230,236,245,.16); background: var(--bg); color: var(--text); font: inherit; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .choices { display: flex; flex-wrap: wrap; gap: 10px; }
.form .choices label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; padding: 9px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; margin: 0; }
.form .choices input { accent-color: var(--accent); }
.form input[type=file] { width: 100%; padding: 16px; border: 1px dashed rgba(230,236,245,.25); border-radius: 10px; background: var(--bg); color: var(--muted); font: inherit; }
.form .hint { color: var(--muted); font-size: .85rem; margin-top: 6px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.form .consent input { margin-top: 5px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 640px) { .form, .form fieldset { grid-template-columns: 1fr; } }
.contact-side .card + .card { margin-top: 16px; }
.contact-side dt { color: var(--muted); font-size: .85rem; margin-top: 12px; }
.contact-side dd a { color: var(--text); text-decoration: none; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .92rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { color: var(--text); font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer .legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

@media (max-width: 480px) { .wrap { padding: 0 16px; } section { padding: 64px 0; } }
