:root {
  --bg: #070a0d;
  --bg-2: #0b1014;
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.16);
  --text: #f5f7f8;
  --muted: #9ca6ad;
  --muted-2: #737e86;
  --green: #78c75b;
  --max: 1120px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 70px;
  background: rgba(7,10,13,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.nav {
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 19px;
}
.brand-mark {
  width: 18px;
  height: 28px;
  border: 1.7px solid rgba(255,255,255,.92);
  border-radius: 9px;
  position: relative;
  flex-shrink: 0;
}
.brand-mark::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3px;
  width: 1.6px;
  height: 6px;
  transform: translateX(-50%);
  background: var(--green);
  border-radius: 99px;
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 10px;
  height: 1px;
  background: rgba(255,255,255,.4);
}

.nav-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  position: relative;
  color: #c5cbd0;
  font-size: 14px;
  padding: 4px 0 7px;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--green);
}

.lang-switch {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #e4e8ea;
}
.lang-switch svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
}
.lang-switch:hover { color: var(--green); }

/* Hero */
.hero { padding: 52px 0 48px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  font-size: 11px;
  letter-spacing: .04em;
  color: #cbd1d5;
}
.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -.05em;
  max-width: 620px;
  font-weight: 700;
}
.hero h1 .accent { color: var(--green); }
.lead {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn {
  min-height: 52px;
  padding: 8px 20px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 650;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.btn-primary { color: #071006; background: var(--green); }
.btn-primary:hover { background: #86d168; }
.btn-secondary {
  color: #f2f4f5;
  border-color: var(--line-strong);
  background: transparent;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.03); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  opacity: .72;
  line-height: 1;
  margin-top: 3px;
}
.btn-copy { line-height: 1.1; }

.micro-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.micro { text-align: center; min-width: 0; }
.micro-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.micro-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: #dde2e5;
  fill: none;
  overflow: visible;
}
.micro strong { display: block; font-size: 13px; font-weight: 650; }
.micro span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 4px;
}

.mac-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.mac-visual img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

/* Lifestyle */
.lifestyle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 310px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.lifestyle-media { overflow: hidden; height: 100%; }
.lifestyle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% 55%;
}
.lifestyle-copy {
  display: flex;
  align-items: center;
  padding: 36px 48px 36px 56px;
}
.lifestyle-copy .inner { max-width: 420px; }
.kicker {
  color: var(--green);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 650;
}
.lifestyle h2 {
  margin: 10px 0 12px;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.12;
  letter-spacing: -.03em;
  font-weight: 700;
}
.lifestyle p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  margin: 0;
}
.rule { width: 40px; height: 2px; background: var(--green); margin-top: 18px; }

/* Showcase cards */
.showcase { padding: 48px 0 20px; }
.section-heading { text-align: center; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: 26px; letter-spacing: -.025em; font-weight: 700; }
.section-heading p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
}
.card-visual {
  height: 228px;
  position: relative;
  overflow: hidden;
  background: #0e1418;
  display: grid;
  place-items: center;
}
.card-visual.app-shot { background: #12181d; padding: 18px; }
.card-visual.app-shot img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 192px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

.menu-demo {
  width: 86%;
  border-radius: 10px;
  overflow: hidden;
  background: #161c21;
  border: 1px solid rgba(255,255,255,.12);
}
.menu-bar {
  height: 26px;
  background: #0c1014;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 10px;
  color: #c5cbd0;
}
.menu-bar-left,
.menu-bar-right { display: flex; align-items: center; gap: 8px; }
.menu-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.menu-panel { padding: 10px 12px 12px; }
.menu-panel div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  color: #dce1e4;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.menu-panel div:last-child { border: 0; }
.menu-panel .ok { color: var(--green); }

.mouse-wrap {
  position: relative;
  width: 160px;
  height: 180px;
  display: grid;
  place-items: center;
}
.mouse-demo {
  width: 72px;
  height: 112px;
  border-radius: 36px 36px 30px 30px;
  border: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(160deg, #d5d6d6, #7a7e82);
  box-shadow: inset -8px -10px 18px rgba(0,0,0,.22);
  position: relative;
}
.mouse-demo::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(0,0,0,.22);
}
.mouse-demo::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 5px;
  height: 16px;
  border-radius: 99px;
  background: #2d3033;
  transform: translateX(-50%);
}
.switch-arrows {
  position: absolute;
  right: 6px;
  bottom: 28px;
  width: 42px;
  height: 42px;
  color: #f5f7f8;
}

.feature-card .copy { padding: 16px 17px 18px; }
.feature-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 650; }
.feature-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* CTA */
.download-strip {
  margin: 28px 0 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
}
.download-strip .left { display: flex; align-items: center; gap: 16px; }
.download-strip .circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
}
.download-strip .circle svg { width: 22px; height: 22px; stroke: currentColor; }
.download-strip h3 { margin: 0 0 4px; font-size: 20px; font-weight: 650; }
.download-strip p { margin: 0; color: var(--muted); font-size: 13px; }
.download-strip .btn { min-width: 240px; }

/* Install */
.install { padding: 88px 0 96px; }
.install-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.step { text-align: center; position: relative; padding: 0 8px; }
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -10px;
  top: 28px;
  color: #59636a;
  font-size: 18px;
  font-weight: 300;
}
.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: #12181d;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.step-icon svg { width: 28px; height: 28px; stroke: #dce3e6; display: block; }
.step-icon.green {
  background: var(--green);
  border-color: var(--green);
}
.step-icon.green svg { stroke: #071006; }
.step-icon.check {
  background: transparent;
  border: 0;
}
.step-icon.check svg { width: 40px; height: 40px; stroke: var(--green); }
.step strong { display: block; font-size: 13px; margin-bottom: 5px; }
.step span { display: block; color: var(--muted); font-size: 11px; line-height: 1.45; }

/* SEO / FAQ — light visual weight after the main page */
.seo-copy { padding: 28px 0 12px; }
.seo-box {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 36px;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 36px;
  align-items: start;
}
.seo-box h2 {
  margin: 8px 0 0;
  font-size: 20px;
  letter-spacing: -.02em;
  font-weight: 600;
  color: #dce2e6;
}
.seo-box p {
  margin: 0 0 12px;
  color: var(--muted-2);
  line-height: 1.75;
  font-size: 14px;
}

.faq { padding: 56px 0 88px; }
.faq-wrap {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 36px;
  align-items: start;
}
.faq h2 {
  margin: 8px 0 0;
  font-size: 20px;
  letter-spacing: -.02em;
  font-weight: 600;
  color: #dce2e6;
}
.faq-intro {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.65;
  margin-top: 10px;
}
details { border-bottom: 1px solid rgba(255,255,255,.06); }
summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 550;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  color: var(--green);
  font-size: 18px;
  font-weight: 400;
}
details[open] summary::after { content: "−"; }
details p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 16px;
  max-width: 720px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 22px;
  background: #080c0f;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .7fr .85fr .9fr;
  gap: 32px;
}
.footer-brand p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  max-width: 260px;
  margin: 12px 0 14px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
}
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-title {
  font-size: 12px;
  font-weight: 650;
  margin-bottom: 12px;
  color: #d9dee1;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0;
}
.footer-col a:hover { color: #fff; }
.mcb .label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.mcb .mcb-name {
  display: block;
  color: var(--green);
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -.02em;
  margin: 0 0 8px;
}
.mcb .mcb-name:hover { color: #91db6c; }
.mcb .mcb-url {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.copyright {
  margin-top: 28px;
  text-align: center;
  color: #667078;
  font-size: 11px;
}

/* 1024 still desktop: 3 cards, 2-col hero, nav visible */
@media (max-width: 1023px) {
  .hero-grid { gap: 28px; }
  .hero h1 { font-size: clamp(34px, 4.4vw, 48px); }
  .mac-visual img { max-width: 440px; }
  .lifestyle-copy { padding: 28px 32px; }
}

@media (max-width: 899px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .mac-visual img { margin: 0 auto; max-width: 420px; }
  .lifestyle {
    grid-template-columns: 1fr;
    height: auto;
  }
  .lifestyle-media { height: 240px; }
  .lifestyle-copy { padding: 36px 32px; }
}

@media (max-width: 768px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .micro-features { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .cards { grid-template-columns: 1fr; }
  .card-visual { height: 220px; }
  .download-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }
  .download-strip .btn { min-width: 0; width: 100%; }
  .install-grid { grid-template-columns: 1fr; gap: 18px; }
  .step:not(:last-child)::after { display: none; }
  .step {
    display: grid;
    grid-template-columns: 64px 1fr;
    text-align: left;
    gap: 14px;
    align-items: center;
  }
  .step-icon { margin: 0; }
  .step strong, .step span { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .seo-box, .faq-wrap { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 430px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { height: 64px; }
  .site-header { height: 64px; }
  .brand { font-size: 17px; }
  .hero { padding: 32px 0 36px; }
  .hero h1 { font-size: 36px; }
  .lead { font-size: 15px; }
  .mac-visual { display: none; }
  .lifestyle-media { height: 200px; }
  .lifestyle-copy { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .copyright { text-align: left; }
}

@media (max-width: 768px) {
  .install { padding: 64px 0 72px; }
  .faq { padding: 40px 0 72px; }
}

.cookie-bar {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  background: #080c0f;
  border-top: 1px solid var(--line);
  box-shadow: 0 -16px 40px rgba(0,0,0,.35);
}
.cookie-bar.is-visible { display: block; }
.cookie-bar-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding: 22px 0;
}
.cookie-bar-copy { max-width: 640px; }
.cookie-bar-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 6px;
}
.cookie-bar-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.cookie-details-toggle {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-details-toggle:hover { color: #91db6c; }
.cookie-details {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cookie-details.is-open { display: grid; gap: 10px; }
.cookie-details div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  font-size: 12px;
  line-height: 1.45;
}
.cookie-details dt,
.cookie-details b {
  color: var(--text);
  font-weight: 650;
}
.cookie-details span { color: var(--muted); }
.cookie-bar-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  padding-top: 2px;
}
.cookie-bar-actions .btn {
  min-height: 44px;
  min-width: 148px;
  padding: 0 18px;
  font-size: 14px;
  cursor: pointer;
}
.cookie-bar-actions .btn small { display: none; }
.cookie-link {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.cookie-link:hover { color: #fff; }

@media (max-width: 768px) {
  .cookie-bar-inner {
    flex-direction: column;
    gap: 16px;
    padding: 18px 0 20px;
  }
  .cookie-bar-actions { width: 100%; }
  .cookie-bar-actions .btn { flex: 1; min-width: 0; }
  .cookie-details div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 430px) {
  .cookie-bar-actions { flex-direction: column; }
  .cookie-bar-actions .btn { width: 100%; }
}

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