:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f1f4f8;
  --ink: #172033;
  --muted: #596579;
  --line: #e2e7ee;
  --accent: #2459dc;
  --accent-soft: #eaf0ff;
  --shadow: 0 20px 60px rgba(23, 32, 51, 0.09);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0, #f7f9fc 620px, var(--bg) 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  min-height: 100vh;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.brand-lockup strong,
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
}

.brand-lockup strong {
  font-size: 1.15rem;
}

.brand-lockup span {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  border-bottom: 1px solid transparent;
}

.site-nav .nav-cta {
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(36, 89, 220, 0.18);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: currentColor;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #264dbb;
  color: #fff;
  border-color: #264dbb;
}

.hero {
  display: block;
  padding: 64px 0 24px;
}

.hero-copy {
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  max-width: 17ch;
  margin-inline: auto;
}

.hero-tagline {
  margin: 24px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.hero-text,
.section-heading p,
.feature-card p,
.use-case-grid p,
.instruction-column p,
.instruction-column li,
.tips-panel li,
.closing-cta p,
.pricing-note {
  color: var(--muted);
}

.hero-text {
  margin: 22px 0 0;
  max-width: 66ch;
  margin-inline: auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-cta-note {
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

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

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

.site-footer {
  padding: 0 0 48px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer-inner nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.privacy-choices-button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.privacy-choices-button:hover,
.privacy-choices-button:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 36px), 920px);
  margin: 0 auto;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(23, 32, 51, 0.2);
}

.consent-banner[hidden] {
  display: none;
}

.consent-copy h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.consent-copy p {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.consent-copy a {
  color: var(--accent);
  text-decoration: underline;
}

.consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.support-chat-button {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 20;
  min-width: 104px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(36, 89, 220, 0.24);
  font: 700 0.95rem "IBM Plex Sans", sans-serif;
  cursor: pointer;
}

.support-chat-button:hover,
.support-chat-button:focus-visible {
  background: #264dbb;
  border-color: #264dbb;
}

.support-chat-button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.privacy-page {
  padding: 52px 0 64px;
}

.privacy-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 48px);
}

.privacy-card h1 {
  margin-bottom: 16px;
  max-width: none;
}

.policy-copy {
  color: var(--ink);
  line-height: 1.75;
}

.policy-copy p,
.policy-copy li {
  color: var(--muted);
}

.policy-copy h2,
.policy-copy h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-copy ul,
.policy-copy ol {
  padding-left: 1.4rem;
}

.policy-copy a {
  color: var(--accent);
  text-decoration: underline;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.button-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 10px 18px rgba(45, 94, 232, 0.12);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line);
}

.feature-card,
.demo-video,
.screenshot-card,
.use-case-grid article,
.instruction-column,
.tips-panel,
.closing-cta,
.pricing-card {
  margin: 0;
  border: 1px solid rgba(23, 29, 43, 0.05);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.demo-video {
  width: min(100%, 920px);
  margin: 0 0 18px;
  padding: 18px;
}

.hero-demo {
  margin: 42px auto 0;
  text-align: left;
}

.demo-video-trigger,
.demo-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 12px;
}

.demo-video-trigger {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #111827;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}

.demo-video-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.demo-video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-video-trigger::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 33, 0.18);
  transition: background 0.2s ease;
}

.demo-video-trigger:hover::after,
.demo-video-trigger:focus-visible::after {
  background: rgba(10, 18, 33, 0.06);
}

.demo-video-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding-left: 5px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 8px 24px rgba(10, 18, 33, 0.28);
  font-size: 1.65rem;
  transform: translate(-50%, -50%);
}

.demo-video iframe {
  background: #111827;
}

.demo-video figcaption {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.demo-video strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.demo-video figcaption span {
  color: var(--muted);
  line-height: 1.65;
}

.feature-card h3,
.use-case-grid h3,
.instruction-column h3,
.tips-panel h3,
.closing-cta h2,
.section-heading h2 {
  margin: 0;
}

.feature-band,
.screenshots,
.use-cases,
.pricing,
.instructions {
  padding: 72px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading p:last-child {
  margin-top: 14px;
  line-height: 1.75;
}

.feature-grid,
.screenshot-grid,
.use-case-grid,
.instruction-layout {
  display: grid;
  gap: 18px;
}

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

.feature-card {
  padding: 24px 22px;
  box-shadow: none;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
}

.feature-card h3,
.use-case-grid h3,
.instruction-column h3,
.tips-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.feature-card p,
.use-case-grid p,
.instruction-note,
.tips-panel li {
  margin: 0;
  line-height: 1.72;
}

.use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-grid article {
  padding: 22px 20px;
  background: transparent;
  box-shadow: none;
  border-color: var(--line);
}

.pricing-card {
  max-width: 520px;
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.82);
}

.pricing-plan {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.pricing-value {
  margin: 10px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pricing-currency {
  margin-right: 10px;
  font-size: 1rem;
  letter-spacing: 0.08em;
  vertical-align: top;
}

.pricing-period {
  margin-left: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--muted);
}

.pricing-note {
  margin: 12px 0 0;
  line-height: 1.72;
}

.pricing-card .button {
  margin-top: 20px;
}

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

.screenshot-card {
  padding: 18px;
}

.screenshot-card-wide {
  grid-column: span 2;
}

.screenshot-card figcaption {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.screenshot-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.screenshot-card span {
  color: var(--muted);
  line-height: 1.65;
}

.instruction-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

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

.instruction-column {
  padding: 22px 22px 20px;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.55);
}

.instruction-column.wide {
  grid-column: span 2;
}

.instruction-column ol,
.feature-detail ul,
.tips-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.instruction-column li,
.feature-detail li,
.tips-panel li {
  margin-bottom: 10px;
}

.feature-reference-intro p,
.feature-detail p,
.feature-detail li {
  margin: 0;
  line-height: 1.72;
  color: var(--muted);
}

.feature-reference-intro {
  grid-column: span 2;
  background: var(--surface-soft);
}

.instruction-column span,
.instruction-column strong,
.feature-detail strong,
.tips-panel strong {
  color: var(--ink);
}

.instruction-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.tips-panel {
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--surface-soft);
  box-shadow: none;
}

.closing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 36px 0 56px;
  padding: 26px 28px;
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.closing-cta .eyebrow,
.closing-cta p {
  color: #aebfe9;
}

.closing-cta h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .screenshot-grid,
  .use-case-grid,
  .instruction-layout,
  .feature-reference,
  .closing-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .instruction-column.wide {
    grid-column: auto;
  }

  .feature-reference-intro {
    grid-column: auto;
  }

  .screenshot-card-wide {
    grid-column: auto;
  }

  .closing-cta {
    display: grid;
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
  }

  .site-nav {
    flex: 0 0 auto;
    gap: 0;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .site-nav .nav-cta {
    min-height: 42px;
    padding: 0 14px;
    white-space: nowrap;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark-frame {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-lockup strong {
    font-size: 1rem;
  }

  .brand-lockup span {
    font-size: 0.78rem;
  }

  .hero-copy,
  .hero-card-panel,
  .feature-card,
  .use-case-grid article,
  .instruction-column,
  .tips-panel,
  .closing-cta {
    padding: 22px;
  }

  h1 {
    max-width: none;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions,
  .closing-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .consent-banner {
    display: block;
  }

  .consent-actions {
    margin-top: 16px;
  }

  .site-header,
  main {
    width: min(calc(100% - 20px), var(--max-width));
  }
}