:root {
  --navy: #14006b;
  --navy-strong: #0d004f;
  --orange: #ff5727;
  --ink: #15152e;
  --muted: #66677f;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f4fb;
  --surface-tint: #fbfaff;
  --line: #dedfec;
  --success: #16835f;
  --warning: #a86300;
  --danger: #c34037;
  --shadow: 0 18px 55px rgba(20, 0, 107, .09);
  --display: "Manrope", "Aptos Display", "Segoe UI", sans-serif;
  --body: "DM Sans", "Aptos", "Segoe UI", sans-serif;
  color-scheme: light;
}

html[data-theme="dark"] {
  --ink: #f5f4ff;
  --muted: #b5b4c9;
  --canvas: #0c0c19;
  --surface: #151426;
  --surface-soft: #1d1b32;
  --surface-tint: #12111f;
  --line: #35334d;
  --navy: #9f94ff;
  --navy-strong: #d8d2ff;
  --orange: #ff744c;
  --shadow: 0 18px 55px rgba(0, 0, 0, .28);
  color-scheme: dark;
}

html[data-scale="large"] { font-size: 112.5%; }
html[data-scale="larger"] { font-size: 125%; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.6;
  min-width: 320px;
}
button, input, textarea, select { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 18px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.skip-link:focus { top: 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(16px);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange) 0 72px, var(--navy-strong) 72px 100%);
}
.header-inner,
.shell,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  text-decoration: none;
}
.brand img {
  width: 150px;
  height: auto;
  display: block;
}
.brand-divider { width: 1px; height: 28px; background: var(--line); }
.brand-label { font-size: .84rem; color: var(--muted); font-weight: 750; }
.header-actions { display: flex; align-items: center; gap: 9px; }
.icon-button,
.menu-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.icon-button:hover,
.menu-button:hover { border-color: var(--orange); color: var(--orange); }
.icon-button svg,
.menu-button svg { width: 19px; height: 19px; }
.menu-button { display: none; }
.top-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 15px;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 800;
  font-size: .88rem;
}
.top-link.primary { background: var(--navy-strong); color: #fff; }
html[data-theme="dark"] .top-link.primary { background: #f5f4ff; color: #0d004f; }
.top-link:hover { transform: translateY(-1px); }

.hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 42px;
  align-items: center;
  padding: 88px 0 70px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 460px;
  height: 460px;
  left: -280px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange) 10%, transparent), transparent 70%);
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(2.35rem, 5vw, 4.4rem); margin: 0; max-width: 760px; }
.hero h1 em { color: var(--navy); font-style: normal; }
.hero-copy { max-width: 710px; margin: 20px 0 0; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 28px; }
.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 850;
}
.button.primary { background: var(--navy-strong); color: #fff; border-color: var(--navy-strong); }
.button:hover { border-color: var(--orange); color: var(--orange); }
.button.primary:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.button svg { width: 18px; height: 18px; }
.hero-panel {
  min-height: 410px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 94% 4%, rgba(255,87,39,.72) 0 13%, transparent 13.3%),
    linear-gradient(145deg, #0d004f, #18007c);
  box-shadow: var(--shadow);
  color: #fff;
  padding: 24px 22px 18px;
}
.hero-panel > * { position: relative; z-index: 1; }
.device-stage { min-height: 366px; position: relative; display: flex; align-items: center; }
.laptop-device { width: 92%; position: relative; filter: drop-shadow(0 22px 28px rgba(0,0,0,.28)); }
.laptop-camera { position: absolute; z-index: 2; left: 50%; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: #57516e; transform: translateX(-50%); }
.laptop-screen { overflow: hidden; aspect-ratio: 1.72; padding: 8px 8px 10px; border: 2px solid #dedce8; border-radius: 14px 14px 7px 7px; background: #171625; }
.laptop-screen img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top left; border-radius: 5px; }
.laptop-base { width: 108%; height: 10px; margin-left: -4%; border-radius: 2px 2px 12px 12px; background: linear-gradient(180deg, #f8f7fb, #bdbac8); box-shadow: inset 0 1px #fff; }
.laptop-base::after { content: ""; display: block; width: 22%; height: 3px; margin: 0 auto; border-radius: 0 0 5px 5px; background: #aaa6b6; }
.phone-device { width: 29%; position: absolute; z-index: 3; right: -2px; bottom: -2px; padding: 6px; border: 2px solid #d5d2dc; border-radius: 34px; background: linear-gradient(145deg, #24222b, #08080d); box-shadow: 0 20px 36px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.16); transform: rotate(2deg); }
.phone-notch { position: absolute; z-index: 5; left: 50%; top: 6px; width: 48%; height: 15px; border-radius: 0 0 12px 12px; background: #050507; transform: translateX(-50%); }
.phone-notch span { position: absolute; right: 12%; top: 4px; width: 4px; height: 4px; border-radius: 50%; background: #252937; box-shadow: inset 0 0 0 1px #30384c; }
.phone-screen { overflow: hidden; aspect-ratio: 390 / 844; border-radius: 27px; background: #fff; }
.phone-screen img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: left top; }

.section { padding: 44px 0 82px; }
.section + .section { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.section-heading p { max-width: 610px; margin: 8px 0 0; color: var(--muted); }
.product-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.product-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: linear-gradient(var(--orange), var(--navy)); }
.product-heading { display: flex; align-items: center; gap: 18px; }
.product-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 17px;
  background: var(--surface-soft);
  color: var(--navy);
}
.product-icon svg { width: 29px; height: 29px; }
.product-card h3 { margin: 0 0 5px; font-size: 1.35rem; }
.product-card p { margin: 0; max-width: 720px; color: var(--muted); }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0 76px; }
.tag { padding: 6px 10px; border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: .77rem; font-weight: 800; }
.product-points { display: flex; flex-wrap: wrap; gap: 14px 22px; margin: 22px 0 0 76px; padding: 18px 0 0; border-top: 1px solid var(--line); }
.product-points span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .84rem; font-weight: 700; }
.product-points svg { width: 16px; height: 16px; color: var(--success); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.resource-card {
  min-height: 175px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  text-decoration: none;
  transition: .18s ease;
  position: relative;
}
.resource-card:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); }
.resource-card svg { width: 23px; height: 23px; color: var(--orange); }
.resource-card h3 { margin: 28px 0 7px; font-size: 1.02rem; }
.resource-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.resource-card::after { content: "\2192"; position: absolute; right: 20px; top: 20px; color: var(--muted); font-size: 1.2rem; transition: transform .18s ease; }
.resource-card:hover::after { color: var(--orange); transform: translateX(3px); }

.page-hero { padding: 68px 0 38px; max-width: 930px; }
.page-hero::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 30px; border-radius: 10px; background: linear-gradient(90deg, var(--orange), var(--navy)); }
.page-hero h1 { font-size: clamp(2.1rem, 4.3vw, 3.55rem); }
.page-hero p { margin: 18px 0 0; color: var(--muted); font-size: 1.05rem; }
.status-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 15px 17px;
  border: 1px solid color-mix(in srgb, var(--warning) 40%, var(--line));
  border-radius: 13px;
  background: color-mix(in srgb, var(--warning) 8%, var(--surface));
  color: var(--muted);
  font-size: .88rem;
}
.status-banner strong { color: var(--ink); }
.status-banner svg { flex: 0 0 auto; width: 19px; color: var(--warning); }
.privacy-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 38px 298px; }
.privacy-summary article { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-tint); }
.privacy-summary svg { width: 21px; height: 21px; color: var(--orange); }
.privacy-summary strong { display: block; margin: 10px 0 4px; font-family: var(--display); }
.privacy-summary p { margin: 0; color: var(--muted); font-size: .86rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 88px; }
.legal-nav { position: sticky; top: 104px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 14px; }
.legal-nav strong { display: block; padding: 8px 9px 10px; font-family: var(--display); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.legal-nav a { display: block; padding: 8px 9px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: .82rem; }
.legal-nav a:hover { background: var(--surface-soft); color: var(--navy); }
.legal-content { min-width: 0; }
.legal-section { scroll-margin-top: 105px; padding: 0 0 34px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.legal-section:last-child { border: 0; }
.legal-section h2 { margin: 0 0 14px; font-size: 1.45rem; }
.legal-section h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.legal-section p, .legal-section li { color: var(--muted); }
.legal-section ul { padding-left: 1.2rem; }
.legal-section li + li { margin-top: 8px; }
.callout { padding: 18px; border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; background: var(--surface-soft); }
.callout p { margin: 0; }
.detail-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .9rem; }
.detail-table th, .detail-table td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.detail-table th { background: var(--surface-soft); font-family: var(--display); }
.not-found { min-height: 66vh; grid-template-columns: 1fr; }
.not-found h1 { max-width: 840px; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand img { width: 145px; height: auto; display: block; }
.footer-brand p { margin: 8px 0 0; color: var(--muted); font-size: .76rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--orange); }

@media (max-width: 880px) {
  .brand img { width: 135px; }
  .brand-divider, .brand-label, .top-link.secondary { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-panel { min-height: 390px; }
  .resource-grid { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .privacy-summary { margin-left: 0; }
  .legal-nav { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .legal-nav strong { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  .header-inner, .shell, .footer-inner { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 120px; }
  .top-link { display: none; }
  .hero { padding: 44px 0 36px; gap: 28px; }
  h1 { font-size: 2.45rem; }
  .hero-copy { font-size: 1rem; }
  .hero-panel { min-height: 330px; padding: 18px 16px 14px; border-radius: 21px; }
  .device-stage { min-height: 296px; }
  .laptop-device { width: 94%; }
  .phone-device { width: 29%; right: 0; }
  .product-card { grid-template-columns: 1fr; padding: 22px; }
  .product-heading { align-items: flex-start; }
  .product-meta { margin-left: 0; }
  .product-points { margin-left: 0; }
  .product-card .button { width: 100%; }
  .legal-nav { grid-template-columns: 1fr; }
  .legal-nav strong { grid-column: auto; }
  .detail-table { display: block; overflow-x: auto; }
  .privacy-summary { grid-template-columns: 1fr; }
  .footer-inner { padding: 28px 0; align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

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