:root {
  color-scheme: light;
  --ink: #0b1730;
  --ink-soft: #2d3a55;
  --muted: #68738a;
  --line: #dce4f1;
  --paper: #f4f7fc;
  --surface: #ffffff;
  --blue: #1769e8;
  --blue-dark: #0d3f9b;
  --blue-deep: #082967;
  --blue-soft: #eaf2ff;
  --purple: #7427ed;
  --mint: #aef5d2;
  --green: #16a45a;
  --orange: #f49a23;
  --shadow: 0 28px 80px rgba(10, 38, 92, 0.16);
  --shadow-soft: 0 16px 46px rgba(19, 48, 102, 0.10);
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }

:focus-visible {
  outline: 3px solid #ffb933;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(205, 218, 239, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px) saturate(150%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(22, 89, 205, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.nav a {
  padding: 10px 13px;
  border-radius: 12px;
  color: #4f5e78;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue-dark);
  background: var(--blue-soft);
}

.nav a.nav-feature {
  padding-inline: 17px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 105, 232, 0.22);
}

.nav a.nav-feature:hover,
.nav a.nav-feature[aria-current="page"] {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.section {
  padding: clamp(72px, 9vw, 122px) clamp(22px, 6vw, 92px);
}

.section-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.eyebrow,
.kicker,
.guide-index {
  margin-bottom: 15px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light { color: #c7dcff; }
.kicker-mint { color: var(--mint); }
.kicker-dark { color: var(--blue-deep); }

h1 {
  margin-bottom: 26px;
  font-size: clamp(58px, 7.5vw, 112px);
  line-height: 0.91;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hero {
  position: relative;
  min-height: calc(100svh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(76px, 8vw, 118px) clamp(22px, 5vw, 78px);
  color: #fff;
  background:
    radial-gradient(circle at 24% 16%, rgba(88, 154, 255, 0.42), transparent 32%),
    linear-gradient(135deg, #0a327e 0%, #155ece 46%, #2779ee 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(3px);
  pointer-events: none;
}

.hero-orb-one {
  width: 330px;
  height: 330px;
  right: -80px;
  top: 40px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.07);
}

.hero-orb-two {
  width: 190px;
  height: 190px;
  left: 46%;
  bottom: -70px;
  background: rgba(130, 255, 199, 0.18);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.hero-content { max-width: 700px; }

.name-meaning {
  max-width: 650px;
  margin: 0 0 30px;
  padding-left: 17px;
  border-left: 3px solid var(--mint);
  color: #d9e7ff;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.55;
}

.name-meaning strong { color: #fff; }

.hero h1 span { color: var(--mint); }

.lede {
  max-width: 690px;
  margin-bottom: 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button-white { background: #fff; color: var(--blue-dark); box-shadow: 0 14px 32px rgba(5, 31, 84, .2); }
.button-glass { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.11); color: #fff; backdrop-filter: blur(16px); }
.button-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(23, 105, 232, .24); }
.button-dark { background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(11, 23, 48, .2); }

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 750;
}

.hero-proof span::before { content: "✓"; margin-right: 7px; color: var(--mint); font-weight: 1000; }

.hero-visual { position: relative; padding: 42px 8px; }

.device-frame {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 32px;
  background: #071529;
  box-shadow: 0 44px 110px rgba(1, 18, 52, .52), inset 0 0 0 2px rgba(255,255,255,.08);
  transform: perspective(1600px) rotateY(-5deg) rotateX(2deg);
}

.device-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 21px; }

.device-camera {
  position: absolute;
  z-index: 2;
  top: 19px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #091220;
  box-shadow: 0 0 0 2px rgba(255,255,255,.16);
}

.floating-note {
  position: absolute;
  display: grid;
  gap: 2px;
  min-width: 190px;
  padding: 14px 17px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(1, 22, 64, .26);
  backdrop-filter: blur(16px);
}

.floating-note strong { font-size: 14px; }
.floating-note span { color: var(--muted); font-size: 12px; }
.floating-note-top { right: -12px; top: 2px; }
.floating-note-bottom { left: -24px; bottom: 4px; }

.intro-band {
  padding: clamp(62px, 8vw, 100px) clamp(22px, 6vw, 92px);
  background: #fff;
}

.intro-grid,
.trust-grid,
.guide-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(34px, 7vw, 104px);
  align-items: start;
}

.intro-copy {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.46;
  letter-spacing: -0.025em;
}

.feature-band { background: var(--paper); }

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

.feature {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(27px, 3vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.feature::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -82px;
  border-radius: 50%;
  background: var(--feature-tint);
}

.feature-purple { --feature-color: var(--purple); --feature-tint: #eee4ff; }
.feature-blue { --feature-color: var(--blue); --feature-tint: #e0edff; }
.feature-green { --feature-color: var(--green); --feature-tint: #dcf7e8; }

.feature-number { color: var(--feature-color); font-size: 12px; font-weight: 950; }

.feature-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 52px 0 30px;
  border-radius: 17px;
  background: var(--feature-tint);
  color: var(--feature-color);
  font-size: 30px;
  font-weight: 900;
}

.pencil-icon { font-family: Georgia, serif; }
.feature h3 { max-width: 290px; font-size: clamp(24px, 2.2vw, 31px); }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 16px; }

.product-showcase {
  overflow: hidden;
  padding: clamp(82px, 10vw, 138px) clamp(22px, 5vw, 76px) 0;
  background: #071b3f;
  color: #fff;
}

.showcase-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: clamp(34px, 8vw, 118px);
  align-items: end;
  margin-bottom: 54px;
}

.showcase-heading p:last-child { margin-bottom: 8px; color: #b8c8e4; font-size: 19px; }

.app-frame-wrap { position: relative; }

.app-frame {
  position: relative;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 13px 13px 0;
  border: 1px solid #36517e;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #0c254f;
  box-shadow: 0 -24px 90px rgba(0,0,0,.34);
}

.app-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 17px 17px 0 0; }

.app-frame figcaption {
  position: absolute;
  left: 30px;
  bottom: 20px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(7, 27, 63, .84);
  color: #dce9ff;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.showcase-callout {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 17px;
  border: 1px solid #dceaff;
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(0,0,0,.25);
}

.showcase-callout span { color: var(--blue); font-size: 11px; }
.callout-one { top: 17%; left: -24px; }
.callout-two { top: 56%; right: -30px; }

.demo-band {
  padding: clamp(82px, 10vw, 132px) clamp(22px, 6vw, 92px);
  background: #f4f7fc;
}

.demo-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 104px);
  align-items: end;
  margin-bottom: 46px;
}

.demo-heading h2 { margin-bottom: 0; }
.demo-heading > p { margin: 0 0 8px; color: var(--muted); font-size: clamp(18px, 2vw, 24px); }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.demo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.video-shell { position: relative; overflow: hidden; background: #071b3f; }

.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #071b3f;
  object-fit: contain;
}

.video-shell:not(.video-shell-classroom) video { aspect-ratio: 4 / 3; }

.video-badge {
  position: absolute;
  left: 13px;
  top: 13px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(7, 27, 63, .78);
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

.video-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(174,245,210,.2); }

.demo-card-copy { padding: 25px; }
.demo-number { display: block; margin-bottom: 18px; color: var(--blue); font-size: 12px; font-weight: 950; }
.demo-card-copy p { margin-bottom: 0; color: var(--muted); }

.demo-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 24px;
  padding: 24px 27px;
  border: 1px solid #cfe0fb;
  border-radius: 20px;
  background: #e9f2ff;
}

.demo-cta > div { display: grid; gap: 3px; }
.demo-cta span { color: var(--muted); font-size: 14px; }

.guide-promo {
  overflow: hidden;
  background: linear-gradient(135deg, #092d73 0%, #1769e8 100%);
  color: #fff;
}

.guide-promo-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: center;
}

.guide-promo-copy p:not(.kicker) { max-width: 650px; color: #cfddf5; font-size: 19px; }

.guide-stack { position: relative; min-height: 400px; }

.guide-stack-card {
  position: absolute;
  left: 50%;
  width: min(470px, 90%);
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 20px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(3, 25, 69, .34);
}

.guide-stack-card span { grid-row: span 2; color: var(--blue); font-size: 12px; font-weight: 950; }
.guide-stack-card strong { font-size: 20px; }
.guide-stack-card small { color: var(--muted); }
.stack-one { top: 20px; transform: translateX(-57%) rotate(-5deg); }
.stack-two { top: 138px; transform: translateX(-43%) rotate(4deg); }
.stack-three { top: 256px; transform: translateX(-54%) rotate(-2deg); }

.trust-band { background: #fff; }

.trust-points { display: grid; gap: 0; }

.trust-points p {
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
}

.trust-points p:first-child { padding-top: 8px; }
.trust-points strong { color: var(--ink); }

.text-link {
  width: fit-content;
  margin-top: 26px;
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}

.contact-band {
  padding: clamp(62px, 8vw, 100px) clamp(22px, 6vw, 92px);
  background: var(--mint);
}

.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.contact-inner h2 { max-width: 780px; }
.contact-inner p:last-child { margin-bottom: 0; color: #294e3e; font-size: 18px; }

.site-footer {
  padding: 36px clamp(22px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner { width: min(1240px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-inner > div:first-child:not(.footer-brand) { display: grid; gap: 1px; }
.footer-inner > div:first-child:not(.footer-brand) strong { color: var(--ink); font-size: 15px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; }
.footer-brand > div { display: grid; gap: 1px; }
.footer-brand strong { color: var(--ink); font-size: 15px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--blue-dark); }

/* How-to guides */
.guides-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 128px) clamp(22px, 6vw, 92px);
  color: #fff;
  background:
    radial-gradient(circle at 13% 12%, rgba(112, 176, 255, .38), transparent 30%),
    linear-gradient(135deg, #082967 0%, #1558be 56%, #2178ef 100%);
}

.guides-hero::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: -220px;
  bottom: -320px;
  border: 100px solid rgba(174,245,210,.11);
  border-radius: 50%;
}

.guides-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .72fr);
  gap: clamp(54px, 9vw, 130px);
  align-items: center;
}

.guides-hero h1 span { color: var(--mint); }

.guide-hero-panel {
  padding: 27px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 26px;
  background: rgba(4, 29, 77, .46);
  box-shadow: 0 30px 80px rgba(1, 18, 50, .3);
  backdrop-filter: blur(18px);
}

.panel-label { display: block; margin-bottom: 18px; color: #bdd3f9; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.guide-hero-panel ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.guide-hero-panel a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.09); text-decoration: none; }
.guide-hero-panel a:hover { background: rgba(255,255,255,.16); }
.guide-hero-panel li span { color: var(--mint); font-size: 11px; font-weight: 950; }
.guide-hero-panel li strong { font-size: 15px; }
.guide-hero-panel li small { color: #b9cff2; font-size: 11px; }

.guide-intro { background: #fff; }
.guide-intro-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-intro-points p { margin: 0; padding: 22px; border-radius: 18px; background: var(--paper); color: var(--muted); }
.guide-intro-points strong { display: block; margin-bottom: 6px; color: var(--ink); }

.guide-library { background: var(--paper); }

.guide-module {
  padding: clamp(80px, 10vw, 136px) clamp(22px, 6vw, 92px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 78px;
}

.guide-module-alt { background: #eaf2ff; }

.guide-module-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: end;
  margin-bottom: 42px;
}

.guide-module-heading > div:first-child { max-width: 820px; }
.guide-module-heading h2 { font-size: clamp(38px, 5vw, 64px); }
.guide-module-heading p:last-child { margin-bottom: 0; color: var(--muted); font-size: 18px; }

.guide-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.guide-meta span { padding: 8px 11px; border: 1px solid #cbd9ed; border-radius: 999px; background: rgba(255,255,255,.72); color: #51617c; font-size: 11px; font-weight: 850; }

.guide-player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .75fr);
  gap: 24px;
  align-items: start;
}

.guide-video-frame {
  position: sticky;
  top: 102px;
  overflow: hidden;
  border: 1px solid #cbd8eb;
  border-radius: 24px;
  background: #071b3f;
  box-shadow: var(--shadow);
}

.guide-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #071b3f; object-fit: contain; }
.guide-video-frame video::cue { color: #fff; background: rgba(5, 18, 44, .88); font: 700 17px/1.35 system-ui, sans-serif; }

.caption-note { display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px 16px; background: #0b2450; color: #b8cae7; font-size: 12px; }
.caption-note span { padding: 2px 5px; border: 1px solid #6985ad; border-radius: 4px; color: #fff; font-size: 10px; font-weight: 950; }

.chapter-panel {
  overflow: hidden;
  border: 1px solid #cbd8eb;
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}

.chapter-panel h3 { margin: 0; padding: 22px 22px 18px; border-bottom: 1px solid var(--line); font-size: 19px; }

.guide-chapter {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 2px 12px;
  padding: 18px 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}

.guide-chapter:last-child { border-bottom: 0; }
.guide-chapter:hover { background: #f2f7ff; }
.guide-chapter.is-active { background: #e6f0ff; }
.guide-chapter.is-active::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--blue); }
.guide-chapter span { grid-row: span 2; padding-top: 2px; color: var(--blue); font-size: 11px; font-weight: 950; }
.guide-chapter strong { font-size: 14px; }
.guide-chapter small { color: var(--muted); font-size: 12px; line-height: 1.45; }

.guide-help {
  padding: clamp(70px, 9vw, 114px) clamp(22px, 6vw, 92px);
  background: #071b3f;
  color: #fff;
}

.guide-help-inner { display: flex; align-items: center; justify-content: space-between; gap: 44px; }
.guide-help-inner > div { max-width: 760px; }
.guide-help-inner p:last-child { margin-bottom: 0; color: #b9cbe7; font-size: 18px; }

/* Supporting document pages */
.page-main { min-height: calc(100vh - 190px); padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 92px); }

.document {
  width: min(950px, 100%);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.document h1 { margin-bottom: 16px; font-size: clamp(42px, 6vw, 72px); line-height: .98; }
.document h2 { margin-bottom: 13px; font-size: clamp(27px, 3vw, 38px); }
.document h3 { margin-top: 24px; font-size: 19px; }
.document section { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--line); }
.document li { margin-bottom: 9px; }
.document a { color: var(--blue-dark); }
.muted { color: var(--muted); }
.notice { margin: 28px 0; padding: 20px; border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; background: var(--blue-soft); }

@media (max-width: 1120px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { max-width: 800px; }
  .hero-visual { width: min(900px, 100%); margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 310px; }
  .feature-icon { margin: 34px 0 24px; }
  .feature h3 { max-width: 620px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-card { display: grid; grid-template-columns: minmax(340px, 1fr) .72fr; }
  .demo-card-copy { display: flex; flex-direction: column; justify-content: center; }
  .guide-promo-grid, .guides-hero-grid { grid-template-columns: 1fr; }
  .guide-stack { width: min(700px, 100%); margin: 0 auto; }
  .guide-player-grid { grid-template-columns: 1fr; }
  .guide-video-frame { position: relative; top: auto; }
  .chapter-panel { display: grid; grid-template-columns: repeat(2, 1fr); }
  .chapter-panel h3 { grid-column: 1 / -1; }
  .guide-chapter:nth-child(even) { border-right: 1px solid var(--line); }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 122px; }
  .site-header { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 9px; }
  .brand img { width: 38px; height: 38px; }
  .nav { width: 100%; overflow-x: auto; justify-content: flex-start; padding-bottom: 3px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 8px 10px; }
  .hero { min-height: auto; }
  .hero::before { mask-image: none; }
  .hero-visual { padding-inline: 14px; }
  .floating-note-top { right: 0; }
  .floating-note-bottom { left: 0; }
  .intro-grid, .trust-grid, .guide-intro-grid, .showcase-heading, .demo-heading { grid-template-columns: 1fr; }
  .showcase-callout { display: none; }
  .demo-card { display: block; }
  .demo-cta { align-items: flex-start; flex-direction: column; }
  .guide-promo-grid { grid-template-columns: 1fr; }
  .contact-inner, .guide-help-inner { align-items: flex-start; flex-direction: column; }
  .guide-intro-points { grid-template-columns: 1fr; }
  .guide-module-heading { grid-template-columns: 1fr; }
  .guide-meta { justify-content: flex-start; }
  .chapter-panel { grid-template-columns: 1fr; }
  .chapter-panel h3 { grid-column: auto; }
  .guide-chapter:nth-child(even) { border-right: 0; }
}

@media (max-width: 560px) {
  h1 { font-size: 56px; }
  h2 { font-size: 39px; }
  .hero { padding-top: 62px; }
  .hero-inner { gap: 25px; }
  .actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: 1fr 1fr; }
  .device-frame { padding: 7px; border-radius: 20px; transform: none; }
  .device-frame img { border-radius: 13px; }
  .floating-note { display: none; }
  .feature { min-height: auto; }
  .app-frame { padding: 7px 7px 0; border-radius: 18px 18px 0 0; }
  .app-frame img { border-radius: 12px 12px 0 0; }
  .app-frame figcaption { display: none; }
  .demo-card-copy { padding: 22px; }
  .demo-cta .button { width: 100%; }
  .guide-stack { min-height: 335px; }
  .guide-stack-card { width: 100%; }
  .stack-one { transform: translateX(-50%) rotate(-3deg); }
  .stack-two { top: 112px; transform: translateX(-50%) rotate(3deg); }
  .stack-three { top: 224px; transform: translateX(-50%) rotate(-1deg); }
  .guide-hero-panel { padding: 18px; }
  .guide-hero-panel a { grid-template-columns: 34px 1fr; }
  .guide-hero-panel li small { grid-column: 2; }
  .guide-module { scroll-margin-top: 120px; }
  .guide-chapter { grid-template-columns: 48px 1fr; padding: 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
