:root {
  --c-white: #ffffff;
  --c-ink: #333333;
  --c-navy: #0b1f3a;
  --c-sky: #8fd0ff;
  --c-line: rgba(11, 31, 58, .16);
  --c-soft: rgba(143, 208, 255, .16);
  --font-family: "Noto Sans JP", "Yu Gothic", Meiryo, Arial, sans-serif;
  --font-body: 16px;
  --font-small: 14px;
  --font-h1: clamp(36px, 5vw, 64px);
  --font-h2: clamp(32px, 4vw, 48px);
  --font-h3: clamp(20px, 2vw, 24px);
  --line-height: 1.7;
  --radius: 8px;
  --header-height: 80px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--c-ink);
  background: var(--c-white);
  font-family: var(--font-family);
  font-size: var(--font-body);
  line-height: var(--line-height);
}

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

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--c-navy);
  outline-offset: 3px;
}

.site-header :focus-visible,
.section-navy :focus-visible,
.contact :focus-visible,
.footer :focus-visible {
  outline-color: var(--c-sky);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 200;
  min-height: 48px;
  padding: 8px 16px;
  transform: translateY(-160%);
  color: var(--c-white);
  background: var(--c-navy);
  border: 1px solid var(--c-sky);
  border-radius: var(--radius);
  text-decoration: none;
}

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

.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;
}

.container,
.header-inner,
.hero-grid,
.footer-inner {
  width: calc(100% - 48px);
  max-width: var(--container);
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  color: var(--c-white);
  background: rgba(11, 31, 58, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--c-white);
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  flex: 0 0 auto;
}

.brand-name {
  color: var(--c-white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--c-white);
  font-size: var(--font-small);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--c-sky);
  border-bottom-color: var(--c-sky);
}

.site-nav .nav-contact {
  min-height: 48px;
  padding: 0 20px;
  color: var(--c-navy);
  background: var(--c-sky);
  border: 1px solid var(--c-sky);
  border-radius: var(--radius);
}

.site-nav .nav-contact:hover {
  color: var(--c-navy);
  background: var(--c-white);
  border-color: var(--c-white);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--c-white);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  padding: calc(var(--header-height) + 48px) 0 80px;
  overflow: hidden;
  color: var(--c-white);
  background-color: var(--c-navy);
  background-image: url("../hero-background-desktop.svg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  bottom: 32px;
  color: rgba(255, 255, 255, .09);
  font-size: 160px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  pointer-events: none;
}

.hero::before {
  left: max(32px, calc(50% - 920px));
  content: "SF";
}

.hero::after {
  right: max(32px, calc(50% - 920px));
  content: "AI";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 64px;
  align-items: center;
  min-height: 520px;
}

.hero-copy,
.workflow-demo,
.demo-step,
.section-intro,
.section-head,
.sample-panel > *,
.work-row > * {
  min-width: 0;
}

.eyebrow,
.section-label,
.demo-label,
.work-kicker,
.sample-status {
  margin: 0 0 16px;
  color: var(--c-sky);
  font-size: var(--font-small);
  font-weight: 700;
  letter-spacing: .08em;
}

.section-label,
.work-kicker,
.sample-status {
  color: var(--c-navy);
}

.hero .eyebrow,
.section-navy .section-label,
.contact .section-label {
  color: var(--c-sky);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 32px;
  color: var(--c-white);
  font-size: var(--font-h1);
  line-height: 1.2;
  letter-spacing: 0;
}

h1 span {
  color: var(--c-sky);
}

h2 {
  margin-bottom: 24px;
  color: var(--c-navy);
  font-size: var(--font-h2);
  line-height: 1.4;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 16px;
  color: var(--c-navy);
  font-size: var(--font-h3);
  line-height: 1.5;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--c-white);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--c-navy);
  background: var(--c-sky);
  border-color: var(--c-sky);
}

.button-primary:hover {
  background: var(--c-white);
  border-color: var(--c-white);
}

.button-ghost {
  color: var(--c-white);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .56);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--c-white);
}

.hero-note {
  max-width: 600px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: var(--font-small);
}

.contact-fallback {
  display: block;
  margin-top: 8px;
  color: var(--c-white);
}

.workflow-demo {
  border: 1px solid rgba(143, 208, 255, .32);
  border-radius: var(--radius);
  background: rgba(11, 31, 58, .64);
}

.demo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.demo-toolbar p {
  margin: 0;
  color: var(--c-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

.demo-toolbar span {
  padding: 4px 8px;
  color: var(--c-navy);
  background: var(--c-sky);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.demo-flow {
  padding: 24px;
}

.demo-step {
  padding: 20px 24px;
  color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid rgba(143, 208, 255, .20);
  border-radius: 4px;
}

.demo-step h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.5;
}

.demo-step p {
  margin-bottom: 0;
}

.demo-step .demo-label {
  margin-bottom: 4px;
  color: var(--c-navy);
  font-size: 12px;
}

.demo-ai {
  background: var(--c-sky);
}

.demo-ai ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

.demo-ai li {
  padding: 4px 8px;
  color: var(--c-navy);
  background: rgba(255, 255, 255, .64);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.demo-human {
  color: var(--c-navy);
  background: var(--c-white);
  border-color: var(--c-sky);
  border-width: 2px;
}

.demo-human h2,
.demo-human .demo-label {
  color: var(--c-navy);
}

.demo-human p {
  color: var(--c-ink);
}

.demo-connector {
  position: relative;
  width: 2px;
  height: 32px;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(143, 208, 255, .32);
}

.demo-connector span {
  position: absolute;
  inset: 0;
  background: var(--c-sky);
  animation: flowLine 1800ms ease-in-out infinite;
}

.scroll-hint {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
  min-height: 48px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
  text-decoration: none;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 24px;
  margin-top: 4px;
  background: var(--c-sky);
}

.promise {
  border-bottom: 1px solid var(--c-line);
}

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

.promise article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 40px 32px;
  border-right: 1px solid var(--c-line);
}

.promise article:first-child {
  padding-left: 0;
}

.promise article:last-child {
  padding-right: 0;
  border-right: 0;
}

.promise article > span {
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 700;
}

.promise h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.promise p {
  margin-bottom: 0;
  font-size: var(--font-small);
}

.section {
  padding: 120px 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-white {
  background: var(--c-white);
}

.section-tint {
  background: var(--c-soft);
}

.section-navy {
  color: var(--c-white);
  background: var(--c-navy);
}

.section-navy h2,
.section-navy h3 {
  color: var(--c-white);
}

.section-navy p {
  color: rgba(255, 255, 255, .78);
}

.section-intro p:last-child,
.section-head > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.section-head h2 {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}

.section-head > p:last-child:not(.section-label) {
  grid-column: 2;
  margin-top: -40px;
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: start;
}

.work-layout .section-intro {
  position: sticky;
  top: calc(var(--header-height) + 40px);
}

.work-list {
  border-top: 1px solid var(--c-navy);
}

.work-row {
  display: grid;
  grid-template-columns: 48px minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 24px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-line);
}

.work-number {
  margin: 0;
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 700;
}

.work-kicker {
  margin-bottom: 8px;
  color: var(--c-navy);
}

.work-row h3,
.work-row > p:last-child {
  margin-bottom: 0;
}

.sample-switcher {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  overflow: hidden;
  background: var(--c-white);
  border: 1px solid var(--c-navy);
  border-radius: 0;
}

.sample-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--c-line);
}

.sample-tab {
  min-height: 96px;
  padding: 16px 24px;
  color: var(--c-navy);
  background: var(--c-white);
  border: 0;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease;
}

.sample-tab span {
  display: block;
  margin-bottom: 4px;
  color: inherit;
  font-size: 12px;
  letter-spacing: .08em;
}

.sample-tab:hover {
  background: var(--c-soft);
}

.sample-tab.is-active {
  color: var(--c-white);
  background: var(--c-navy);
}

.sample-panels {
  min-width: 0;
}

.sample-panel {
  display: none;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: center;
  min-height: 520px;
  padding: 48px;
}

.sample-panel.is-active {
  display: grid;
}

.sample-copy h3 {
  margin-bottom: 16px;
  color: var(--c-navy);
  font-size: clamp(24px, 3vw, 32px);
}

.sample-copy > p:not(.sample-status) {
  margin-bottom: 32px;
}

.sample-copy dl {
  margin: 0;
  border-top: 1px solid var(--c-line);
}

.sample-copy dl div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}

.sample-copy dt {
  color: var(--c-navy);
  font-size: var(--font-small);
  font-weight: 700;
}

.sample-copy dd {
  margin: 0;
}

.sample-screen {
  min-width: 0;
  padding: 24px;
  color: var(--c-white);
  background: var(--c-navy);
  border: 1px solid var(--c-navy);
  border-radius: 4px;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  font-size: var(--font-small);
  font-weight: 700;
}

.screen-state {
  padding: 4px 10px;
  color: var(--c-navy);
  background: var(--c-sky);
  border-radius: 999px;
  white-space: nowrap;
}

.message-card,
.result-card,
.sheet-head,
.sheet-row,
.task-block {
  padding: 16px;
  color: var(--c-ink);
  background: var(--c-white);
  border: 1px solid rgba(255, 255, 255, .32);
}

.message-card {
  margin-bottom: 8px;
}

.message-card p,
.result-card p {
  margin-bottom: 8px;
}

.message-card p:last-child,
.result-card p:last-child {
  margin-bottom: 0;
}

.message-from,
.result-title {
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.result-card {
  border-color: var(--c-sky);
}

.result-card ul {
  margin: 0;
  padding-left: 20px;
}

.sheet-head,
.sheet-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 16px;
  align-items: center;
}

.sheet-head {
  color: var(--c-navy);
  background: var(--c-sky);
  border-color: var(--c-sky);
  font-size: 12px;
  font-weight: 700;
}

.sheet-row + .sheet-row,
.task-block + .task-block {
  border-top: 0;
}

.sheet-row span {
  font-size: 12px;
  font-weight: 700;
}

.sheet-row .ok {
  color: var(--c-navy);
}

.sheet-row .check {
  padding: 2px 8px;
  color: var(--c-navy);
  background: var(--c-sky);
  border-radius: 999px;
  text-align: center;
}

.task-block {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
}

.task-block span {
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 700;
}

.task-human {
  background: var(--c-sky);
  border-color: var(--c-sky);
}
.change-layout,
.security-layout,
.price-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: 80px;
  align-items: start;
}

.change-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--c-navy);
  border-radius: var(--radius);
}

.change-before,
.change-after {
  min-width: 0;
  padding: 32px;
}

.change-before {
  background: var(--c-white);
  border-right: 1px solid var(--c-line);
}

.change-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.change-result > span {
  color: var(--c-navy);
  font-size: 14px;
  font-weight: 700;
}

.change-result strong {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-navy);
  font-size: 32px;
  line-height: 1;
}

.change-result strong b,
.change-result strong i {
  font-style: normal;
}

.change-result strong b:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 8px 12px;
  background: var(--c-sky);
  border-radius: 4px;
}

.compare-head,
.after-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.compare-head p,
.after-head p {
  margin: 0;
}

.compare-head strong,
.after-head strong {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.compare-head strong {
  color: var(--c-navy);
  background: var(--c-soft);
}

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

.compare-steps li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-line);
}

.compare-steps li > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.change-after {
  color: var(--c-white);
  background: var(--c-navy);
}

.after-head strong {
  padding: 4px 10px;
  color: var(--c-navy);
  background: var(--c-sky);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.after-steps li {
  border-bottom-color: rgba(255, 255, 255, .24);
}

.after-steps small {
  display: block;
  margin-bottom: 4px;
  color: var(--c-sky);
  font-size: 12px;
  font-weight: 700;
}

.after-steps .human-focus {
  margin-top: 8px;
  padding: 16px;
  color: var(--c-navy);
  background: var(--c-white);
  border: 2px solid var(--c-sky);
}

.after-steps .human-focus small {
  color: var(--c-navy);
}

.after-note {
  margin: 24px 0 0;
  padding-top: 20px;
  color: rgba(255, 255, 255, .78);
  border-top: 1px solid rgba(255, 255, 255, .24);
  font-size: var(--font-small);
}

.section-navy .section-label {
  color: var(--c-sky);
}

.security-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, .32);
  list-style: none;
}

.security-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.security-list li > span {
  color: var(--c-sky);
  font-size: 12px;
  font-weight: 700;
}

.security-list h3 {
  margin-bottom: 8px;
}

.security-list p {
  margin-bottom: 0;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--c-sky);
  list-style: none;
}

.process-list li {
  min-width: 0;
  padding: 32px 24px;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

.process-list li:first-child {
  border-left: 1px solid var(--c-line);
}

.process-list span {
  display: block;
  margin-bottom: 40px;
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 12px;
  color: var(--c-navy);
}

.process-list p {
  margin-bottom: 0;
}

.price-list {
  border-top: 1px solid var(--c-navy);
}

.price-content {
  min-width: 0;
}

.price-row {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 24px;
  border-bottom: 1px solid var(--c-line);
}

.price-row.is-featured {
  background: var(--c-sky);
  border-bottom-color: var(--c-navy);
}

.price-row p,
.price-row h3 {
  margin-bottom: 0;
}

.price-row > div > p {
  margin-bottom: 4px;
  color: var(--c-navy);
  font-size: 12px;
  font-weight: 700;
}

.price-row h3 {
  color: var(--c-navy);
  font-size: clamp(24px, 3vw, 32px);
}

.price-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 32px;
}

.price-action p {
  max-width: 420px;
  margin: 0;
}

.price-action-copy {
  display: grid;
  gap: 8px;
}

.price-action .mail-note {
  color: rgba(11, 31, 58, .72);
  font-size: var(--font-small);
}

.price-action .button {
  flex: 0 0 auto;
}

.nowrap {
  white-space: nowrap;
}

.faq-list {
  border-top: 1px solid var(--c-navy);
}

.faq-list details {
  border-bottom: 1px solid var(--c-line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 16px 56px 16px 0;
  color: var(--c-navy);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  color: var(--c-navy);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin-bottom: 0;
  padding: 0 56px 24px 0;
}

.contact {
  padding: 120px 0;
  color: var(--c-white);
  background: var(--c-navy);
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
}

.contact h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--c-white);
}

.contact p:not(.section-label) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .78);
}

.contact-action {
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: 320px;
}

.contact-action .mail-note {
  font-size: var(--font-small);
}

.contact-action .button {
  min-width: 216px;
}

.footer {
  color: var(--c-white);
  background: var(--c-navy);
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 40px;
  align-items: center;
  min-height: 136px;
}

.footer img {
  width: 96px;
}

.footer-name {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-white);
  font-size: var(--font-small);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--c-sky);
}

.legal-main {
  padding: calc(var(--header-height) + 64px) 0 96px;
  background: var(--c-white);
}

.legal-header {
  max-width: 760px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--c-line);
}

.legal-header .section-label {
  margin-bottom: 16px;
}

.legal-header h1 {
  margin: 0;
  color: var(--c-navy);
  font-size: var(--font-h2);
  line-height: 1.35;
  letter-spacing: .02em;
}

.legal-header p:last-child {
  margin: 24px 0 0;
  max-width: 680px;
}

.legal-content {
  max-width: 760px;
  padding-top: 48px;
}

.legal-section + .legal-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--c-line);
}

.legal-section h2 {
  margin: 0 0 16px;
  color: var(--c-navy);
  font-size: 24px;
  line-height: 1.5;
}

.legal-section p,
.legal-section li {
  max-width: 45em;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 16px;
}

.legal-section ul {
  margin: 16px 0 0;
  padding-left: 1.5em;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-navy);
  font-weight: 700;
  text-underline-offset: 4px;
}

.legal-meta {
  margin-top: 64px;
  padding-top: 24px;
  color: rgba(51, 51, 51, .72);
  border-top: 1px solid var(--c-line);
  font-size: var(--font-small);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, .64);
  font-size: 12px;
  white-space: nowrap;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms cubic-bezier(.22, 1, .36, 1),
    transform 720ms cubic-bezier(.22, 1, .36, 1);
}

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

@media (max-width: 1440px) {
  .hero {
    padding-bottom: 96px;
  }

  .hero::before,
  .hero::after {
    bottom: 24px;
    font-size: 96px;
  }
}

@media (max-width: 980px) {
  .hero {
    background-image: url("../hero-background-tablet.svg");
  }

  .hero::before,
  .hero::after {
    font-size: 88px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: var(--header-height) 0 auto;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 16px 24px 24px;
    background: var(--c-navy);
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
  }

  .site-nav .nav-contact {
    grid-column: 1 / -1;
    margin-top: 8px;
    border-bottom: 1px solid var(--c-sky);
  }

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

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

  .workflow-demo {
    width: 100%;
    max-width: 720px;
  }

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

  .work-layout,
  .section-head,
  .change-layout,
  .security-layout,
  .price-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-head h2,
  .section-head > p:last-child:not(.section-label) {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .work-layout .section-intro {
    position: static;
  }

  .sample-switcher {
    grid-template-columns: 1fr;
  }

  .sample-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }

  .sample-tab {
    border-right: 1px solid var(--c-line);
    border-bottom: 0;
  }

  .sample-panel {
    min-height: 0;
  }

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

  .process-list li:nth-child(3) {
    border-left: 1px solid var(--c-line);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
    --font-body: 15px;
    --font-h1: 36px;
    --font-h2: 32px;
  }

  .container,
  .header-inner,
  .hero-grid,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 36px;
  }

  .brand-name {
    font-size: 16px;
  }

  .site-nav {
    grid-template-columns: 1fr;
    padding: 12px 16px 20px;
  }

  .hero {
    min-height: 0;
    padding: calc(var(--header-height) + 40px) 0 88px;
    background-image: url("../hero-background-mobile.svg");
  }

  .hero::before,
  .hero::after {
    bottom: 16px;
    font-size: 64px;
  }

  .hero-grid {
    min-height: 0;
    gap: 40px;
  }

  .change-result {
    align-items: flex-end;
    margin-top: 32px;
  }

  .price-action {
    display: grid;
    gap: 20px;
  }

  .price-action .button {
    width: 100%;
  }

  .section-intro h2 br {
    display: none;
  }

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

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

  .workflow-demo {
    padding: 20px;
  }

  .demo-flow {
    gap: 8px;
  }

  .demo-step {
    padding: 16px;
  }

  .scroll-hint {
    display: none;
  }

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

  .promise article {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }

  .promise article:last-child {
    border-bottom: 0;
  }

  .section,
  .contact {
    padding: 80px 0;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .work-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    padding: 32px 0;
  }

  .work-row > p:last-child {
    grid-column: 2;
  }

  .sample-tabs {
    grid-template-columns: 1fr;
  }

  .sample-tab {
    min-height: 72px;
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }

  .sample-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }

  .sample-copy dl div {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .sample-screen {
    padding: 16px;
  }

  .change-compare {
    grid-template-columns: 1fr;
  }

  .change-before {
    border-right: 0;
    border-bottom: 1px solid var(--c-line);
  }

  .change-before,
  .change-after {
    padding: 24px;
  }

  .security-list li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 16px;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .process-list li:nth-child(3) {
    border-left: 1px solid var(--c-line);
  }

  .process-list span {
    margin-bottom: 24px;
  }

  .price-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px;
  }

  .faq-list summary {
    padding-right: 48px;
  }

  .faq-list details p {
    padding-right: 0;
  }

  .contact-action .button {
    width: 100%;
    min-width: 0;
  }

  .contact-action {
    justify-items: stretch;
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 40px 0;
  }

  .footer img {
    width: 112px;
  }

  .footer-links {
    gap: 20px;
  }

  .legal-main {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 64px;
  }

  .legal-header {
    padding-bottom: 32px;
  }

  .legal-content {
    padding-top: 32px;
  }

  .legal-section + .legal-section {
    margin-top: 32px;
    padding-top: 32px;
  }

  .legal-section h2 {
    font-size: 20px;
  }

  .copyright {
    white-space: normal;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

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