:root {
  color-scheme: dark;
  --bg: #091319;
  --panel: #0e1d25;
  --panel-soft: #112630;
  --line: #203742;
  --line-bright: #35505d;
  --text: #edf4f6;
  --muted: #91abb7;
  --amber: #f4b53f;
  --amber-soft: #d8a86b;
  --green: #55d6a5;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 11%, rgba(32, 87, 105, 0.28), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--amber);
  color: #101820;
  font-weight: 750;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  width: 55px;
  height: 36px;
  object-fit: cover;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.language-switcher:not([hidden]) {
  position: relative;
  flex-shrink: 0;
}

.language-switcher summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-bright);
  border-radius: 8px;
  background: var(--panel);
  font-size: 0.8rem;
  list-style: none;
  cursor: pointer;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1px solid var(--muted);
  border-bottom: 1px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  content: "";
}

.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  width: 190px;
  padding: 6px;
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.language-switcher button {
  display: inline-flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
}

.language-switcher button:hover {
  color: var(--text);
}

.language-switcher button[aria-pressed="true"] {
  border-color: var(--line-bright);
  background: var(--panel-soft);
  color: var(--text);
}

.language-switcher button:focus-visible,
.language-switcher summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.language-flag {
  display: block;
  flex-shrink: 0;
  width: 21px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--amber);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.3fr);
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
  width: min(calc(100% - 40px), var(--max));
  min-height: 690px;
  margin: 0 auto;
  padding: 70px 0 100px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--amber-soft);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 26px;
  height: 1px;
  background: var(--amber);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3.45rem, 7.4vw, 6.7rem);
  font-weight: 720;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

h1 em {
  color: var(--amber);
  font-style: normal;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--amber);
  color: #172026;
}

.button-primary:hover {
  background: #ffc457;
}

.button-secondary {
  border-color: var(--line-bright);
  background: rgba(14, 29, 37, 0.7);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--amber-soft);
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 27px 0 0;
  padding: 0;
  color: #78939f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.74rem;
  list-style: none;
}

.platforms li::before {
  margin-right: 7px;
  color: var(--green);
  content: "●";
}

.hero-window,
.showcase-frame {
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 13px;
  background: #071117;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.43), 0 0 0 8px rgba(255, 255, 255, 0.018);
}

.hero-window {
  width: 100%;
  min-width: 0;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #10212a;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #39515d;
}

.window-bar span:first-child {
  background: var(--amber);
}

.window-bar p {
  margin: 0 0 0 8px;
  color: #7693a0;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.68rem;
}

.hero-window img,
.showcase-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 38px);
  min-height: 92px;
  padding: 20px;
  border-block: 1px solid var(--line);
  background: rgba(11, 28, 36, 0.72);
  color: #8aa5b0;
}

.proof p {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.proof strong {
  color: #c5d5db;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.88rem;
}

.proof > span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.7fr);
  gap: 30px 80px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -10px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.section-heading > p:last-child {
  margin-bottom: 4px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(17, 38, 48, 0.92), rgba(10, 25, 32, 0.9));
}

.feature-card-wide {
  grid-column: 1 / -1;
  min-height: 380px;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 54px;
  place-items: center;
  border: 1px solid #3d525b;
  border-radius: 10px;
  background: #0b181f;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 750;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.feature-card > p {
  max-width: 530px;
  color: var(--muted);
}

.feature-pro {
  display: inline-block;
  padding: 3px 7px;
  border: 1px solid var(--amber-soft);
  border-radius: 5px;
  color: var(--amber);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.group-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  font-size: 0.8rem;
}

.group-preview strong {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--amber-soft);
}

.group-preview strong span {
  color: var(--muted);
  font-weight: 400;
}

.preview-host {
  display: block;
  margin-top: 8px;
  padding: 8px;
  border-left: 2px solid var(--amber);
  border-radius: 4px;
  background: var(--panel);
  overflow-wrap: anywhere;
}

.group-preview > div:last-child .preview-host {
  border-color: var(--green);
}

.sync-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.sync-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 50px;
  padding-bottom: 0;
}

.sync-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.35rem, 4vw, 3.6rem);
}

.sync-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.sync-benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.sync-benefits li {
  display: flex;
  gap: 12px;
}

.sync-benefits li::before {
  color: var(--green);
  content: "✓";
}

.sync-preview {
  margin: 0;
}

.terminal-snippet {
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(44%, 460px);
  padding: 22px;
  border: 1px solid #25404b;
  border-radius: 9px;
  background: #071217;
  color: #91a7af;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.78rem;
}

.terminal-snippet p {
  margin: 0 0 5px;
}

.terminal-snippet span {
  color: var(--green);
}

.terminal-snippet b {
  display: inline-block;
  width: 7px;
  height: 14px;
  vertical-align: -2px;
  background: var(--amber);
}

.showcase {
  padding-top: 62px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading.compact .eyebrow {
  margin-bottom: 18px;
}

.showcase-frame {
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.34);
}

.showcase-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.showcase-carousel.is-ready .showcase-track {
  overflow: visible;
  transition: transform 500ms ease;
}

.showcase-slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.showcase-slide img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #0b141a;
}

.carousel-controls:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.carousel-dots {
  display: flex;
  gap: 4px;
}

.carousel-dots button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button::before {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: var(--line-bright);
  content: "";
}

.carousel-dots button[aria-pressed="true"]::before {
  width: 24px;
  background: var(--amber);
}

.carousel-controls button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.showcase-caption {
  display: flex;
  justify-content: space-between;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  color: #829ca7;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.72rem;
}

.security {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  border-top: 1px solid var(--line);
}

.security-list article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.security-list strong {
  color: var(--amber-soft);
}

.security-list p {
  margin: 0;
  color: var(--muted);
}

.download {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 40px;
  padding: 115px 20px;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 20%, rgba(244, 181, 63, 0.09), transparent 24rem),
    #0b1a21;
  text-align: center;
}

.download img {
  margin-bottom: 30px;
}

.eyebrow.centered {
  justify-content: center;
}

.download h2 {
  margin-bottom: 16px;
}

.download > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: var(--muted);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 40px), var(--max));
  min-height: 120px;
  margin: 0 auto;
}

.brand-small {
  font-size: 1rem;
}

.brand-small img {
  width: 42px;
  height: 28px;
}

footer p {
  margin: 0;
  color: #6f8994;
  font-size: 0.82rem;
}

footer div {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

@media (max-width: 960px) {
  .sync-showcase {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 85px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-window {
    width: 100%;
  }

  .security {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(calc(100% - 28px), var(--max));
    flex-wrap: wrap;
    gap: 16px;
  }

  nav {
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  nav a:first-child,
  nav a:nth-child(2) {
    display: none;
  }

  .hero,
  .section,
  footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding: 55px 0 75px;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5.3rem);
  }

  .proof {
    flex-wrap: wrap;
  }

  .proof p {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading .eyebrow {
    margin-bottom: 18px;
  }

  .section-heading h2 {
    margin-bottom: 24px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-wide {
    grid-column: auto;
    min-height: 470px;
  }

  .terminal-snippet {
    right: 24px;
    bottom: 24px;
    left: 24px;
    width: auto;
  }

  .showcase-caption span + span {
    display: none;
  }

  .security-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 35px 0;
    text-align: center;
  }

  footer .brand,
  footer div {
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.plan-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.plan-card-pro {
  border-color: var(--amber-soft);
}
.plan-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}
.plan-card p,
.plan-note {
  color: var(--muted);
}
.plan-card ul {
  padding-left: 20px;
  margin: 24px 0 0;
}
.plan-card li + li {
  margin-top: 12px;
}
.plan-note {
  margin: 20px 0 0;
  font-size: 14px;
}
@media (max-width: 640px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
  .plan-card {
    padding: 22px;
  }
}
