:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #f6f8fa;
  --surface: #ffffff;
  --border: #d0d7de;
  --border-muted: #d8dee4;
  --field-border: #8c959f;
  --brace: #afb8c1;
  --text: #1f2328;
  --muted: #59636e;
  --faint: #6e7781;
  --accent: #bc002d;
  --accent-hover: #a00026;
  --accent-soft: #fde8ec;
  --success-soft: #dafbe1;
  --on-accent: #ffffff;
  --link: #bc002d;
  --vermilion: #bc002d;
  --vermilion-soft: rgba(188, 0, 45, 0.1);
  --error: #cf222e;
  --success: #1a7f37;
  --focus-ring: rgba(188, 0, 45, 0.3);
  --header-bg: rgba(255, 255, 255, 0.9);
  --placeholder-bg: rgba(188, 0, 45, 0.1);
  --ill-land: #eaeef2;
  --mark-bg: #ffffff;
  --mark-fg: #1f2328;
  --mark-border: #d0d7de;
  --pattern-opacity: 0.55;
  --pattern-filter: none;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --header-h: 64px;
  --section-y: clamp(64px, 9vw, 112px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, "Hiragino Sans", "Noto Sans JP", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1117;
  --bg-subtle: #151b23;
  --surface: #0d1117;
  --border: #3d444d;
  --border-muted: #2f353d;
  --field-border: #656c76;
  --brace: #3d444d;
  --text: #f0f6fc;
  --muted: #9198a1;
  --faint: #9198a1;
  --accent: #d70037;
  --accent-hover: #e0003a;
  --accent-soft: rgba(242, 0, 65, 0.15);
  --success-soft: rgba(46, 160, 67, 0.15);
  --on-accent: #ffffff;
  --link: #ff4d73;
  --vermilion: #f20041;
  --vermilion-soft: rgba(242, 0, 65, 0.25);
  --error: #f85149;
  --success: #3fb950;
  --focus-ring: rgba(242, 0, 65, 0.4);
  --header-bg: rgba(13, 17, 23, 0.88);
  --placeholder-bg: rgba(242, 0, 65, 0.25);
  --ill-land: #212830;
  --mark-bg: #f0f6fc;
  --mark-fg: #0d1117;
  --mark-border: #f0f6fc;
  --pattern-opacity: 0.1;
  --pattern-filter: invert(1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--on-accent);
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.theme-toggle[hidden] {
  display: none;
}

.theme-toggle:hover {
  border-color: var(--field-border);
  color: var(--text);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark:hover {
  color: var(--text);
}

.wordmark-text span {
  color: var(--vermilion);
  font-weight: 800;
}

.mark {
  width: 28px;
  height: 28px;
  margin-right: 10px;
  flex: none;
}

.mark-bg {
  fill: var(--mark-bg);
  stroke: var(--mark-border);
  stroke-width: 2;
}

.mark-fg {
  stroke: var(--mark-fg);
}

.mark-dot {
  fill: var(--vermilion);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(31, 35, 40, 0.15);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--on-accent);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--focus-ring);
}

.btn:disabled {
  cursor: progress;
  opacity: 0.65;
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
  white-space: nowrap;
}

main section {
  padding: var(--section-y) 0;
}

main section + section {
  border-top: 1px solid var(--border);
}

.section-subtle {
  background: var(--bg-subtle);
}

.section-title {
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  font-weight: 700;
  text-align: center;
}

.section-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  margin: 0 auto 20px;
  border-radius: 2px;
  background: var(--vermilion);
}

.intro {
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  max-width: 40em;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 104px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/seigaiha.svg") repeat;
  background-size: 48px 24px;
  opacity: var(--pattern-opacity);
  filter: var(--pattern-filter);
  -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 55%);
  mask-image: linear-gradient(to left, #000 0%, transparent 55%);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  gap: 40px 48px;
  align-items: center;
}

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

.hero h1 {
  grid-column: 1 / -1;
  text-align: center;
  font-size: clamp(2.5rem, 1rem + 4.4vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero-sub {
  color: var(--text);
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.hero-copy .hero-sub {
  text-align: center;
}

.hero .lede {
  margin-top: 20px;
  max-width: 36em;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
}

.hero-visual {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.hero-art {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font);
}

.ill-land {
  fill: var(--ill-land);
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.ill-link {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  opacity: 0.7;
}

.ill-node {
  fill: var(--surface);
  stroke: var(--accent);
  stroke-width: 2;
}

.ill-node-label {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.ill-tokyo {
  fill: var(--vermilion);
}

.ill-tokyo-ring {
  fill: none;
  stroke: var(--vermilion);
  stroke-width: 1.5;
}

.ill-card {
  fill: var(--surface);
  stroke: var(--border);
  stroke-width: 1;
}

.ill-text {
  fill: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.ill-muted {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.ill-jp {
  fill: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.ill-pill {
  fill: var(--bg-subtle);
  stroke: var(--border);
}

.ill-pill-on {
  fill: var(--accent);
}

.ill-on-accent {
  fill: var(--on-accent);
  font-size: 12px;
  font-weight: 600;
}

.ill-track {
  fill: var(--border-muted);
}

.ill-fill {
  fill: var(--accent);
}

.ill-icon {
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cards {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--muted);
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--field-border);
}

.card strong,
.steps strong,
.services strong {
  color: var(--text);
  font-weight: 600;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-muted);
}

.stat-value {
  color: var(--text);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.5;
}

.stat-chip {
  align-self: flex-start;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--link);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.stat-bar {
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 12px;
}

.stat-row {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.stat-row > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.donut {
  flex: none;
  width: 56px;
  height: 56px;
}

.donut-track {
  fill: none;
  stroke: var(--border-muted);
  stroke-width: 8;
}

.donut-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--accent);
}

.icon-tile svg {
  width: 20px;
  height: 20px;
}

.card .icon-tile {
  align-self: flex-start;
  margin-bottom: 4px;
}

.sources {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--surface);
  color: var(--link);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
}

.steps li:first-child::before {
  background: var(--accent);
  color: var(--on-accent);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px;
  bottom: -24px;
  left: 15px;
  width: 2px;
  background: var(--accent);
  opacity: 0.35;
}

.steps p {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 1rem;
}

.steps a {
  color: var(--link);
  font-weight: 600;
}

.steps a:hover {
  color: var(--accent-hover);
}

.services {
  list-style: none;
  margin: 48px auto 0;
  padding: 0;
  max-width: 880px;
  display: grid;
  gap: 12px;
}

.services li {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.services li:hover {
  border-color: var(--field-border);
}

.services li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 43px;
  top: 61px;
  bottom: -33px;
  width: 2px;
  background: var(--accent);
  opacity: 0.35;
}

.audience {
  text-align: center;
}

.braced {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 20px);
  margin-top: 32px;
}

.brace {
  flex: none;
  width: clamp(22px, 3vw, 36px);
  height: clamp(80px, 11vw, 128px);
  fill: none;
  stroke: var(--brace);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.statement {
  min-width: 0;
  color: var(--text);
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-wrap: balance;
}

.underline {
  text-decoration: underline;
  text-decoration-color: var(--vermilion);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

.closing {
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
  text-align: center;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/seigaiha.svg") repeat;
  background-size: 48px 24px;
  opacity: var(--pattern-opacity);
  filter: var(--pattern-filter);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
  pointer-events: none;
}

.closing .wrap {
  position: relative;
}

.closing-panel {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.credit {
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.closing h2 {
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  font-weight: 700;
  max-width: 38ch;
  margin: 0 auto;
}

.signup {
  text-align: left;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.hero-cta {
  max-width: 640px;
}

.hero .signup {
  margin: 0;
  max-width: 600px;
}

.closing .signup {
  margin: 32px auto 0;
  max-width: 640px;
}

.signup-lead {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: center;
}

.signup label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.signup input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.signup input[type="email"]:hover {
  border-color: var(--muted);
}

.signup input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

.signup input[aria-invalid="true"] {
  border-color: var(--error);
}

.signup input[aria-invalid="true"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(207, 34, 46, 0.25);
}

.signup .btn {
  flex: 1 0 auto;
  min-height: 48px;
}

.signup-msg {
  margin-top: 8px;
  min-height: 1.6em;
  font-size: 0.9375rem;
  font-weight: 600;
}

.signup-msg[data-state="error"] {
  color: var(--error);
}

.fineprint {
  margin-top: 4px;
  max-width: 36em;
  color: var(--faint);
  font-size: 0.875rem;
}

.fineprint em {
  color: var(--text);
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  display: none;
  margin: 16px 0 0;
  max-width: 600px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid currentColor;
  font-weight: 600;
  font-size: 0.9375rem;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.notice:target {
  display: block;
}

.notice-error {
  color: var(--error);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: center;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--link);
  text-decoration: underline;
}

.legal {
  padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px);
}

.legal .wrap {
  max-width: 800px;
}

.legal h1 {
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  font-weight: 700;
}

.legal h2 {
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 1.25rem;
  font-weight: 600;
}

.legal p,
.legal ul {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal ul {
  padding-left: 1.5em;
}

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

.legal strong {
  color: var(--text);
}

.legal .updated {
  margin-top: 12px;
  color: var(--faint);
  font-size: 0.875rem;
}

.draft-banner {
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px dashed var(--vermilion);
  border-left: 3px solid var(--vermilion);
  border-radius: var(--radius-sm);
  background: var(--vermilion-soft);
  color: var(--text);
  font-weight: 600;
}

.placeholder {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--placeholder-bg);
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.85em;
}

.hero-copy .lede {
  margin: 0 auto;
  text-align: center;
}

.guide {
  display: grid;
  justify-items: center;
  gap: 32px;
  max-width: 880px;
  margin: 48px auto 0;
}

.guide-cover {
  width: 100%;
  max-width: 220px;
}

.guide-cover svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font);
}

.cover-shadow {
  fill: var(--border-muted);
}

.cover-title {
  fill: var(--text);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.guide-copy {
  width: 100%;
  max-width: 560px;
}

.guide-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding: 16px 20px 16px 52px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 22px;
  width: 7px;
  height: 13px;
  margin-top: -9px;
  border: solid var(--accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

@media (min-width: 760px) {
  .guide {
    grid-template-columns: 220px minmax(0, 1fr);
    justify-items: stretch;
    align-items: center;
    gap: 56px;
  }

  .guide-note {
    text-align: left;
  }
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps li:not(:last-child)::after {
    display: none;
  }
}

@media (min-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px 56px;
  }

  .hero-copy {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
  }

  .hero-copy .hero-sub,
  .hero-copy .lede {
    text-align: left;
  }

  .hero-copy .lede {
    margin: 0;
  }

  .hero-cta {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    margin-top: -16px;
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 2 / 4;
  }

  .hero h1 {
    white-space: nowrap;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps li {
    padding: 52px 0 0;
  }

  .steps li:not(:last-child)::after {
    display: block;
    top: 15px;
    bottom: auto;
    left: 40px;
    right: -16px;
    width: auto;
    height: 2px;
  }

  .steps p {
    height: 100%;
  }
}

@media (max-width: 380px) {
  .header-actions {
    gap: 6px;
  }

  .btn-small {
    padding: 0 10px;
  }

  .wordmark {
    font-size: 1rem;
  }

  .mark {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
}

@media (max-width: 560px) {
  .br-wide {
    display: none;
  }

  .signup .btn {
    flex-basis: 100%;
    white-space: normal;
  }

  .card {
    padding: 20px;
  }

  .services li {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }

  .services li:not(:last-child)::after {
    display: none;
  }
}

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