/* Second Coat Digital — one-page site. No build step. */

:root {
  --bg: #0b1c20;
  --bg-2: #0e2328;
  --card: #122b31;
  --line: #21424a;
  --text: #e8f5f5;
  --muted: #a3c2c4;
  --accent: #8ef0ec;
  --accent-ink: #062226;
  --radius: 14px;
  --wrap: 1120px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h1, h2 { text-wrap: balance; }
.lead, .problem p { text-wrap: pretty; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.eyebrow {
  font: 700 .78rem/1.3 var(--head);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px;
  font: 700 1rem/1 var(--head);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #b4f6f3; }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 28, 32, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--text); }
.brand img { width: 42px; height: 42px; border-radius: 10px; }
.brand__name { font: 800 1.05rem/1 var(--head); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand__name span { color: var(--accent); }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--text); }
.lang {
  position: relative;
  color: var(--text); text-decoration: none;
  font: 700 .85rem/1 var(--head);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 12px;
}
.lang::after { content: ""; position: absolute; inset: -4px; } /* 44px tap target */
.lang:hover { border-color: var(--accent); }

/* Hero */
.hero { padding: 80px 0 88px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto;
  width: 720px; height: 720px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(142, 240, 236, .12), transparent);
  pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 .accent { display: block; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { margin-top: 18px; font-size: .95rem; color: var(--muted); }

.proof {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.proof__label { font-size: .85rem; color: var(--muted); margin: 0 0 18px; }
.proof__label strong { color: var(--text); }
.proof__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px; }
.proof__arrow { align-self: center; }
.proof__cell { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.proof__cell small { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.proof__big { font: 800 1.35rem/1.15 var(--head); }
.proof__sub { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.proof__cell--after { border-color: rgba(142, 240, 236, .45); }
.proof__cell--after .proof__big { color: var(--accent); }
.proof__arrow { color: var(--accent); font-size: 1.4rem; }
.proof__foot { margin: 18px 0 0; font-size: .9rem; }

/* Problem */
.problem > * { max-width: 760px; }
.problem p { font-size: 1.15rem; color: var(--muted); }
.problem p strong { color: var(--text); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card__num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(142, 240, 236, .12); color: var(--accent);
  font: 800 1rem/1 var(--head); margin-bottom: 16px;
}
.card p { color: var(--muted); margin: 0; }

/* Case study */
.case__head { max-width: 820px; }
.case__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.panel p { color: var(--muted); }
.panel p strong { color: var(--text); }
.tag { font: 700 .75rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; color: var(--muted); }
.tag--after { color: var(--accent); }
.shot { margin: auto 0 0; padding-top: 8px; }
.shot__frame { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.shot__frame--tall { max-height: 380px; position: relative; }
.shot__frame--tall::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70px;
  background: linear-gradient(transparent, #fff);
}
.shot figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.stat__num { font: 800 clamp(2.2rem, 4.5vw, 3rem)/1 var(--head); color: var(--accent); margin-bottom: 10px; }
.stat p { margin: 0; color: var(--muted); font-size: .95rem; }

.took { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: start; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--muted); }
.list li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}
.honest { background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 24px 26px; }
.honest p { color: var(--muted); }
.honest p:last-child { margin: 0; }
.honest strong { color: var(--text); }
.fineprint { margin-top: 28px; font-size: .8rem; color: var(--muted); opacity: .85; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 .9rem/1 var(--head); color: var(--accent); letter-spacing: .1em; margin-bottom: 12px; }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }

/* FAQ */
.faq { max-width: 820px; margin-top: 32px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 40px 22px 0; position: relative;
  font: 700 1.08rem/1.35 var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 400 1.6rem/1 var(--body); color: var(--accent); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; max-width: 40em; }

/* About + contact */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: 20px; padding: 36px;
}
.contact .btn { width: 100%; margin-top: 8px; }
.contact__email { display: block; margin-top: 14px; text-align: center; font-size: .95rem; color: var(--muted); word-break: break-all; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: .9rem; color: var(--muted); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer img { height: 64px; width: auto; mix-blend-mode: lighten; }
.footer p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .about, .took { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .header .wrap { gap: 10px; }
  .cards, .case__grid, .stats { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 20px; }
  .contact { padding: 26px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .steps { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .proof { padding: 20px; }
  .proof__big { font-size: 1.15rem; }
  .proof__cell { padding: 14px 10px; }
  .proof__row { gap: 8px; }
  .brand { gap: 8px; }
  .brand__name { font-size: .82rem; line-height: 1.1; }
  .brand__name span { display: block; }
  .brand img { width: 36px; height: 36px; }
  .header .btn--sm { padding: 8px 12px; }
}
