:root {
  --ink: #081227;
  --ink-soft: #34415a;
  --muted: #657087;
  --blue: #0b49f0;
  --blue-dark: #0739c6;
  --blue-soft: #edf3ff;
  --violet: #6548ff;
  --violet-soft: #f1efff;
  --green: #10a66a;
  --orange: #ef9b22;
  --line: #d9e0eb;
  --line-strong: #c8d2e2;
  --surface: #ffffff;
  --surface-subtle: #f8faff;
  --footer: #061126;
  --shadow: 0 20px 50px rgba(20, 42, 90, 0.1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1400px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 76px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(15, 33, 70, 0.07);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.brand {
  justify-self: start;
  color: var(--ink);
  font-size: 26px;
  font-weight: 750;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.brand span {
  color: var(--blue);
  font-weight: 850;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 56px;
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 15px;
  font-weight: 520;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a.current {
  color: var(--blue);
}

.site-nav a:hover::after,
.site-nav a.current::after {
  transform: scaleX(1);
}

.header-cta {
  justify-self: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 25px rgba(11, 73, 240, 0.18);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 30px rgba(11, 73, 240, 0.24);
}

.button-secondary {
  color: var(--blue);
  background: #fff;
  border-color: #9fbbff;
}

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

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.menu-button svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  min-height: 730px;
  padding: 90px 0 78px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 90px;
  width: 110px;
  height: 180px;
  opacity: 0.36;
  background-image: radial-gradient(circle, #8ca5ff 1.4px, transparent 1.5px);
  background-size: 12px 12px;
  content: "";
}

.hero-aura {
  position: absolute;
  top: 30px;
  right: -90px;
  width: 760px;
  height: 620px;
  background:
    radial-gradient(circle at 55% 45%, rgba(82, 66, 255, 0.2), transparent 50%),
    radial-gradient(circle at 32% 78%, rgba(103, 69, 255, 0.1), transparent 46%);
  filter: blur(1px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 82px;
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 3.75vw, 62px);
  font-weight: 770;
  letter-spacing: -0.052em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy > p {
  max-width: 560px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-actions .button {
  min-height: 58px;
  padding-inline: 26px;
  font-size: 16px;
}

.product-stage {
  position: relative;
}

.product-stage::before {
  position: absolute;
  z-index: -1;
  inset: -60px -40px -55px -55px;
  border-radius: 48% 52% 44% 56%;
  background: linear-gradient(135deg, rgba(237, 241, 255, 0.82), rgba(112, 90, 255, 0.16));
  content: "";
  transform: rotate(-4deg);
}

.product-window {
  overflow: hidden;
  min-width: 760px;
  background: #fff;
  border: 1px solid #bfcbe0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.product-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 56px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
}

.mini-brand {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.mini-brand strong {
  color: var(--blue);
}

.product-nav {
  display: flex;
  height: 56px;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 10px;
}

.product-nav span {
  display: flex;
  height: 100%;
  align-items: center;
}

.product-nav .active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

.avatar {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  justify-self: end;
  color: var(--ink-soft);
  background: #eef1f6;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 700;
}

.product-body {
  display: grid;
  grid-template-columns: 42px 250px minmax(0, 1fr);
  min-height: 560px;
}

.product-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding-top: 24px;
  border-right: 1px solid var(--line);
}

.product-rail span:not(.rail-mark) {
  width: 12px;
  height: 12px;
  border: 1.5px solid #78849a;
  border-radius: 3px;
}

.rail-mark {
  color: var(--blue);
  font-size: 22px;
}

.copilot-panel {
  position: relative;
  padding: 26px 20px 20px;
  border-right: 1px solid var(--line);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-title div {
  display: flex;
  flex-direction: column;
}

.panel-title strong {
  font-size: 12px;
}

.panel-title small {
  color: var(--muted);
  font-size: 9px;
}

.copilot-icon,
.spark {
  color: var(--violet);
  font-size: 22px;
}

.chat-date {
  margin: 15px 0 12px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.chat-bubble {
  padding: 12px;
  color: var(--ink-soft);
  background: #e9f0ff;
  border-radius: 11px 11px 3px 11px;
  font-size: 10px;
  line-height: 1.5;
}

.assistant-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 17px;
  font-size: 10px;
  font-weight: 700;
}

.assistant-label span {
  color: var(--violet);
  font-size: 15px;
}

.assistant-copy {
  margin: 9px 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.analysis-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 15px 0;
  list-style: none;
}

.analysis-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.analysis-list i {
  width: 5px;
  height: 5px;
  background: var(--violet);
  border-radius: 50%;
}

.analysis-list span {
  width: 70%;
  height: 6px;
  background: #e1e5ec;
  border-radius: 10px;
}

.analysis-list li:nth-child(2) span {
  width: 84%;
}

.analysis-list li:nth-child(3) span {
  width: 60%;
}

.chat-input {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px 0 12px;
  color: #9199a8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 9px;
}

.chat-input button {
  width: 32px;
  height: 32px;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.workspace-panel {
  padding: 20px;
}

.workspace-tabs {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.workspace-tabs span {
  padding: 0 3px 12px;
}

.workspace-tabs .active {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
}

.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 13px;
  font-size: 11px;
}

.workspace-head span {
  padding: 5px 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 9px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.metric-strip span {
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(#d8dde6 0 0) 9px 10px / 36px 5px no-repeat,
    linear-gradient(#e7eaf0 0 0) 9px 23px / 55px 5px no-repeat;
}

.chart-card {
  position: relative;
  height: 176px;
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.chart-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 24%, #edf0f5 25%, transparent 26%, transparent 49%, #edf0f5 50%, transparent 51%, transparent 74%, #edf0f5 75%, transparent 76%);
}

.chart-card svg {
  position: absolute;
  right: 15px;
  bottom: 15px;
  left: 15px;
  width: calc(100% - 30px);
  height: 130px;
}

.line {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.line-blue {
  stroke: var(--blue);
}

.line-green {
  stroke: var(--green);
}

.line-violet {
  stroke: var(--violet);
}

.campaign-list {
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.campaign-list div {
  display: grid;
  grid-template-columns: 12px 1fr 45px 35px;
  align-items: center;
  gap: 12px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid #edf0f5;
}

.campaign-list div:last-child {
  border: 0;
}

.campaign-list i {
  width: 8px;
  height: 8px;
  border: 1px solid #9ca7b8;
  border-radius: 2px;
}

.campaign-list span,
.campaign-list b,
.campaign-list em {
  height: 5px;
  background: #e1e5ec;
  border-radius: 10px;
}

.campaign-list b {
  background: #c6f0dd;
}

.section {
  padding: 116px 0;
}

.section-heading {
  max-width: 820px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.privacy-intro h2 {
  margin: 0;
  font-size: clamp(38px, 3.5vw, 56px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.section-heading p {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.55;
}

.workflow-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 88px;
  margin-top: 72px;
}

.workflow {
  padding-top: 64px;
}

.step-line {
  position: absolute;
  z-index: -1;
  top: 31px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: var(--blue);
}

.workflow-step {
  text-align: center;
}

.step-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  place-items: center;
  color: var(--violet);
  background: #fff;
  border: 1.5px solid var(--violet);
  border-radius: 50%;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.step-number {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.workflow-step h3 {
  display: inline;
  margin-left: 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.workflow-step p {
  max-width: 310px;
  margin: 13px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.flow-preview {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: stretch;
  margin-top: 64px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.flow-column {
  min-width: 0;
  padding: 28px;
}

.flow-column + .flow-column {
  border-left: 1px solid var(--line);
}

.flow-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.flow-title svg {
  width: 30px;
  height: 30px;
  color: var(--violet);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.flow-title div {
  display: flex;
  flex-direction: column;
}

.flow-title strong {
  font-size: 16px;
}

.flow-title small {
  color: var(--muted);
  font-size: 12px;
}

.flow-row {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
}

.flow-row i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.flow-row i.blue {
  background: var(--blue);
}

.flow-row i.orange {
  background: var(--orange);
}

.flow-row i.violet {
  background: var(--violet);
}

.flow-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  align-self: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 700;
  transform: translateX(-16px);
}

.recommendation-box {
  display: grid;
  padding: 18px;
  gap: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.recommendation-box strong {
  color: var(--blue);
  font-size: 12px;
}

.recommendation-box span {
  width: 82%;
  height: 7px;
  background: #dfe4ed;
  border-radius: 10px;
}

.recommendation-box span:nth-child(3) {
  width: 62%;
}

.recommendation-box span:nth-child(4) {
  width: 72%;
}

.flow-note {
  margin-top: 10px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: var(--blue-soft);
  border-radius: 7px;
  font-size: 11px;
}

.review-row {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  margin-top: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-size: 12px;
  text-align: left;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.review-row b {
  padding: 6px 10px;
  color: var(--blue);
  border: 1px solid #9fbbff;
  border-radius: 5px;
  font-size: 11px;
}

.review-row:hover,
.review-row.is-reviewed {
  background: var(--blue-soft);
  border-color: #9fbbff;
}

.review-row.is-reviewed b {
  color: var(--green);
  background: #effbf6;
  border-color: #91ddbf;
}

.control-band {
  display: grid;
  grid-template-columns: auto auto 1px 1fr;
  align-items: center;
  gap: 36px;
  min-height: 110px;
  padding: 26px 52px;
  margin-top: 36px;
  color: #fff;
  background: var(--footer);
  border-radius: 10px;
  overflow: hidden;
}

.control-band svg {
  width: 55px;
  height: 55px;
  color: var(--violet);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.control-band h3 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.control-band p {
  max-width: 500px;
  margin: 0;
  color: #dfe5f1;
  font-size: 17px;
}

.band-divider {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.35);
}

.privacy-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfcff);
  border-top: 1px solid var(--line);
}

.privacy-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 86px;
}

.privacy-intro {
  max-width: 520px;
}

.privacy-intro > p {
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.6;
}

.privacy-links {
  margin-top: 36px;
}

.privacy-links a {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  color: var(--blue);
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 650;
}

.privacy-links a:first-child {
  border-top: 1px solid var(--line);
}

.privacy-links svg {
  width: 44px;
  height: 44px;
  padding: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
  transition: transform 0.2s ease;
}

.privacy-links a:hover svg {
  transform: translateY(-2px);
}

.privacy-links b {
  font-size: 23px;
}

.privacy-document {
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(29, 54, 106, 0.08);
}

.document-nav {
  border-right: 1px solid var(--line);
}

.document-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 0 20px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 650;
}

.document-nav a.active {
  color: var(--blue);
  background: linear-gradient(90deg, #edf2ff, #f8f9ff);
  box-shadow: inset 3px 0 var(--blue);
}

.document-nav svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.document-copy {
  padding: 12px 34px 0;
}

.document-copy > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.document-copy h3 {
  margin: 0 0 5px;
  font-size: 15px;
}

.document-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.document-copy .deletion-summary {
  padding-bottom: 24px;
  border-bottom: 0;
}

.deletion-summary ol {
  display: grid;
  padding: 0;
  margin: 12px 0;
  gap: 9px;
  list-style: none;
}

.deletion-summary li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
}

.deletion-summary li > span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.contact-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.privacy-dots {
  position: absolute;
  width: 130px;
  height: 220px;
  opacity: 0.35;
  background-image: radial-gradient(circle, #90a8ff 1.4px, transparent 1.5px);
  background-size: 12px 12px;
}

.dots-left {
  bottom: 15px;
  left: -30px;
}

.dots-right {
  top: 60px;
  right: -40px;
}

.site-footer {
  padding: 30px 0;
  color: #fff;
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 58px;
  min-height: 96px;
  padding: 0 42px;
  background: var(--footer);
  border-radius: 10px;
}

.footer-brand {
  color: #fff;
}

.footer-inner nav {
  display: flex;
  gap: 46px;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-inner nav a {
  color: #e5eaf4;
  font-size: 14px;
}

.footer-inner nav a:hover {
  color: #fff;
}

.footer-inner p {
  margin: 0;
  color: #aeb8cb;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal[data-delay="1"] {
  transition-delay: 0.1s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.2s;
}

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

/* Legal page */
.legal-page {
  background: #fff;
}

.legal-hero {
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at 86% 40%, rgba(99, 72, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #fff, #f9fbff);
  border-bottom: 1px solid var(--line);
}

.legal-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 64px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 770;
  letter-spacing: -0.052em;
  line-height: 1;
}

.legal-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.6;
}

.legal-hero dl {
  display: grid;
  min-width: 310px;
  padding: 0;
  margin: 0;
  gap: 18px;
}

.legal-hero dl div {
  display: grid;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.legal-hero dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-hero dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.legal-hero dd a {
  color: var(--blue);
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 800px);
  justify-content: center;
  gap: 82px;
  padding-top: 76px;
  padding-bottom: 120px;
}

.legal-sidebar {
  position: sticky;
  top: 112px;
  height: max-content;
}

.legal-sidebar > strong {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.legal-sidebar nav {
  display: grid;
  margin-top: 12px;
}

.legal-sidebar a {
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.legal-sidebar a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.legal-content > section {
  padding: 0 0 48px;
  margin: 0 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.legal-content h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  display: grid;
  padding-left: 22px;
  gap: 8px;
}

.legal-content a:not(.button) {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.deletion-section {
  position: relative;
  padding: 42px !important;
  background: var(--surface-subtle);
  border: 1px solid var(--line) !important;
  border-radius: 14px;
}

.legal-section-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid #a9bfff;
  border-radius: 50%;
}

.legal-section-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.deletion-steps {
  display: grid;
  padding: 0;
  margin: 30px 0 0;
  gap: 28px;
  list-style: none;
}

.deletion-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
}

.deletion-steps li > span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid #b4c6ff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
}

.deletion-steps h3 {
  margin: 3px 0 5px;
}

.deletion-steps p {
  margin: 0;
  font-size: 15px;
}

.deletion-actions {
  padding-top: 30px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.deletion-actions .button {
  margin-bottom: 22px;
}

.deletion-actions p {
  margin: 0;
  font-size: 14px;
}

.legal-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 650;
}

.legal-contact svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

@media (max-width: 1300px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

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

  .product-window {
    min-width: 0;
  }

  .privacy-grid {
    gap: 48px;
  }

  .privacy-document {
    grid-template-columns: 200px 1fr;
  }
}

@media (min-width: 1301px) {
  .hero {
    padding-top: 45px;
  }

  .hero-grid {
    align-items: start;
  }

  .hero-copy {
    padding-top: 88px;
  }
}

@media (max-width: 1040px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    gap: 30px;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 72px;
  }

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

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

  .product-window {
    min-width: 0;
  }

  .workflow-steps {
    gap: 40px;
  }

  .flow-preview {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    display: none;
  }

  .flow-column + .flow-column {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .privacy-intro {
    max-width: 700px;
  }

  .legal-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
  }

  .footer-inner p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 76px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    height: 68px;
  }

  .brand {
    font-size: 23px;
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    padding: 22px 16px 28px;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(12, 29, 65, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 62px 0 74px;
  }

  .hero::after {
    display: none;
  }

  .hero-aura {
    top: 420px;
    right: -260px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 60px);
    line-height: 1.01;
  }

  .hero-copy > p {
    margin-top: 24px;
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
    margin-top: 32px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .product-stage {
    margin-top: 20px;
  }

  .product-stage::before {
    inset: -25px -80px;
  }

  .product-topbar {
    grid-template-columns: 1fr auto;
  }

  .product-nav {
    display: none;
  }

  .product-body {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 450px;
  }

  .copilot-panel {
    display: none;
  }

  .workspace-panel {
    padding: 14px;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 82px 0;
  }

  .section-heading h2,
  .privacy-intro h2 {
    font-size: 39px;
  }

  .section-heading p,
  .privacy-intro > p {
    font-size: 17px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 54px;
  }

  .step-line {
    display: none;
  }

  .workflow-step {
    text-align: left;
  }

  .step-icon {
    margin: 0 0 20px;
  }

  .workflow-step p {
    max-width: 500px;
    margin-left: 0;
  }

  .flow-preview {
    margin-top: 54px;
  }

  .flow-column {
    padding: 24px 20px;
  }

  .control-band {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 30px 24px;
  }

  .control-band h3 {
    font-size: 23px;
  }

  .band-divider {
    display: none;
  }

  .control-band p {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .privacy-document {
    grid-template-columns: 1fr;
  }

  .document-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .document-nav a {
    min-height: 72px;
    padding: 0 14px;
    border-bottom: 0;
    font-size: 12px;
  }

  .document-nav a + a {
    border-left: 1px solid var(--line);
  }

  .document-nav svg {
    width: 25px;
    height: 25px;
  }

  .document-copy {
    padding: 8px 20px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 28px 24px;
    text-align: left;
  }

  .footer-inner nav {
    display: grid;
    padding: 22px 0;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .footer-inner p {
    grid-column: auto;
  }

  .legal-hero {
    padding: 56px 0;
  }

  .legal-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 36px;
  }

  .legal-hero h1 {
    font-size: 48px;
  }

  .legal-hero p {
    font-size: 17px;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    padding-top: 52px;
    padding-bottom: 80px;
  }

  .legal-sidebar {
    position: static;
    overflow-x: auto;
  }

  .legal-sidebar nav {
    display: flex;
    min-width: max-content;
    gap: 10px;
  }

  .legal-sidebar a {
    padding: 8px 12px;
    background: var(--surface-subtle);
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .legal-content h2 {
    font-size: 27px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }

  .deletion-section {
    padding: 28px 20px !important;
  }

  .deletion-steps li {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .deletion-steps li > span {
    width: 34px;
    height: 34px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
