:root {
  --bg: #f7fbff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --surface-soft: #eef4fb;
  --surface-tint: #fbf8ff;
  --ink: #31486f;
  --ink-soft: #647595;
  --line: rgba(64, 98, 140, 0.12);
  --line-strong: rgba(64, 98, 140, 0.22);
  --navy: #304a77;
  --navy-deep: #21385e;
  --bluegreen: #8c63e8;
  --teal: #9267ea;
  --teal-soft: rgba(146, 103, 234, 0.16);
  --brand-blue-deep: #845ce8;
  --gold: #b39ae3;
  --peach: #a182e0;
  --blue: #d7c8ff;
  --green: #ece2ff;
  --champagne-bg: #fbf8ff;
  --champagne-surface: #f4eeff;
  --champagne-surface-strong: #fcfaff;
  --champagne-line: rgba(140, 111, 208, 0.16);
  --champagne-line-strong: rgba(140, 111, 208, 0.28);
  --champagne-glow: rgba(164, 128, 241, 0.16);
  --champagne-bronze: #8d6ad9;
  --champagne-deep: #6f58af;
  --champagne-copy: #6c79a0;
  --calm-blue: #8463df;
  --calm-blue-deep: #6c55c1;
  --calm-blue-soft: #816bc7;
  --content-accent: #7a61c8;
  --content-accent-deep: #6049ad;
  --content-accent-soft: rgba(122, 97, 200, 0.14);
  --content-accent-line: rgba(122, 97, 200, 0.2);
  --shadow: 0 28px 72px rgba(92, 71, 150, 0.12);
  --card-shadow: 0 16px 34px rgba(52, 43, 82, 0.07);
  --card-shadow-hover: 0 24px 54px rgba(52, 43, 82, 0.12);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1200px, calc(100vw - 40px));
  --font-heading: "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-number: "Sora", "Noto Sans JP", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(146, 103, 234, 0.08), transparent 24%),
    radial-gradient(circle at 88% 7%, rgba(214, 194, 255, 0.11), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(123, 84, 232, 0.05), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f9ff 32%, var(--bg) 68%, #edf3fb 100%);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
}

img {
  max-width: 100%;
}

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

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

ul {
  padding-left: 1.1rem;
}

button,
.button,
summary {
  cursor: pointer;
}

.site-shell {
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 255, 0.92));
  border-bottom: 1px solid rgba(118, 96, 176, 0.08);
  box-shadow: 0 12px 30px rgba(92, 71, 150, 0.08);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(146, 103, 234, 0.22), transparent);
}

.header-inner {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 4px 0;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--bluegreen));
  color: #fff;
  font-family: var(--font-number);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(123, 84, 232, 0.24);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-number);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.brand-text small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-panel,
.global-nav,
.header-actions,
.hero-actions,
.cta-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-panel {
  gap: 18px;
}

.global-nav {
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.global-nav a {
  position: relative;
  color: #617090;
  transition: color 180ms ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: var(--navy);
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button:focus-visible,
.global-nav a:focus-visible,
.map-card-link:focus-visible,
.faq-list summary:focus-visible {
  outline: 3px solid rgba(154, 105, 245, 0.28);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(180deg, #9a7ce7, #7e63d1);
  color: #fff;
  border-color: rgba(123, 84, 232, 0.08);
  box-shadow:
    0 18px 36px rgba(123, 84, 232, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.button-ghost {
  border: 1px solid rgba(123, 97, 184, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 246, 255, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 22px rgba(52, 43, 82, 0.05);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(154, 105, 245, 0.3);
  color: var(--brand-blue-deep);
}

.button-ghost-dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(111, 90, 168, 0.1);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 52px 0 30px;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% -12%, rgba(221, 206, 255, 0.28) 0 18%, rgba(221, 206, 255, 0.1) 24%, transparent 25%),
    radial-gradient(circle at 22% 18%, rgba(174, 151, 236, 0.16) 0 2.1%, transparent 2.2%),
    radial-gradient(circle at 80% 14%, rgba(245, 240, 255, 0.38), transparent 10%),
    linear-gradient(180deg, #fbf9ff 0%, #eef2fd 56%, #dde7f5 100%);
  clip-path: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -205px;
  width: 128%;
  height: 240px;
  background: linear-gradient(180deg, rgba(123, 84, 232, 0.02), rgba(123, 84, 232, 0.08));
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 74%, #fff 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.hero-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.eyebrow,
.section-label {
  margin-bottom: 10px;
  padding: 0;
  border-radius: 0;
  color: #8190a0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0.82;
}

.hero .eyebrow {
  position: relative;
  padding-left: 18px;
  color: var(--calm-blue-soft);
  opacity: 1;
}

.hero .eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--calm-blue);
  transform: translateY(-50%);
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(94, 132, 170, 0.76), rgba(131, 159, 190, 0.58));
  box-shadow: 0 1px 4px rgba(94, 132, 170, 0.14);
}

.section-label-light {
  color: #afc2d6;
}

.hero-copy {
  color: var(--navy);
  max-width: 640px;
  padding: 4px 0 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.hero-points-card {
  position: relative;
  width: min(640px, 100%);
  margin: 0;
  padding: 24px 30px 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 255, 0.95));
  border: 1px solid rgba(47, 134, 215, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 14px 30px rgba(17, 43, 69, 0.06);
  backdrop-filter: blur(12px);
}

.hero-points-card::before {
  content: "";
  position: absolute;
  inset: auto;
  top: 30px;
  left: 30px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(47, 134, 215, 0.86);
  box-shadow: 16px 0 0 rgba(47, 134, 215, 0.16);
}

.hero-points-label {
  margin: 0 0 14px;
  padding-left: 28px;
  color: #6e8298;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  align-self: start;
  width: 100%;
}

.hero-visual .hero-points-card {
  display: block;
}

.hero-title,
.section-heading h2,
.workflow-copy h2,
.cta-panel h2 {
  font-family: var(--font-heading);
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-title {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  font-weight: 800;
  max-width: none;
}

.hero-title span {
  display: block;
}

.hero-title-primary {
  color: #6a6480;
  max-width: none;
  font-size: clamp(1.56rem, 2.66vw, 2.3rem);
  line-height: 1.08;
  white-space: normal;
}

.hero-title-secondary {
  margin-top: 18px;
  color: var(--calm-blue-deep);
  font-size: clamp(1.06rem, 2.2vw, 1.82rem);
  font-weight: 700;
  line-height: 1.12;
  max-width: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.56);
  white-space: nowrap;
}

.hero-lead {
  max-width: 34.2rem;
  color: #6c6686;
  font-size: 0.96rem;
  line-height: 1.82;
  margin-bottom: 18px;
}

.hero-points {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  min-height: 0;
  padding: 0 0 0 28px;
  color: #5f7896;
  font-size: clamp(0.96rem, 1.55vw, 1.08rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(47, 134, 215, 0.92);
  box-shadow: none;
  transform: translateY(-50%);
}

.hero-illustration {
  position: relative;
  width: min(600px, 100%);
  margin-left: auto;
  padding: 10px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 243, 243, 0.98));
  border: 1px solid rgba(126, 126, 126, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 24px 56px rgba(44, 44, 44, 0.08);
}

.hero-illustration::before,
.hero-illustration::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(6px);
}

.hero-illustration::before {
  width: 96px;
  height: 96px;
  top: -16px;
  right: -12px;
  background: radial-gradient(circle, rgba(168, 168, 168, 0.16), transparent 72%);
}

.hero-illustration::after {
  width: 112px;
  height: 112px;
  left: -18px;
  bottom: -24px;
  background: radial-gradient(circle, rgba(210, 210, 210, 0.22), transparent 72%);
}

.hero-flow {
  position: relative;
  min-height: 336px;
  padding: 18px 16px 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 6%, rgba(218, 218, 218, 0.26), transparent 28%),
    linear-gradient(180deg, #fcfcfc 0%, #efefef 100%);
  border: 1px solid rgba(126, 126, 126, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 50px rgba(54, 54, 54, 0.08);
  overflow: hidden;
}

.hero-flow::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 22px;
  border: 1px solid rgba(150, 150, 150, 0.14);
  pointer-events: none;
}

.hero-flow::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 62%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(205, 205, 205, 0.72), rgba(214, 214, 214, 0.9));
  transform: translateX(-50%);
  filter: blur(0.2px);
}

.hero-flow-tabs {
  position: absolute;
  top: 18px;
  left: 58px;
  right: 58px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.hero-flow-tabs span {
  height: 24px;
  border-radius: 9px 9px 0 0;
  background: linear-gradient(180deg, rgba(222, 222, 222, 0.5), rgba(208, 208, 208, 0.24));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-flow-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 148, 148, 0.16);
  color: #6f6f73;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(54, 54, 54, 0.08);
}

.hero-flow-badge--price {
  top: 14px;
  left: 12px;
}

.hero-flow-badge--loan {
  top: 14px;
  right: 12px;
}

.hero-flow-badge--cost {
  top: 132px;
  right: 8px;
}

.hero-flow-badge--share {
  top: 128px;
  left: 0;
}

.hero-flow-core {
  position: relative;
  z-index: 2;
  width: min(100%, 364px);
  margin: 34px auto 0;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 239, 239, 0.96));
  border: 1px solid rgba(138, 138, 138, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 28px 52px rgba(54, 54, 54, 0.12);
}

.hero-flow-core::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 82%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(204, 204, 204, 0.18), rgba(196, 196, 196, 0.66));
  transform: translateX(-50%);
  z-index: -1;
}

.hero-flow-core::before {
  content: "";
  position: absolute;
  inset: 7px 7px auto;
  height: 12px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(248, 248, 248, 0.96), rgba(239, 239, 239, 0));
  pointer-events: none;
}

.hero-flow-desktop {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  min-height: 188px;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(224, 224, 224, 0.32), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(242, 242, 242, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(150, 150, 150, 0.14),
    0 16px 32px rgba(54, 54, 54, 0.08);
}

.hero-flow-desktop-sidebar {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 12px 0;
  background: linear-gradient(180deg, #8b84a4, #70698a);
}

.hero-flow-desktop-sidebar span {
  width: 26px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
}

.hero-flow-desktop-main {
  padding: 14px 16px 12px;
  background:
    radial-gradient(circle at top right, rgba(232, 232, 232, 0.48), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(244, 244, 244, 0.99));
}

.hero-flow-desktop-main > p,
.hero-flow-note > p {
  margin-bottom: 6px;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-flow-desktop-main > p {
  color: #7d7d82;
}

.hero-flow-desktop-main > strong,
.hero-flow-note > strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-number);
}

.hero-flow-desktop-main > strong {
  font-size: 1.62rem;
  line-height: 1.02;
  color: #55565b;
}

.hero-flow-desktop-main > span {
  display: block;
  max-width: 18rem;
  color: #78797e;
  font-size: 0.68rem;
  line-height: 1.35;
}

.hero-flow-desktop-toolbar {
  display: grid;
  grid-template-columns: 116px 1fr 30px;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.hero-flow-desktop-toolbar span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(203, 203, 203, 0.84), rgba(233, 233, 233, 0.96));
}

.hero-flow-desktop-toolbar .is-active {
  background: linear-gradient(90deg, rgba(150, 150, 150, 0.9), rgba(192, 192, 192, 0.96));
}

.hero-flow-desktop-toolbar .is-icon {
  width: 24px;
  height: 24px;
  justify-self: end;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(134, 134, 134, 0.6) 0 20%, transparent 24%),
    linear-gradient(180deg, rgba(240, 240, 240, 0.98), rgba(226, 226, 226, 0.96));
}

.hero-flow-desktop-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.hero-flow-desktop-fields span {
  display: block;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(170, 170, 170, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.hero-flow-desktop-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.hero-flow-desktop-lines span {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(186, 186, 186, 0.82), rgba(232, 232, 232, 0.96));
}

.hero-flow-desktop-lines span:nth-child(1) {
  width: 94%;
}

.hero-flow-desktop-lines span:nth-child(2) {
  width: 91%;
}

.hero-flow-desktop-lines span:nth-child(3) {
  width: 87%;
}

.hero-flow-desktop-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.hero-flow-desktop-chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(154, 154, 154, 0.16);
  color: #66676c;
  font-size: 0.66rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 18px rgba(64, 64, 64, 0.06);
}

.hero-flow-note {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 3;
  width: 194px;
  padding: 12px 13px 10px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 243, 243, 0.98));
  border: 1px solid rgba(148, 148, 148, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 28px 40px rgba(54, 54, 54, 0.14);
  transform: rotate(4deg);
  transform-origin: center bottom;
}

.hero-flow-note > p {
  color: #818287;
}

.hero-flow-note > strong {
  font-size: 1rem;
  color: #56575c;
}

.hero-flow-note::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 14px;
  border: 1px solid rgba(210, 210, 210, 0.3);
  pointer-events: none;
}

.hero-flow-note::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -6px;
  height: 10px;
  border-radius: 999px;
  background: rgba(176, 176, 176, 0.28);
  filter: blur(7px);
  z-index: -1;
}

.hero-flow-note-lines {
  display: grid;
  gap: 5px;
  margin-bottom: 8px;
}

.hero-flow-note-lines span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(190, 190, 190, 0.88), rgba(232, 232, 232, 0.96));
}

.hero-flow-note-lines span:nth-child(1) {
  width: 76%;
}

.hero-flow-note-lines span:nth-child(2) {
  width: 92%;
}

.hero-flow-note-lines span:nth-child(3) {
  width: 64%;
}

.hero-flow-note-metrics {
  display: grid;
}

.hero-flow-note-metrics div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
}

.hero-flow-note-metrics div + div {
  border-top: 1px solid rgba(170, 170, 170, 0.14);
}

.hero-flow-note-metrics span {
  color: #7b7c81;
  font-size: 0.62rem;
  font-weight: 700;
}

.hero-flow-note-metrics strong {
  color: #55565b;
  font-size: 0.74rem;
  font-family: var(--font-number);
}

.hero-metrics {
  margin-top: 0;
  padding: 50px 0 28px;
  background: linear-gradient(180deg, #fdfefe 0%, #fbfdff 100%);
}

.metrics-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.metrics-card {
  position: relative;
  min-height: 172px;
  padding: 22px 22px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-tint) 100%);
  border: 1px solid rgba(131, 145, 189, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    var(--card-shadow);
  overflow: hidden;
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.metrics-card::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(47, 134, 215, 0.18);
}

.metrics-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    var(--card-shadow-hover);
  border-color: rgba(123, 84, 232, 0.16);
}

.metrics-label {
  color: var(--content-accent);
  font-size: 0.8rem;
  font-weight: 700;
}

.metrics-value {
  margin: 8px 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: clamp(1.36rem, 2vw, 1.72rem);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--content-accent-deep);
  text-wrap: balance;
}

.metrics-value::before {
  content: none;
}

.metric-number {
  display: inline-block;
  flex: 1 1 auto;
}

.metric-number-wide {
  white-space: nowrap;
  font-size: 0.94em;
}

.accent-blue {
  border-top: 0;
}

.accent-blue .metrics-value::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cellipse cx='10' cy='5' rx='5.5' ry='2.5' stroke='%232d8fe3' stroke-width='1.6'/%3E%3Cpath d='M4.5 5v4c0 1.4 2.46 2.5 5.5 2.5s5.5-1.1 5.5-2.5V5' stroke='%232d8fe3' stroke-width='1.6'/%3E%3Cpath d='M4.5 9v4c0 1.4 2.46 2.5 5.5 2.5s5.5-1.1 5.5-2.5V9' stroke='%232d8fe3' stroke-width='1.6'/%3E%3C/svg%3E");
}

.accent-gold {
  border-top: 0;
}

.accent-gold .metrics-value::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Crect x='4.5' y='3.5' width='11' height='13' rx='2' stroke='%23c09255' stroke-width='1.6'/%3E%3Cpath d='M7.5 7.5h5M7.5 10.5h5M7.5 13.5h3' stroke='%23c09255' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M10 1.8v3.4M1.8 10h3.4M14.8 10h3.4' stroke='%23c09255' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.accent-teal {
  border-top: 0;
}

.accent-teal .metrics-value::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='6.2' cy='8' r='2.2' stroke='%2327b6ab' stroke-width='1.6'/%3E%3Ccircle cx='13.8' cy='8' r='2.2' stroke='%2327b6ab' stroke-width='1.6'/%3E%3Cpath d='M2.8 15.2c.5-2 2.05-3 3.4-3h.1c1.35 0 2.9 1 3.4 3M9.3 15.2c.5-2 2.05-3 3.4-3h.1c1.35 0 2.9 1 3.4 3' stroke='%2327b6ab' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.accent-peach {
  border-top: 4px solid var(--peach);
}

.accent-green {
  border-top: 4px solid var(--green);
}

.section {
  position: relative;
  padding: 80px 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 0%, rgba(214, 194, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(252, 252, 255, 0.99));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.section + .section {
  margin-top: 0;
}

.hero-metrics,
.cta-section {
  position: relative;
  isolation: isolate;
}

.hero-metrics,
#issues,
.system-map-section,
.faq {
  background:
    radial-gradient(circle at 90% 10%, rgba(214, 194, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(247, 249, 255, 0.92), rgba(255, 255, 255, 0.99));
}

#workflow,
#features,
#reasons,
.cta-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(252, 254, 255, 0.99));
}

#workflow,
.system-map-section,
#reasons {
  background:
    radial-gradient(circle at 8% 0%, rgba(214, 194, 255, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(244, 249, 255, 0.88), rgba(255, 255, 255, 0.98) 18%, rgba(252, 254, 255, 0.99) 100%);
}

.hero-metrics > .container,
.section > .container,
.cta-section > .container {
  position: relative;
  z-index: 1;
}

.hero-metrics > .container {
  padding-top: 28px;
}

.hero-metrics::before,
#issues::before,
#features::before,
#workflow::before,
.system-map-section::before,
#reasons::before,
#implementation::before,
.faq::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--container);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(146, 103, 234, 0.06) 10%, rgba(146, 103, 234, 0.14) 50%, rgba(146, 103, 234, 0.06) 90%, transparent 100%);
  z-index: 0;
}

.hero-metrics::after,
#issues::after,
#features::after,
#workflow::after,
.system-map-section::after,
#reasons::after,
#implementation::after,
.faq::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: var(--container);
  height: 28px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(146, 103, 234, 0.08), rgba(255, 255, 255, 0));
  opacity: 0.92;
  pointer-events: none;
  z-index: 0;
}

.section-muted {
  margin-top: 0;
}

.hero-metrics::before {
  content: "";
}

.faq {
  padding-top: 68px;
  padding-bottom: 60px;
}

.faq .section-heading {
  margin-bottom: 18px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 26px;
  text-align: left;
}

.hero-metrics .section-heading {
  padding-top: 0;
}

.section-heading h2,
.workflow-copy h2,
.cta-panel h2 {
  color: #4d4172;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 44rem;
  margin-inline: 0;
}

.section-heading p.section-copy-nowrap {
  max-width: none;
  white-space: nowrap;
}

.capabilities-copy span {
  display: block;
}

.capabilities-copy span:first-child {
  white-space: normal;
}

#features .section-heading p {
  max-width: 78rem;
  white-space: normal;
}

#implementation .section-heading p {
  max-width: 72rem;
}

.system-map-section .section-heading p {
  max-width: 64rem;
}

.system-map-section .section-heading {
  max-width: 980px;
}

.system-map-copy span {
  display: block;
}

.system-map-copy span:first-child,
.system-map-copy span:last-child {
  white-space: normal;
}

#continuity .section-heading p {
  max-width: 72rem;
}

.section-heading p,
.workflow-copy p,
.cta-panel p,
.step-card p,
.faq-list p,
.strength-card p,
.issue-card p {
  color: var(--ink-soft);
  line-height: 1.82;
}

.system-map-shell {
  margin-top: 24px;
  width: min(100%, 960px);
  margin-inline: auto;
  padding: 18px 16px 14px;
  border-radius: calc(var(--radius-xl) + 6px);
  background: #ffffff;
  border: 1px solid rgba(17, 43, 69, 0.08);
  box-shadow: 0 18px 40px rgba(52, 43, 82, 0.08);
}

.system-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.map-column {
  display: grid;
  gap: 6px;
}

.map-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.map-card {
  position: relative;
  min-height: 84px;
  padding: 12px 12px 10px;
  border-radius: 20px;
  background: #fff;
  border: 3px solid rgba(17, 43, 69, 0.12);
  box-shadow: 0 12px 28px rgba(17, 43, 69, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.map-card-link .map-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 9px;
  height: 9px;
  border-top: 1.5px solid rgba(123, 84, 232, 0.42);
  border-right: 1.5px solid rgba(123, 84, 232, 0.42);
  opacity: 0.72;
  transform: rotate(45deg);
  transition: opacity 180ms ease, border-color 180ms ease;
}

.map-card-link:hover .map-card,
.map-card-link:focus-visible .map-card {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(17, 43, 69, 0.1);
  border-color: rgba(123, 84, 232, 0.22);
}

.map-card-link:hover .map-card::after,
.map-card-link:focus-visible .map-card::after {
  opacity: 1;
  border-color: rgba(123, 84, 232, 0.72);
}

.map-card-link:focus-visible {
  outline: none;
}

.map-card h3 {
  margin-bottom: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.map-card-name {
  margin-bottom: 4px;
  color: #5e768f;
  font-family: var(--font-number);
  font-size: 0.72rem;
  font-weight: 800;
}

.map-card-copy {
  margin-top: 6px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.map-card-muted {
  border-color: #a8b8ca;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.map-card-indigo {
  border-color: #3c6dd6;
}

.map-card-resfa,
.map-card-recalc {
  border-color: var(--teal);
  background:
    radial-gradient(circle at top right, rgba(154, 105, 245, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(250, 246, 255, 0.98) 0%, rgba(244, 239, 255, 0.98) 100%);
  box-shadow:
    0 22px 42px rgba(123, 84, 232, 0.16),
    inset 0 0 0 1px rgba(123, 84, 232, 0.08);
  transform: translateY(-6px) scale(1.02);
}

.map-card-resfa .map-card-name,
.map-card-resfa h3,
.map-card-recalc .map-card-name,
.map-card-recalc h3 {
  color: #6a4fc6;
}

.map-card-resfa .map-card-copy,
.map-card-recalc .map-card-copy {
  color: #715ba7;
  font-weight: 700;
}

.map-card-sky {
  border-color: #8fb5f3;
}

.map-card-cyan {
  border-color: #2aa4f0;
}

.map-card-green {
  border-color: #5aaf99;
}

.map-card-purple {
  border-color: #8b6ae6;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 255, 0.98));
}

.map-card-dashed {
  border-style: dashed;
  border-color: rgba(17, 43, 69, 0.28);
  background: linear-gradient(180deg, rgba(250, 251, 253, 0.96), rgba(255, 255, 255, 0.98));
}

.map-card-brown {
  border-color: #b8824f;
}

.map-status,
.map-focus-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.map-status {
  margin-top: 8px;
  color: #736f9a;
  background: #ece5ff;
}

.map-focus-badge {
  position: absolute;
  top: -9px;
  right: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--brand-blue-deep));
  box-shadow: 0 12px 20px rgba(123, 84, 232, 0.2);
}

.map-link-label {
  position: relative;
  margin: 0;
  min-height: 24px;
  padding-top: 8px;
  color: #7e90a4;
  font-size: 0.7rem;
  text-align: center;
}

.map-link-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 8px;
  background: rgba(126, 144, 164, 0.64);
  transform: translateX(-50%);
}

.map-spacer {
  min-height: 24px;
}

.map-card-wide {
  width: min(38%, 420px);
  margin-top: 6px;
}

.map-focus-note {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(94, 132, 170, 0.08), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(94, 132, 170, 0.14);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.map-focus-note strong {
  color: var(--content-accent-deep);
  font-family: var(--font-number);
}

.strength-grid,
.issue-grid,
.step-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}

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

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

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

.strength-card,
.issue-card,
.step-card,
.board-card,
.faq-list details {
  position: relative;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, var(--surface-tint) 100%);
  border: 1px solid rgba(17, 43, 69, 0.08);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#reasons .issue-card {
  background: #ffffff;
}

.faq-list details {
  background: #ffffff;
}

.strength-card::before,
.issue-card::before,
.step-card::before,
.board-card::before,
.faq-list details::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(166, 146, 208, 0.14), rgba(146, 103, 234, 0.36), rgba(166, 146, 208, 0.14));
}

.strength-card:hover,
.issue-card:hover,
.step-card:hover,
.board-card:hover,
.faq-list details:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(123, 84, 232, 0.16);
}

.strength-card h3,
.issue-card h3,
.step-card h3,
.faq-list summary {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.strength-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.strength-card {
  padding: 26px 24px 24px;
  border-radius: 28px;
}

.strength-card h3 {
  margin-bottom: 10px;
}

.strength-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(94, 132, 170, 0.12), rgba(94, 132, 170, 0.04));
  border: 1px solid rgba(94, 132, 170, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.strength-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--content-accent);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strength-card p {
  margin-bottom: 0;
  line-height: 1.7;
}

.issue-index,
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 32px;
  margin-bottom: 16px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--content-accent-soft);
  color: var(--content-accent-deep);
  font-family: var(--font-number);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.issue-card ul {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

.issue-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  row-gap: 10px;
  align-items: center;
  padding: 20px 22px;
}

.issue-card h3 {
  margin: 0;
  color: var(--content-accent-deep);
}

.issue-index {
  min-width: 66px;
  min-height: 30px;
  margin-bottom: 0;
  font-size: 0.92rem;
}

.issue-card ul {
  grid-column: 1 / -1;
  margin-bottom: 12px;
  color: #4f657e;
}

.issue-card p {
  grid-column: 1 / -1;
  margin-bottom: 0;
  line-height: 1.6;
}

.section-closing {
  margin-top: 28px;
  font-size: 1.05rem;
  color: var(--navy);
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  justify-items: stretch;
}

.workflow-copy {
  width: 100%;
}

.workflow-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.workflow-points article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(94, 132, 170, 0.08);
  border: 1px solid rgba(94, 132, 170, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.workflow-points strong {
  display: block;
  margin-bottom: 8px;
  color: var(--content-accent-deep);
  font-family: var(--font-number);
}

.workflow-panel {
  margin-top: 18px;
  width: min(100%, 980px);
  margin-inline: auto;
  padding: 16px 18px 18px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.94));
  border: 1px solid rgba(17, 43, 69, 0.06);
  box-shadow: 0 18px 42px rgba(17, 43, 69, 0.05);
}

.workflow-sequence {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 18px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(247, 250, 254, 0.98), rgba(240, 246, 253, 0.96));
  border: 1px solid rgba(117, 149, 188, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 10px 24px rgba(73, 110, 154, 0.05);
  scrollbar-width: none;
}

.workflow-sequence::-webkit-scrollbar {
  display: none;
}

.workflow-step {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: max-content;
  padding: 0 22px;
  flex: 0 0 auto;
  white-space: nowrap;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 253, 0.97));
  border: 1px solid rgba(152, 179, 211, 0.22);
  color: #6d88ad;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 20px rgba(73, 110, 154, 0.06);
}

.workflow-step.is-active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(226, 237, 249, 0.98));
  border-color: rgba(111, 149, 194, 0.42);
  color: #4f72a6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 28px rgba(109, 144, 190, 0.16);
}

.workflow-step.is-link {
  background: linear-gradient(180deg, rgba(253, 253, 254, 0.98), rgba(245, 247, 250, 0.96));
  border-color: rgba(173, 184, 196, 0.2);
  color: #78889a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 8px 18px rgba(17, 43, 69, 0.03);
}

.workflow-arrow {
  position: relative;
  width: 30px;
  height: 16px;
  flex: 0 0 30px;
}

.workflow-arrow::before,
.workflow-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 11px;
  height: 11px;
  border-top: 2.5px solid rgba(118, 154, 198, 0.9);
  border-right: 2.5px solid rgba(118, 154, 198, 0.9);
  transform: translateY(-50%) rotate(45deg);
}

.workflow-arrow::after {
  right: 8px;
  opacity: 0.34;
}

.workflow-arrow::before {
  filter: drop-shadow(0 0 6px rgba(118, 154, 198, 0.18));
}

.workflow-arrow-muted::before,
.workflow-arrow-muted::after {
  border-top-color: rgba(150, 160, 171, 0.7);
  border-right-color: rgba(150, 160, 171, 0.7);
}

.workflow-arrow-muted::before {
  filter: none;
}

.workflow-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: transparent;
  border: 0;
}

.workflow-board .board-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(102px, 148px) minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  min-height: 104px;
  padding: 14px 14px 12px;
  border-radius: 22px;
  border: 1px solid rgba(118, 137, 172, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(17, 43, 69, 0.04);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95));
}

.workflow-board .board-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(94, 132, 170, 0.18), rgba(94, 132, 170, 0.48));
}

.workflow-board .board-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: -10px;
  width: 2px;
  height: 10px;
  background: linear-gradient(180deg, rgba(94, 132, 170, 0.26), rgba(94, 132, 170, 0));
}

.board-card p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  width: fit-content;
  margin: 0;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(94, 132, 170, 0.14), rgba(94, 132, 170, 0.08));
  color: var(--content-accent-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: start;
}

.board-card strong {
  display: block;
  margin-bottom: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: balance;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
}

.board-card span,
.board-card ul {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.46;
  font-size: 0.9rem;
}

.board-card ul {
  padding-left: 1.2rem;
}

.board-card-accent {
  position: relative;
  background: linear-gradient(135deg, rgba(247, 249, 255, 0.98), rgba(252, 253, 255, 0.96)) !important;
  border-color: rgba(100, 122, 168, 0.14) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 18px 40px rgba(64, 98, 140, 0.06);
}

.board-card-accent p,
.board-card-accent strong,
.board-card-accent span {
  color: inherit !important;
}

.workflow-board .board-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 18px 42px rgba(17, 43, 69, 0.07);
  border-color: rgba(123, 84, 232, 0.16);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  align-items: stretch;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding-right: 40px;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--content-accent);
  font-family: var(--font-number);
  font-size: 1.4rem;
}

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

.cta-section {
  padding: 0 0 80px;
}

.cta-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 18%, rgba(214, 194, 255, 0.14), transparent 22%),
    radial-gradient(circle at 84% 16%, rgba(154, 105, 245, 0.1), transparent 20%),
    linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
  color: var(--navy);
  border: 1px solid rgba(100, 122, 168, 0.12);
  box-shadow: 0 20px 44px rgba(52, 43, 82, 0.08);
  overflow: hidden;
}

.cta-section .container {
  max-width: 1080px;
}

.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.cta-panel::before {
  width: 220px;
  height: 220px;
  right: -80px;
  top: -90px;
  background: radial-gradient(circle, rgba(173, 134, 247, 0.1), transparent 70%);
}

.cta-panel::after {
  width: 180px;
  height: 180px;
  left: -60px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(214, 194, 255, 0.12), transparent 70%);
}

.cta-panel h2 {
  color: #5a4d83;
  font-size: clamp(1.42rem, 2.55vw, 2.18rem);
  text-align: center;
}

.cta-panel p {
  max-width: 720px;
  color: rgba(88, 74, 131, 0.78);
  text-align: center;
}

.cta-panel .section-label-light {
  display: block;
  color: #7b54e8;
  text-align: center;
}

.cta-panel .button-ghost-dark {
  border-color: rgba(123, 84, 232, 0.18);
  color: var(--brand-blue-deep);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 255, 0.92));
  box-shadow:
    0 14px 28px rgba(123, 84, 232, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-panel .cta-actions {
  justify-content: center;
  width: 100%;
  gap: 18px;
}

.cta-panel .cta-actions .button {
  min-width: 224px;
  padding-inline: 34px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.reci-products-site-footer {
  margin-top: 12px;
  background: #3e3757;
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(52, 43, 82, 0.24);
}

.reci-products-footer-nav-band {
  background: linear-gradient(135deg, #8d63ef 0%, #6b48cb 100%);
}

.reci-products-footer-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.reci-products-footer-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 12px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background-color 180ms ease, color 180ms ease;
}

.reci-products-footer-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.reci-products-footer-nav a + a {
  position: relative;
}

.reci-products-footer-nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.42);
  transform: translateY(-50%);
}

.reci-products-footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.reci-products-footer-company {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.9rem;
}

.reci-products-footer-company:hover {
  color: #fff;
}

.reci-products-footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  text-align: right;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .workflow-grid,
  .cta-panel {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-visual {
    width: 100%;
    justify-content: center;
  }

  .hero-illustration {
    margin-inline: auto;
  }

  .hero-flow {
    min-height: 318px;
  }

  .hero-flow-tabs {
    left: 44px;
    right: 44px;
  }

  .hero-flow-note {
    right: 14px;
    bottom: 12px;
  }

  .hero-points-card {
    width: 100%;
    padding: 28px 30px 24px;
  }

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

  .hero-copy {
    padding-right: 0;
  }

  .hero-title-primary {
    white-space: normal;
  }

  .hero-title-secondary {
    font-size: clamp(1rem, 2.1vw, 1.54rem);
    white-space: nowrap;
  }

  #features .section-heading p {
    white-space: normal;
  }

  .capabilities-copy span:first-child {
    white-space: normal;
  }

  .system-map-copy span:first-child,
  .system-map-copy span:last-child {
    white-space: normal;
  }

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

  .map-card-wide {
    width: min(100%, 520px);
  }

  .reci-products-footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .menu-button {
    display: inline-block;
  }

  .header-panel {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(17, 43, 69, 0.12);
  }

  .header-panel.is-open {
    display: flex;
  }

  .global-nav,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .workflow-points,
  .workflow-board,
  .metrics-panel-grid,
  .system-map-grid,
  .strength-grid,
  .issue-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .hero-flow {
    min-height: 0;
    padding: 60px 12px 14px;
  }

  .hero-flow-tabs {
    left: 36px;
    right: 36px;
    top: 22px;
  }

  .hero-flow-tabs span {
    height: 22px;
  }

  .hero-flow-core {
    width: min(100%, 350px);
    margin-top: 0;
  }

  .hero-flow-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(194px, 68%);
    margin: -4px 0 0 auto;
    transform: rotate(2deg);
  }

  .hero-flow-badge {
    min-width: 62px;
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.68rem;
  }

  .hero-flow-badge--price {
    top: 16px;
    left: 16px;
  }

  .hero-flow-badge--loan {
    top: 16px;
    right: 16px;
  }

  .hero-flow-badge--share {
    top: 72px;
    left: 10px;
  }

  .hero-flow-badge--cost {
    top: 72px;
    right: 10px;
  }

  .hero-flow-desktop-toolbar {
    grid-template-columns: 92px 1fr 28px;
    gap: 8px;
  }

  .hero-flow-desktop-fields {
    gap: 10px;
  }

  .system-map-shell {
    padding: 22px;
  }

  .map-card {
    min-height: auto;
  }

  .map-card-resfa {
    transform: none;
  }

  .map-link-label,
  .map-spacer {
    min-height: 0;
  }

  .map-link-label {
    padding-top: 12px;
    padding-bottom: 6px;
  }

  .map-card-wide {
    width: 100%;
  }

  .workflow-panel {
    padding: 10px;
  }

  .workflow-sequence {
    padding-inline: 12px;
  }

  .workflow-board .board-card {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px 16px 14px;
  }

  .workflow-board .board-card::before {
    top: 14px;
    bottom: 14px;
  }

  .workflow-board .board-card::after {
    display: none;
  }

  .board-card p,
  .board-card strong,
  .board-card span,
  .board-card ul {
    grid-column: auto;
    grid-row: auto;
  }

  .board-card p {
    margin-bottom: 4px;
  }

  .reci-products-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reci-products-footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .reci-products-footer-copy {
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 24px, 1200px);
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .cta-section {
    padding-bottom: 56px;
  }

  .hero-title,
  .section-heading h2,
  .workflow-copy h2,
  .cta-panel h2 {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

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

  .hero-title-secondary {
    font-size: clamp(0.92rem, 4vw, 1.18rem);
    white-space: nowrap;
  }

  .hero-points-card {
    padding: 22px 18px 20px;
    border-radius: 28px;
  }

  .hero-points-card::before {
    top: 26px;
    left: 18px;
    width: 12px;
    height: 12px;
    box-shadow: 18px 0 0 rgba(47, 134, 215, 0.18);
  }

  .hero-points-label {
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 0.76rem;
  }

  .hero-points {
    gap: 12px;
  }

  .hero-points li {
    padding-left: 24px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-points li::before {
    width: 12px;
    height: 12px;
    top: 0.72rem;
  }

  .hero-illustration {
    padding: 12px;
    border-radius: 26px;
  }

  .hero-flow {
    padding: 54px 8px 12px;
    border-radius: 24px;
  }

  .hero-flow-tabs {
    left: 20px;
    right: 20px;
    top: 18px;
  }

  .hero-flow-tabs span {
    height: 18px;
    border-radius: 8px 8px 0 0;
  }

  .hero-flow::before {
    inset: 12px;
    border-radius: 20px;
  }

  .hero-flow-core {
    padding: 10px;
    border-radius: 22px;
  }

  .hero-flow-desktop {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 170px;
    border-radius: 22px;
  }

  .hero-flow-desktop-main {
    padding: 12px 12px 10px;
  }

  .hero-flow-desktop-main > strong {
    font-size: 1.42rem;
  }

  .hero-flow-desktop-main > span {
    font-size: 0.74rem;
  }

  .hero-flow-desktop-toolbar {
    grid-template-columns: 74px 1fr 24px;
    gap: 6px;
    margin-top: 14px;
  }

  .hero-flow-desktop-toolbar span {
    height: 10px;
  }

  .hero-flow-desktop-toolbar .is-icon {
    width: 24px;
    height: 24px;
    border-radius: 10px;
  }

  .hero-flow-desktop-fields {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-flow-desktop-fields span {
    height: 28px;
    border-radius: 8px;
  }

  .hero-flow-desktop-chips {
    gap: 8px;
    margin-top: 8px;
  }

  .hero-flow-desktop-chips span {
    min-height: 28px;
    font-size: 0.62rem;
  }

  .hero-flow-badge {
    min-width: 56px;
    min-height: 32px;
    padding: 0 9px;
    border-radius: 14px;
    font-size: 0.58rem;
  }

  .hero-flow-badge--share,
  .hero-flow-badge--cost {
    top: 64px;
  }

  .hero-flow-note {
    width: min(178px, 82%);
    padding: 10px 10px 9px;
    border-radius: 18px;
  }

  .hero-flow-note > strong {
    font-size: 0.88rem;
  }

  .button,
  .header-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .reci-products-footer-nav {
    grid-template-columns: 1fr;
  }

  .reci-products-footer-nav a {
    min-height: 52px;
    justify-content: flex-start;
    padding: 0 18px;
    text-align: left;
  }

  .reci-products-footer-nav a + a::before {
    top: 0;
    left: 18px;
    width: calc(100% - 36px);
    height: 1px;
    transform: none;
  }
}
