:root {
  color-scheme: light;
  --bg: #f5f5f7;
  --panel: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #e8e8ed;
  --line: rgba(0, 0, 0, 0.12);
  --blue: #0071e3;
  --blue-dark: #005bb8;
  --red: #b4233a;
  --teal: #0c7a7a;
  --header-height: 52px;
  --screen-height: 100vh;
  --screen-width: 100vw;
  --section-x-padding: clamp(18px, 5vw, 72px);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
  --nav-x: 8px;
  --nav-w: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
}

body::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 32%, rgba(255, 46, 66, 0.2) 54%, rgba(5, 5, 8, 0.94)),
    rgba(5, 5, 8, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transform: translateY(18%) scale(1.02);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body::after {
  left: -35%;
  width: 42%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.54), transparent);
  filter: blur(2px);
  transform: translateX(-120%) skewX(-15deg);
  transition: opacity 220ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.is-page-leaving::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.is-page-leaving::after {
  opacity: 0.95;
  transform: translateX(360%) skewX(-15deg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 42px);
  color: rgba(255, 255, 255, 0.88);
  background: rgba(17, 17, 19, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-light {
  color: rgba(29, 29, 31, 0.86);
  background: rgba(250, 250, 252, 0.74);
  border-color: rgba(0, 0, 0, 0.08);
}

.primary-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  padding: 4px;
  border-radius: 999px;
}

.primary-nav {
  grid-column: 2;
  max-width: 100%;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 28px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: currentColor;
  opacity: 0.78;
  white-space: nowrap;
  transition: opacity 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-indicator {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  height: 28px;
  border-radius: 999px;
  pointer-events: none;
  transform: translateX(var(--nav-x));
  width: var(--nav-w);
  background: rgba(255, 255, 255, 0.14);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), width 260ms cubic-bezier(0.2, 0.8, 0.2, 1), background 220ms ease;
}

.site-header.is-light .nav-indicator {
  background: rgba(0, 0, 0, 0.08);
}

.header-auth-actions {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.login-link,
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 46, 66, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 26px rgba(255, 46, 66, 0.18);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.login-link {
  color: #ffffff;
  background: rgba(255, 46, 66, 0.92);
  box-shadow: 0 10px 26px rgba(255, 46, 66, 0.18);
}

.panel-link {
  color: currentColor;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.site-header.is-light .panel-link {
  color: rgba(29, 29, 31, 0.88);
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.login-link:hover {
  background: #ff2e42;
  box-shadow: 0 14px 34px rgba(255, 46, 66, 0.26);
  transform: translateY(-1px);
}

.panel-link:hover {
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-1px);
}

.site-header.is-light .panel-link:hover {
  background: rgba(0, 0, 0, 0.08);
}

.login-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-hidden {
  display: none !important;
}

.ok-force-hidden,
[id*="copy-history" i],
[class*="copy-history" i],
[id*="copy_history" i],
[class*="copy_history" i],
[id*="clipboard-history" i],
[class*="clipboard-history" i],
[id*="clipboard_history" i],
[class*="clipboard_history" i],
[aria-label*="Copy history" i],
[title*="Copy history" i],
[aria-label*="Total/Max" i],
[title*="Total/Max" i] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.section-panel {
  position: relative;
  width: 100%;
  height: var(--screen-height);
  min-height: var(--screen-height);
  padding: max(74px, calc(var(--header-height) + 24px)) var(--section-x-padding) clamp(28px, 5vw, 58px);
  overflow: hidden;
  scroll-margin-top: 0;
}

.section-dark {
  color: #f5f5f7;
  background: #050506;
}

.section-light {
  background: #ffffff;
}

.section-soft {
  background: #f5f5f7;
}

.hero {
  height: var(--screen-height);
  min-height: var(--screen-height);
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #050506;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #050506 url("hero-bg.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.2) 0%, rgba(5, 5, 6, 0.04) 48%, rgba(5, 5, 6, 0.38) 100%),
    linear-gradient(to bottom, rgba(5, 5, 6, 0.18), rgba(5, 5, 6, 0.04) 50%, rgba(5, 5, 6, 0.74));
  z-index: -1;
}

.hero-layout {
  width: min(1180px, 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(560px, 58vw);
  margin-left: clamp(126px, 18vw, 270px);
  padding-top: 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 650;
  color: var(--blue);
}

.section-dark .eyebrow,
.banner-black .eyebrow,
.banner-blue .eyebrow,
.tile-dark .eyebrow,
.tile-red .eyebrow,
.tile-ink .eyebrow {
  color: #7cc7ff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(50px, 6.2vw, 92px);
  line-height: 1;
  font-weight: 300;
}

.hero-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.105em;
  color: rgba(255, 255, 255, 0.94);
  text-transform: none;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  white-space: nowrap;
}

.hero-title span:last-child {
  padding-left: 0;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 300;
  letter-spacing: 0.13em;
  background: none;
}

.hero-title::after {
  content: "";
  width: clamp(132px, 18vw, 220px);
  height: 3px;
  margin-top: clamp(16px, 2vw, 22px);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 46, 66, 0), #ff2e42, rgba(255, 255, 255, 0));
  align-self: center;
}

.hero-subtitle {
  width: max-content;
  max-width: calc(100vw - 40px);
  margin: 24px auto 0;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.16;
  color: rgba(245, 245, 247, 0.78);
  font-weight: 520;
}

.hero-subtitle span {
  display: block;
  white-space: nowrap;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-actions {
  justify-content: center;
}

.contact-actions {
  justify-content: center;
}

.hero-portrait {
  --portrait-right: 100px;
  position: absolute;
  right: var(--portrait-right);
  bottom: 0;
  z-index: 1;
  height: min(calc(var(--screen-height) - 70px), 650px);
  width: auto;
  pointer-events: none;
}

.hero-portrait img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: right bottom;
}

.hero .button-primary {
  background: #ff2e42;
}

.hero .button-primary:hover {
  background: #dc1f34;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 560;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--blue);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-ghost {
  color: #f5f5f7;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary {
  color: var(--blue);
  border-color: rgba(0, 113, 227, 0.28);
  background: rgba(0, 113, 227, 0.08);
}

.intro-panel {
  display: grid;
  align-items: center;
}

.intro-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
}

.intro-copy h2,
.section-heading h2,
.contact-wrap h2 {
  margin: 0;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.02;
  font-weight: 740;
}

.metric-row {
  display: grid;
  gap: 12px;
}

.metric {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius);
  background: #f5f5f7;
  border: 1px solid var(--line);
}

.metric span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.metric p {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto clamp(18px, 3vw, 34px);
  text-align: center;
}

.banner-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.banner-shell,
.feature-grid,
.timeline,
.contact-wrap {
  position: relative;
}

.banner-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.banner-card {
  height: clamp(280px, 43vh, 400px);
  min-height: 0;
  padding: clamp(24px, 4vw, 54px);
  display: grid;
  align-content: end;
  position: relative;
  transform: translateX(calc(var(--active-slide, 0) * -100%));
  transition: transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.banner-card h3 {
  margin: 0;
  font-size: clamp(36px, 6vw, 82px);
  line-height: 0.96;
  font-weight: 760;
}

.banner-card p:not(.eyebrow) {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: clamp(17px, 2vw, 24px);
  color: currentColor;
  opacity: 0.74;
}

.banner-black {
  color: #f5f5f7;
  background:
    linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, 0.12) 55% 56%, transparent 56%),
    #070709;
}

.banner-white {
  color: #1d1d1f;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(0, 0, 0, 0.08) 58% 59%, transparent 59%),
    #ffffff;
}

.banner-blue {
  color: #f5f5f7;
  background:
    linear-gradient(135deg, transparent 0 54%, rgba(255, 255, 255, 0.16) 54% 55%, transparent 55%),
    #0a2342;
}

.banner-mark {
  position: absolute;
  top: clamp(26px, 4vw, 48px);
  right: clamp(26px, 4vw, 52px);
  font-size: clamp(58px, 9vw, 132px);
  font-weight: 760;
  opacity: 0.1;
  line-height: 1;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.08);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: background 180ms ease, transform 180ms ease;
}

.icon-button:hover {
  background: rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 58px;
  justify-content: center;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  transition: width 220ms ease, background 220ms ease;
}

.carousel-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--ink);
}

.feature-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-tile {
  min-height: clamp(240px, 40vh, 340px);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
}

.feature-tile h3 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.04;
  font-weight: 730;
}

.feature-tile span {
  font-size: 15px;
  color: currentColor;
  opacity: 0.72;
}

.tile-dark {
  color: #f5f5f7;
  background: #09090b;
}

.tile-silver {
  color: #1d1d1f;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(216, 220, 226, 0.86)),
    #edf0f4;
}

.tile-red {
  color: #fff7f7;
  background: #8f1f32;
}

.tile-ink {
  color: #f5f5f7;
  background: #17312f;
}

.timeline {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 24px;
  padding: clamp(16px, 2.4vh, 24px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.timeline-item span {
  color: rgba(245, 245, 247, 0.58);
  font-weight: 650;
}

.timeline-item h3 {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 34px);
}

.timeline-item p {
  margin: 0;
  color: rgba(245, 245, 247, 0.66);
  font-size: 18px;
}

.contact-section {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding-bottom: 0;
  text-align: center;
}

.contact-wrap {
  width: min(900px, 100%);
}

.contact-wrap p:not(.eyebrow) {
  margin: 22px auto 0;
  width: min(620px, 100%);
  font-size: clamp(19px, 2.4vw, 26px);
  color: var(--muted);
}

.site-footer {
  min-height: 86px;
  width: calc(100% + var(--section-x-padding) + var(--section-x-padding));
  margin-right: calc(0px - var(--section-x-padding));
  margin-left: calc(0px - var(--section-x-padding));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: #f5f5f7;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--ink);
}

.footer-icon-link {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #111113;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 245, 247, 0.68)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.footer-icon-link:hover {
  border-color: rgba(255, 46, 66, 0.34);
  box-shadow: 0 16px 34px rgba(255, 46, 66, 0.18);
  transform: translateY(-3px);
}

.footer-icon-link::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: rgba(255, 46, 66, 0.1);
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-icon-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.footer-icon-link svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-portrait.reveal,
.hero-portrait.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 10px;
  }

  .primary-nav {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: calc(100vw - 220px);
  }

  .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    min-width: max-content;
  }

  .login-link {
    width: 38px;
    height: 32px;
    padding: 0;
  }

  .header-auth-actions {
    gap: 6px;
  }

  .panel-link {
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
  }

  .login-link span {
    display: none;
  }

  .hero-copy {
    width: min(540px, 62vw);
    margin-left: clamp(20px, 5vw, 56px);
  }

  .hero-portrait {
    --portrait-right: 48px;
    height: min(calc(var(--screen-height) - 82px), 520px);
    opacity: 0.82;
  }

  .hero-portrait.reveal,
  .hero-portrait.reveal.is-visible {
    opacity: 0.82;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .intro-copy h2,
  .section-heading h2,
  .contact-wrap h2 {
    font-size: clamp(30px, 6vw, 58px);
  }

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

  .feature-tile {
    min-height: clamp(150px, 22vh, 220px);
    padding: 18px;
  }

  .feature-tile h3 {
    font-size: clamp(20px, 3.5vw, 30px);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  :root {
    --section-x-padding: 16px;
  }

  .section-panel {
    padding-bottom: 22px;
  }

  .primary-nav {
    max-width: calc(100vw - 178px);
  }

  .header-auth-actions {
    gap: 4px;
  }

  .panel-link {
    padding: 0 8px;
    font-size: 10px;
  }

  .contact-section {
    padding-bottom: 0;
  }

  h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .hero-layout {
    width: 100%;
  }

  .hero-copy {
    width: min(100%, 440px);
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .hero-title span:last-child {
    padding-left: 0;
    letter-spacing: 0.075em;
  }

  .hero-title::after {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-subtitle {
    font-size: 21px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-portrait {
    --portrait-right: 16px;
    height: min(43vh, 310px);
    opacity: 0.42;
  }

  .hero-portrait.reveal,
  .hero-portrait.reveal.is-visible {
    opacity: 0.42;
  }

  .button {
    width: 100%;
  }

  .banner-card {
    height: clamp(280px, 42vh, 360px);
    min-height: 0;
    padding: 20px;
  }

  .banner-card h3 {
    font-size: clamp(32px, 11vw, 50px);
  }

  .banner-card p:not(.eyebrow) {
    font-size: 17px;
  }

  .feature-tile {
    min-height: clamp(126px, 18vh, 158px);
    padding: 14px;
  }

  .feature-tile h3 {
    font-size: 18px;
  }

  .feature-tile span {
    font-size: 12px;
  }

  .timeline-item p {
    font-size: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .banner-card {
    transition: none;
  }

  body::before,
  body::after {
    display: none;
  }
}
