@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f8fafc;
  --text: #182034;
  --muted: #475569;
  --accent: #5338c9;
  --accent-tint: #ede9fe;
  --panel: #ffffff;
  --line: rgb(24 32 52 / 14%);
  --control-line: rgb(83 56 201 / 36%);
  --accent-hover: #432ba9;
  --sans: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --small-text: 12px;
  --ui-text: 14px;
  --site-header-height: 73px;
  --radius-control: 8px;
  --radius-panel: 16px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-height);
}
body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.85 var(--sans);
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.47;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--panel);
}

.wrap {
  width: min(1232px, calc(100% - 112px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  inset: 12px auto auto 16px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 12px 16px;
  background: var(--accent);
  color: var(--panel);
  font-weight: 600;
}
.skip:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: var(--site-header-height);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font:
    700 20px/1 Arial,
    sans-serif;
  letter-spacing: -0.025em;
}
.brand img {
  mix-blend-mode: multiply;
}
.brand-dot {
  color: var(--accent);
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}
.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: var(--ui-text);
  font-weight: 600;
  white-space: nowrap;
}
.menu-toggle,
.mobile-nav {
  display: none;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--panel);
  font-size: var(--ui-text);
  font-weight: 600;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}
.button svg {
  width: 18px;
  height: 18px;
}
.button-quiet {
  background: var(--panel);
  border-color: var(--control-line);
  color: var(--accent);
}

.hero {
  --hero-offset: var(--site-header-height);
  --hero-unit: 4px;
  --small-text: calc(var(--hero-unit) * 3);
  --ui-text: calc(var(--hero-unit) * 3.5);
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--hero-offset));
  min-height: calc(100dvh - var(--hero-offset));
  padding-block: clamp(24px, 5vh, 80px);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(24px, 3.8vw, 72px);
  width: min(1600px, calc(100% - 80px));
}
.hero h1 {
  font-size: clamp(36px, 4.6vw, calc(var(--hero-unit) * 15));
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.28;
}
.hero h1 span {
  display: block;
  text-wrap: balance;
}
.hero-lead {
  max-width: 30em;
  margin-top: calc(var(--hero-unit) * 4);
  color: var(--muted);
  font-size: calc(var(--hero-unit) * 4);
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--hero-unit) * 3);
  margin-top: calc(var(--hero-unit) * 6);
}
.hero-actions .button {
  min-height: calc(var(--hero-unit) * 12);
  padding-block: calc(var(--hero-unit) * 2);
}
.hero-actions .button svg {
  width: calc(var(--hero-unit) * 4.5);
  height: calc(var(--hero-unit) * 4.5);
}
.hero-price {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--hero-unit) * 2) calc(var(--hero-unit) * 3);
  align-items: center;
  margin-top: calc(var(--hero-unit) * 6);
  padding-top: calc(var(--hero-unit) * 4);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--small-text);
}
.hero-plan {
  display: grid;
  color: var(--text);
  font-weight: 600;
}
.hero-plan span:last-child {
  color: var(--muted);
  font-weight: 400;
}
.hero-price strong {
  color: var(--text);
  font:
    700 calc(var(--hero-unit) * 7) / 1.2 Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-price small {
  margin-left: 4px;
  font: 600 var(--ui-text) var(--sans);
}

.demo {
  min-width: 0;
}
.demo-window {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
}
.demo-bar {
  min-height: calc(var(--hero-unit) * 12);
  padding: calc(var(--hero-unit) * 2) calc(var(--hero-unit) * 4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--accent-tint);
}
.demo-title {
  color: var(--text);
  font-size: var(--ui-text);
  font-weight: 600;
}
.demo-bar-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-tag {
  flex: none;
  padding: 4px 8px;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  color: var(--muted);
  font-size: var(--small-text);
}
.demo-reset,
.rail-channel {
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  cursor: pointer;
}
.demo-reset {
  min-height: 32px;
  padding-inline: 6px;
  color: var(--accent);
  font-size: var(--small-text);
  white-space: nowrap;
}
.demo-body {
  display: grid;
  grid-template-columns: minmax(116px, 25%) minmax(0, 1fr);
}
.demo-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: calc(var(--hero-unit) * 4) calc(var(--hero-unit) * 3);
  background: var(--bg);
  border-right: 1px solid var(--line);
  font-size: var(--small-text);
}
.rail-title {
  padding: 4px;
  color: var(--text);
  font-weight: 600;
}
.rail-channel {
  min-height: 34px;
  padding: 4px 8px;
  color: var(--muted);
  text-align: left;
}
.rail-channel[aria-pressed="true"] {
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 600;
}
.demo-main {
  min-width: 0;
  min-height: calc(var(--hero-unit) * 84);
  padding: calc(var(--hero-unit) * 5);
}
.demo-channel {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--ui-text);
  font-weight: 600;
}
.demo-channel svg {
  width: 16px;
  height: 16px;
}
.bot-message {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--hero-unit) * 3);
  margin-top: calc(var(--hero-unit) * 4);
}
.bot-avatar {
  display: grid;
  width: calc(var(--hero-unit) * 10);
  height: calc(var(--hero-unit) * 10);
  flex: none;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--accent-tint);
  color: var(--accent);
}
.bot-avatar svg {
  width: calc(var(--hero-unit) * 5);
  height: calc(var(--hero-unit) * 5);
}
.bot-message-copy h2 {
  font-size: calc(var(--hero-unit) * 4.5);
  font-weight: 600;
}
.bot-name {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  color: var(--muted);
  font-size: var(--small-text);
}
.bot-name span {
  padding: 0 4px;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  color: var(--accent);
}
.demo-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: var(--ui-text);
}
.demo-code {
  padding-inline: 5px;
  border-radius: 4px;
  background: var(--accent-tint);
  font-variant-numeric: tabular-nums;
}
.demo-invite {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  font-size: var(--small-text);
  font-weight: 600;
}
.demo-input-row,
.demo-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.demo-input-row input {
  width: 104px;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-control);
  background: var(--bg);
  color: var(--text);
  font-size: var(--ui-text);
  font-variant-numeric: tabular-nums;
}
.demo-button {
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--accent);
  cursor: pointer;
  font-size: var(--small-text);
  font-weight: 600;
}
.demo-button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--panel);
}
.demo-button:disabled {
  cursor: default;
  opacity: 0.7;
}
.demo-actions {
  margin-top: 12px;
}
.demo-status {
  margin-top: 8px;
  color: var(--accent);
  font-size: var(--small-text);
  line-height: 1.65;
}
.demo-actions .demo-status {
  flex: 1 1 12em;
  margin-top: 0;
}
.demo-role {
  padding: 2px 8px;
  border-radius: var(--radius-control);
  background: var(--accent-tint);
  color: var(--accent);
  font-size: var(--small-text);
  font-weight: 600;
}
.poll {
  min-width: 0;
  display: grid;
  gap: calc(var(--hero-unit) * 2);
  margin: calc(var(--hero-unit) * 4) 0 0;
  padding: 0;
  border: 0;
}
.poll legend {
  padding: 0 0 8px;
  color: var(--muted);
  font-size: var(--ui-text);
}
.poll-option {
  position: relative;
  cursor: pointer;
}
.poll:disabled .poll-option {
  cursor: default;
}
.poll-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.poll-content {
  display: grid;
  min-height: calc(var(--hero-unit) * 11);
  grid-template-columns: calc(var(--hero-unit) * 5) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: calc(var(--hero-unit) * 2) calc(var(--hero-unit) * 3);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--bg);
  font-size: var(--ui-text);
  font-weight: 600;
}
.poll-option input:focus-visible + .poll-content {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.poll-option input:checked + .poll-content {
  border-color: var(--accent);
  background: var(--accent-tint);
}
.poll-marker {
  display: grid;
  height: calc(var(--hero-unit) * 5);
  place-items: center;
  border: 1px solid var(--control-line);
  border-radius: 4px;
  background: var(--panel);
  color: var(--accent);
  font-size: var(--small-text);
  line-height: 1;
}
.poll-option input:checked + .poll-content .poll-marker {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--panel);
}
.poll-count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.demo-event,
.demo-notice {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--bg);
  font-size: var(--ui-text);
}
.demo-event-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: var(--small-text);
  font-weight: 600;
}
.demo-event-label svg {
  width: 14px;
  height: 14px;
}
.demo-event strong {
  display: block;
  margin-top: 4px;
}
.demo-event-detail,
.demo-notice p {
  color: var(--muted);
  font-size: var(--small-text);
}
.demo-notice {
  background: var(--accent-tint);
}
.demo figcaption {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: var(--small-text);
}

.section,
.band {
  padding-block: 80px;
}
main > section:is(#services, #examples, #pricing) {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--site-header-height));
  min-height: calc(100dvh - var(--site-header-height));
}
.band {
  background: var(--panel);
  border-block: 1px solid var(--line);
}
#services {
  background: var(--accent-tint);
}
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.section h2,
.band h2 {
  font-size: clamp(28px, 3.1vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-title {
  display: grid;
  align-content: start;
  gap: 4px;
}
.section-index,
.card-label {
  color: var(--muted);
  font-size: var(--small-text);
}
.section-heading > p {
  max-width: 30em;
  color: var(--muted);
  font-size: 16px;
}
.services-list {
  border-bottom: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.service-name,
.use-case-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--panel);
  color: var(--accent);
}
.service-icon svg {
  width: 20px;
  height: 20px;
}
.service-row h3 {
  font-size: 18px;
  font-weight: 600;
}
.service-row > p,
.service-row ul,
.section-note {
  color: var(--muted);
  font-size: var(--ui-text);
}
.service-row ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-row li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.service-row li + li {
  margin-top: 4px;
}
.service-row li::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 1px;
  background: var(--accent);
  transform: translateY(-2px);
}
.section-note {
  margin-top: 16px;
}

.use-cases {
  display: grid;
  gap: 16px;
}
.use-case {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--bg);
}
.use-case-heading h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
}
.use-case-scenario,
.use-case-features dd,
.use-cases-contact p {
  color: var(--muted);
  font-size: var(--ui-text);
}
.use-case-scenario {
  margin-top: 14px;
}
.use-case-benefit {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-control);
  background: var(--accent-tint);
  font-size: var(--ui-text);
}
.use-case-features dt {
  font-weight: 600;
}
.use-case-features dd {
  margin-top: 4px;
}
.use-case-features > div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.use-cases-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 24px;
}
.step-number {
  width: 32px;
  height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--accent);
  background: var(--accent-tint);
  font-size: var(--small-text);
  font-weight: 600;
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.price-overview {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
}
.price-overview h3 {
  font-size: 20px;
  font-weight: 600;
}
.price-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px;
  margin: 12px 0;
  color: var(--accent);
  font-weight: 700;
}
.price-value strong {
  min-width: 0;
  font:
    700 clamp(40px, 4.2vw, 56px)/1.2 Arial,
    sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
.price-value span {
  font-size: 20px;
}
.price-overview > p:last-child {
  max-width: 30em;
  color: var(--muted);
  font-size: var(--ui-text);
}
.price-breakdown > div {
  display: grid;
  grid-template-columns: minmax(112px, 0.6fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.price-breakdown > div:last-child {
  border-bottom: 1px solid var(--line);
}
.price-breakdown dt {
  font-size: 16px;
  font-weight: 600;
}
.price-breakdown dd {
  color: var(--muted);
  font-size: var(--ui-text);
}
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 16px 8px 0 0;
}
.process-list h3 {
  font-size: 16px;
  font-weight: 600;
}
.process-list p {
  margin-top: 8px;
  color: var(--muted);
  font-size: var(--ui-text);
}
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(24px, 4vw, 56px);
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-plus {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent);
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline: 0;
  height: 1px;
  background: currentColor;
}
.faq-plus::after {
  transform: rotate(90deg);
}
.faq-list details[open] .faq-plus::after {
  transform: none;
}
.faq-list details p {
  margin: 0 32px 20px 4px;
  color: var(--muted);
  font-size: var(--ui-text);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-items: center;
  gap: 32px;
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
}
.contact-copy > p:last-child {
  max-width: 30em;
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}
.contact-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.contact-action .button {
  min-width: min(100%, 224px);
}
.email-address {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: var(--ui-text);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.contact-action > p {
  max-width: 22em;
  color: var(--muted);
  font-size: var(--small-text);
}
.site-footer {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.footer-inner,
.footer-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-inner p,
.footer-end small {
  color: var(--muted);
  font-size: var(--small-text);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-top: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: var(--ui-text);
}
.footer-legal a[aria-current="page"] {
  font-weight: 700;
}
.footer-legal a,
.contact-policy,
.legal-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.footer-legal a:hover,
.contact-policy:hover,
.legal-page a:hover {
  color: var(--accent-hover);
}
.back-to-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--accent);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}
.legal-page {
  width: min(820px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(32px, 7vw, 72px);
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}
.legal-heading h1,
.legal-section h2,
.legal-facts dt {
  color: var(--text);
}
.legal-home {
  display: inline-block;
  margin-bottom: 24px;
  font-size: var(--ui-text);
}
.legal-heading h1 {
  margin-block: 4px 12px;
  font-size: clamp(26px, 4.4vw, 44px);
  text-wrap: balance;
}
.legal-index {
  margin-top: 28px;
  padding: 16px clamp(16px, 4vw, 24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--accent-tint);
}
.legal-index p {
  font-weight: 700;
  color: var(--text);
}
.legal-index ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 4px 24px;
  margin: 8px 0 0;
  padding-inline-start: 1.5em;
  font-size: var(--ui-text);
}
.legal-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  font-size: clamp(18px, 3vw, 23px);
  scroll-margin-top: 12px;
}
.legal-section p,
.legal-section ul {
  margin: 10px 0 0;
}
.legal-section ul {
  padding-inline-start: 1.45em;
}
.legal-section li + li {
  margin-top: 4px;
}
.legal-section .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 0;
  list-style: none;
}
.legal-links li + li {
  margin-top: 0;
}
.legal-facts {
  margin-top: 28px;
  border-block-start: 1px solid var(--line);
}
.legal-facts-intro {
  margin-top: 28px;
}
.legal-facts-intro + .legal-facts {
  margin-top: 8px;
}
.legal-facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 16px;
  padding-block: 12px;
  border-block-end: 1px solid var(--line);
}
.legal-facts dt {
  font-weight: 700;
}
@media (max-width: 540px) {
  .legal-facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.not-found h1 {
  font-size: clamp(28px, 5vw, 48px);
}
.not-found-description {
  margin: 16px 0 24px;
  color: var(--muted);
}

@media (hover: hover) {
  .desktop-nav a:hover,
  .mobile-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .faq-list summary:hover {
    color: var(--accent);
  }
  .button:hover {
    background: var(--accent-hover);
  }
  .button-quiet:hover {
    background: var(--accent-tint);
    border-color: var(--accent);
  }
  .poll:not(:disabled) .poll-content:hover {
    border-color: var(--accent);
  }
  .rail-channel:hover,
  .demo-button:not(:disabled):hover {
    background: var(--accent-tint);
  }
  .demo-button-primary:not(:disabled):hover {
    background: var(--accent-hover);
  }
  .demo-reset:hover {
    text-decoration: underline;
  }
  .back-to-top:hover {
    background: var(--accent-tint);
  }
}

@media (min-width: 941px) {
  .hero {
    --hero-unit: clamp(4px, min(0.36vw, 0.64vh), 5.6px);
  }
  main > section:is(#services, #examples, #pricing) {
    padding-block: clamp(20px, 3vh, 80px);
  }
}

@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
}

@media (max-width: 940px) {
  :root {
    --site-header-height: 65px;
  }
  /* The same links are available through the mobile menu. */
  .desktop-nav,
  .header-contact {
    display: none;
  }
  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--control-line);
    border-radius: var(--radius-control);
    background: var(--panel);
    cursor: pointer;
  }
  .menu-toggle span {
    height: 1px;
    width: 100%;
    background: var(--text);
    transition: transform 0.16s ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }
  .mobile-nav {
    display: grid;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    padding: 8px 32px 16px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 8px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--accent);
    font-size: var(--ui-text);
    font-weight: 600;
  }
  .hero {
    padding-block: 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero h1 {
    font-size: clamp(32px, 7.5vw, 56px);
  }
  .demo {
    max-width: 640px;
  }
  .section,
  .band {
    padding-block: 64px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .mobile-nav {
    padding-inline: 20px;
  }
  .hero {
    padding-block: 40px;
  }
  .hero-actions {
    gap: 8px;
  }
  .section,
  .band {
    padding-block: 48px;
  }
  .section-heading,
  .use-case,
  .pricing-panel,
  .faq-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }
  .section-heading {
    gap: 12px;
    margin-bottom: 24px;
  }
  .section h2,
  .band h2 {
    font-size: clamp(28px, 6.8vw, 36px);
  }
  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 20px;
  }
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
}

@media (max-width: 480px) {
  .brand img {
    width: 36px;
    height: 36px;
  }
  .button {
    padding-inline: 12px;
  }
  .demo-body {
    grid-template-columns: 1fr;
  }
  .demo-rail {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .rail-title {
    flex-basis: 100%;
  }
  .demo-main,
  .demo-bar {
    padding-inline: 12px;
  }
  .demo-main {
    min-height: 0;
  }
  .price-breakdown > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-block: 12px;
  }
  .process-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .process-list li {
    padding: 12px 0;
  }
  .process-list p {
    margin-top: 4px;
  }
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 32px);
  }
}

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