:root {
  --ink: #0a1723;
  --navy: #061827;
  --navy-2: #082238;
  --line: #d8e0e5;
  --soft-line: #e7ecef;
  --green: #007a4d;
  --green-2: #18a96e;
  --orange: #ff5b13;
  --white: #ffffff;
  --muted: #65717b;
  --content-width: 980px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 941px;
  margin: 0 auto;
  padding: 0 35px;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 20px;
  border-radius: 5px;
  background: var(--orange);
  font-weight: 800;
  font-size: 14px;
}

.menu-button {
  width: 29px;
  height: 27px;
  display: grid;
  gap: 5px;
  padding: 3px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 496px;
  height: 496px;
  padding-top: 68px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% -20%, rgba(18, 119, 174, 0.35), transparent 35%),
    linear-gradient(130deg, #06121f 0%, #071a2a 48%, #08243b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 345px;
  height: 245px;
  top: 118px;
  left: 242px;
  transform: rotate(-33deg);
  border-radius: 24px;
  background: rgba(13, 69, 102, 0.35);
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(153deg, transparent 48%, rgba(42, 144, 199, 0.22) 49%, transparent 50%),
    linear-gradient(154deg, transparent 54%, rgba(42, 144, 199, 0.18) 55%, transparent 56%),
    linear-gradient(156deg, transparent 59%, rgba(42, 144, 199, 0.14) 60%, transparent 61%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 325px minmax(0, 1fr);
  gap: 6px;
  max-width: 872px;
  margin: 0 auto;
}

.hero-copy h1 {
  margin: 0 0 17px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
  animation: hero-rise 0.72s var(--ease-out) both;
}

.hero-copy h1 span:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy h1 span:nth-child(3) {
  animation-delay: 0.16s;
}

.lead {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.62;
  font-weight: 700;
  animation: fade-rise 0.72s var(--ease-out) 0.24s both;
}

.hero-note {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.62;
  animation: fade-rise 0.72s var(--ease-out) 0.32s both;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 13px;
  animation: fade-rise 0.72s var(--ease-out) 0.4s both;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 40px;
  padding: 0 19px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.24s var(--ease-soft), box-shadow 0.24s var(--ease-soft), border-color 0.24s var(--ease-soft);
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #ff7024, #ff4f0a);
  box-shadow: 0 10px 22px rgba(255, 91, 19, 0.26);
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: -65% auto -65% -35%;
  z-index: 0;
  width: 48%;
  pointer-events: none;
  opacity: 0.55;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  animation: cta-shine 4.8s ease-in-out 1.2s infinite;
}

.button span {
  display: inline-block;
  transition: transform 0.24s var(--ease-soft);
}

.button:hover span,
.button:focus-visible span {
  transform: translateX(4px);
}

.button-outline {
  color: #ffffff;
  background: rgba(8, 30, 48, 0.35);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  animation: fade-rise 0.72s var(--ease-out) 0.48s both;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 10px;
}

.hero-tags span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #d9f4ff;
}

.dashboard-visual {
  position: relative;
  z-index: 1;
  margin: 0;
  animation: dashboard-enter 0.9s var(--ease-out) 0.34s both;
}

.dashboard-panel {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  min-height: 378px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(201, 224, 238, 0.34);
  background:
    linear-gradient(145deg, rgba(14, 40, 62, 0.93), rgba(9, 27, 44, 0.92)),
    radial-gradient(circle at 95% 0%, rgba(31, 125, 178, 0.26), transparent 42%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.dashboard-menu {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 8px;
  font-weight: 800;
}

.dashboard-menu b {
  margin-bottom: 9px;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
}

.dashboard-menu span {
  min-height: 21px;
  display: flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 5px;
}

.dashboard-menu .active {
  color: #ffffff;
  background: rgba(37, 126, 184, 0.72);
}

.dashboard-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.dashboard-heading,
.dashboard-row,
.dashboard-metrics,
.dashboard-review {
  min-width: 0;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}

.dashboard-heading strong {
  display: block;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.2;
}

.dashboard-heading p,
.dashboard-panel p,
.dashboard-panel ul {
  margin: 0;
}

.dashboard-heading p {
  color: rgba(255, 255, 255, 0.63);
  font-size: 8px;
  font-weight: 800;
}

.dashboard-heading em {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  color: #83ffd0;
  border: 1px solid rgba(76, 206, 154, 0.45);
  background: rgba(16, 113, 78, 0.2);
  font-style: normal;
  font-size: 7px;
  font-weight: 900;
}

.dashboard-row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 8px;
}

.dashboard-row section,
.dashboard-metrics section,
.dashboard-review {
  border: 1px solid rgba(201, 224, 238, 0.24);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
}

.dashboard-row section,
.dashboard-metrics section {
  padding: 10px;
}

.dashboard-panel h2 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  line-height: 1.25;
}

.dashboard-panel li,
.dashboard-panel p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 8px;
  line-height: 1.65;
  font-weight: 700;
}

.dashboard-panel ul {
  list-style: none;
  padding: 0;
}

.dashboard-panel li {
  position: relative;
  padding-left: 12px;
}

.dashboard-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #41d6a0;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr 1fr;
  gap: 8px;
}

.dashboard-metrics b {
  color: #ffffff;
  font-size: 11px;
}

.score-card {
  text-align: center;
}

.score-arc {
  width: 56px;
  height: 29px;
  margin: 0 auto 3px;
  border-radius: 56px 56px 0 0;
  border: 7px solid transparent;
  border-bottom: 0;
  background:
    linear-gradient(rgba(12, 31, 50, 0.95), rgba(12, 31, 50, 0.95)) padding-box,
    conic-gradient(from 270deg at 50% 100%, #20c879 0deg, #20c879 58deg, #ffc342 58deg, #ffc342 102deg, #ff682e 102deg, #ff682e 180deg, transparent 180deg) border-box;
}

.score-card > strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.2;
}

.dashboard-review {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
}

.dashboard-review span {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 999px;
  color: #06243a;
  background: #ffffff;
  font-size: 8px;
  font-weight: 900;
  text-align: center;
}

.dashboard-review b {
  color: rgba(255, 255, 255, 0.84);
  font-size: 9px;
  text-align: right;
}

.section {
  max-width: var(--content-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--soft-line);
}

.section h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 900;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 35px;
  margin-bottom: 16px;
}

.section-head p {
  margin: 0 0 2px;
  color: #33414c;
  font-size: 13px;
  font-weight: 800;
}

.split-head {
  justify-content: center;
}

.center {
  text-align: center;
}

.problems {
  padding: 22px 0 20px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.icon-card,
.feature-card,
.reason-card,
.flow-card,
.ability-grid article,
.case-grid article {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
  transition: transform 0.24s var(--ease-soft), border-color 0.24s var(--ease-soft), box-shadow 0.24s var(--ease-soft), background-color 0.24s var(--ease-soft);
}

.icon-card:hover,
.feature-card:hover,
.reason-card:hover,
.flow-card:hover,
.ability-grid article:hover,
.case-grid article:hover {
  transform: translateY(-3px);
  border-color: #b9ccd4;
  box-shadow: 0 12px 24px rgba(6, 24, 39, 0.08);
}

.icon-card {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 14px 12px;
  text-align: center;
}

.icon-card h3,
.feature-card h3,
.reason-card h3,
.flow-card h3,
.ability-grid h3,
.case-grid h3 {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 900;
}

.card-icon,
.flow-icon,
.ability-icon,
.case-icon {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-bottom: 6px;
  mix-blend-mode: multiply;
}

.icon-green {
  width: 36px;
  height: 36px;
}

.fit {
  padding: 18px 18px 22px;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  min-height: 104px;
  display: grid;
  justify-items: center;
  padding: 14px 18px 12px;
  text-align: center;
}

.feature-card p,
.reason-card p,
.flow-card p,
.ability-grid p,
.case-grid p {
  margin: 7px 0 0;
  color: #3a4751;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 700;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 42px;
  padding: 20px 0 32px;
}

.proof h2 {
  margin-bottom: 14px;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reason-card {
  min-height: 130px;
  padding: 12px 10px 11px;
  text-align: center;
}

.reason-card .card-icon {
  margin: 0 auto 6px;
  width: 27px;
  height: 27px;
}

.proof-right h2 {
  text-align: center;
}

.compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  row-gap: 16px;
}

.compare-card {
  min-height: 128px;
  padding: 16px 18px;
  border: 1px solid #bfcbd2;
  border-radius: 7px;
  background: #f6f7f8;
}

.compare-card.green {
  border-color: #37a773;
  background: #f3fcf7;
}

.compare-card h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.building {
  float: left;
  margin: 8px 16px 24px 0;
  color: #8e9ca4;
  font-size: 34px;
  line-height: 1;
}

.compare-card ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.compare-card li {
  margin: 6px 0;
  font-size: 10px;
  font-weight: 800;
}

.compare-card.gray li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #697680;
  vertical-align: 1px;
}

.compare-card.green li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: -3px;
  background: url("assets/icons/check-circle.png") center / contain no-repeat;
}

.vs {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 -1px;
  border-radius: 50%;
  color: #ffffff;
  background: #061827;
  font-weight: 900;
  z-index: 1;
}

.compare-note {
  min-height: 30px;
  display: grid;
  place-items: center;
  margin: 18px 52px 0;
  padding: 9px 14px;
  border: 1px solid #cbd4d9;
  border-radius: 5px;
  background: #ffffff;
  font-size: 10px;
  line-height: 1.45;
  font-weight: 800;
  text-align: center;
}

.flow-abilities {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  padding: 26px 0 30px;
}

.flow-block,
.abilities-block {
  min-width: 0;
}

.flow-block h2,
.abilities-block h2 {
  margin-bottom: 12px;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(124px, 1fr) 22px minmax(124px, 1fr) 22px minmax(124px, 1fr);
  align-items: center;
  gap: 8px;
}

.flow-card {
  position: relative;
  min-height: 174px;
  padding: 34px 12px 14px;
  text-align: center;
}

.step {
  position: absolute;
  top: -8px;
  left: 8px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.flow-icon {
  width: 42px;
  height: 42px;
  margin: 12px auto 0;
}

.flow-arrow {
  color: #27333b;
  font-size: 38px;
  line-height: 1;
  text-align: center;
  animation: arrow-nudge-x 2.8s ease-in-out infinite;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ability-grid article {
  min-height: 96px;
  padding: 12px 10px;
  text-align: center;
}

.ability-icon {
  width: 25px;
  height: 25px;
  margin: 0 auto 4px;
}

.cases-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
  padding: 24px 0 24px;
}

.about {
  min-width: 0;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.case-grid article {
  min-height: 128px;
  padding: 12px 10px;
}

.case-icon {
  width: 25px;
  height: 25px;
  margin: 0 0 3px;
}

.case-grid b {
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  padding: 0 8px;
  margin-top: 7px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  font-size: 9px;
}

.about-main {
  display: grid;
  grid-template-columns: 1fr 184px;
  gap: 20px;
  align-items: start;
  margin-top: 12px;
}

.about-main p {
  margin: 0 0 4px;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 700;
}

.about-main img {
  display: block;
  width: 184px;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
  transition: transform 0.38s var(--ease-soft), box-shadow 0.38s var(--ease-soft);
}

.about-main img:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 12px 26px rgba(6, 24, 39, 0.13);
}

.about-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.about-badges span {
  min-height: 48px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #18313e;
  font-size: 9px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}

.about-badges span::before {
  content: "";
  display: block;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: url("assets/icons/check-circle.png") center / contain no-repeat;
}

.diagnosis-cta {
  max-width: 880px;
  margin: 10px auto 0;
  display: grid;
  grid-template-columns: 0.92fr 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #ffffff;
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.32;
  font-weight: 900;
}

.cta-copy p {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
}

.diagnosis-form {
  display: grid;
  gap: 7px;
}

.google-form-card {
  padding: 14px 16px;
  border: 1px solid #d8e0e4;
  border-radius: 6px;
  background: #f8fbfa;
}

.google-form-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
}

.google-form-card p {
  margin: 0;
  color: #2b3b45;
  font-size: 11px;
  line-height: 1.65;
  font-weight: 800;
}

.google-form-card ul {
  margin: 9px 0 0;
  padding: 0;
  list-style: none;
}

.google-form-card li {
  margin: 2px 0;
  font-size: 10px;
  font-weight: 900;
}

.google-form-card li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 7px;
  vertical-align: -3px;
  background: url("assets/icons/check-circle.png") center / contain no-repeat;
}

.cta-submit {
  display: grid;
  justify-items: start;
}

.cta-submit .button {
  width: 100%;
  min-height: 38px;
  margin-bottom: 7px;
}

.cta-submit p {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
}

.cta-submit ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cta-submit li {
  margin: 1px 0;
  font-size: 10px;
  font-weight: 800;
}

.cta-submit li::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  vertical-align: -2px;
  background: url("assets/icons/check-circle.png") center / contain no-repeat;
}

.site-footer {
  color: #ffffff;
  background:
    radial-gradient(circle at 85% -40%, rgba(20, 119, 171, 0.25), transparent 35%),
    linear-gradient(135deg, #061421, #071d2f);
  padding: 21px 35px 8px;
}

.footer-inner {
  max-width: 872px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1.18fr 1.15fr 0.9fr 1.9fr;
  gap: 24px;
}

.footer-brand {
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,0.18);
}

.footer-brand p {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 800;
}

.site-footer h2 {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 900;
}

.site-footer nav {
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.18);
}

.site-footer nav a {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.85;
}

.site-footer nav a::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 4px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 2px;
}

.site-footer address {
  margin: 0;
  padding-left: 8px;
  border-left: 1px solid rgba(255,255,255,0.18);
  font-style: normal;
}

.site-footer address p {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.copyright {
  max-width: 872px;
  margin: 12px auto 0;
  color: rgba(255,255,255,0.56);
  text-align: center;
  font-size: 9px;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dashboard-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cta-shine {
  0%,
  55% {
    transform: translateX(0) rotate(18deg);
  }
  78%,
  100% {
    transform: translateX(330%) rotate(18deg);
  }
}

@keyframes arrow-nudge-x {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@keyframes arrow-nudge-y {
  0%,
  100% {
    transform: rotate(90deg) translateX(0);
  }
  50% {
    transform: rotate(90deg) translateX(4px);
  }
}

@keyframes section-reveal {
  from {
    opacity: 0.78;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@supports (animation-timeline: view()) {
  .section,
  .diagnosis-cta,
  .site-footer {
    animation: section-reveal both;
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0 22px;
  }

  .hero {
    padding: 78px 22px 28px;
    height: auto;
    min-height: auto;
  }

  .hero-inner,
  .section,
  .diagnosis-cta,
  .footer-inner {
    max-width: 100%;
  }

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

  .dashboard-visual {
    max-width: 610px;
    margin: 0 auto;
  }

  .section {
    margin: 0 22px;
  }

  .problem-grid,
  .fit-grid,
  .reason-grid,
  .ability-grid,
  .case-grid,
  .about-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof,
  .flow-abilities,
  .cases-about,
  .diagnosis-cta,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-main {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  }

  .about-main img {
    width: 100%;
    max-width: 320px;
  }

  .about-badges span {
    min-height: 56px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 9px 12px;
    text-align: left;
  }

  .about-badges span::before {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .flow-card {
    padding-top: 38px;
  }

  .flow-card .step {
    top: 12px;
    left: 12px;
  }

  .section-head {
    display: block;
    text-align: center;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
  }

  .brand {
    font-size: 24px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-buttons {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .dashboard-visual,
  .hero-inner,
  .hero-copy {
    min-width: 0;
  }

  .dashboard-panel {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 7px;
    min-height: auto;
    padding: 8px;
  }

  .dashboard-menu {
    gap: 5px;
    padding: 8px 5px;
    font-size: 6px;
  }

  .dashboard-menu b {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .dashboard-menu span {
    min-height: 16px;
    padding: 0 4px;
    border-radius: 4px;
  }

  .dashboard-main {
    gap: 6px;
  }

  .dashboard-heading {
    gap: 6px;
  }

  .dashboard-heading strong {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .dashboard-heading p,
  .dashboard-heading em {
    font-size: 6px;
  }

  .dashboard-row,
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .dashboard-row section,
  .dashboard-metrics section {
    padding: 7px;
  }

  .dashboard-panel h2 {
    margin-bottom: 5px;
    font-size: 7px;
  }

  .dashboard-panel li,
  .dashboard-panel p {
    font-size: 6px;
    line-height: 1.55;
  }

  .dashboard-metrics b {
    font-size: 8px;
  }

  .score-arc {
    width: 44px;
    height: 23px;
    border-width: 5px;
  }

  .score-card > strong {
    font-size: 10px;
  }

  .dashboard-review {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
  }

  .dashboard-review span {
    min-height: 34px;
    font-size: 6px;
  }

  .dashboard-review b {
    display: none;
  }

  .problem-grid,
  .fit-grid,
  .reason-grid,
  .ability-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .cases-about {
    gap: 18px;
    padding-bottom: 14px;
  }

  .about-main {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 8px;
  }

  .about-main p {
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.7;
  }

  .about-main img {
    width: 100%;
    max-width: 292px;
  }

  .about-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .about-badges span {
    min-height: 56px;
    gap: 7px;
    padding: 8px 10px;
    text-align: left;
  }

  .compare {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vs {
    margin: 0 auto;
  }

  .compare-note {
    margin: 0;
    padding: 8px;
  }

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

  .flow-card {
    padding-top: 38px;
  }

  .flow-card .step {
    top: 12px;
    left: 12px;
  }

  .flow-arrow {
    animation-name: arrow-nudge-y;
    font-size: 30px;
    margin: 6px 0;
  }

  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}
