:root {
  --bg: #f7fbff;
  --paper: #ffffff;
  --paper-soft: #f1f7ff;
  --ink: #0b1b3b;
  --muted: #5f7194;
  --line: #dce8f8;
  --blue: #075fc7;
  --blue-dark: #03469a;
  --blue-soft: #e8f3ff;
  --violet: #7257f6;
  --navy: #141029;
  --green: #2bbf7a;
  --amber: #f3b23b;
  --shadow: 0 18px 45px rgba(32, 77, 130, 0.12);
  --shadow-soft: 0 10px 28px rgba(32, 77, 130, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(49, 142, 246, 0.13), transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

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

img,
svg {
  display: block;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(187, 209, 238, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--blue-dark);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 24px rgba(7, 95, 199, 0.22);
}

.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-mark path {
  fill: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--blue);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(7, 95, 199, 0.2);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-dark);
  border-radius: 999px;
}

.section-pad {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
}

h2 {
  max-width: 820px;
  font-size: clamp(25px, 3.1vw, 38px);
  font-weight: 900;
}

h3 {
  font-size: 19px;
  font-weight: 900;
}

.lead,
.section-heading p,
.intro-copy p,
.feature-card p,
.problem-card p,
.role-card p,
.security-grid p,
.roi-grid p,
.demo-points p,
.flow-list p,
.site-footer p {
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 38px;
  align-items: center;
  min-height: 680px;
  padding-top: 74px;
  padding-bottom: 74px;
}

.hero .lead {
  max-width: 680px;
  margin: 20px 0 0;
  font-size: 17px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 14px 28px rgba(7, 95, 199, 0.23);
}

.btn-secondary {
  color: var(--blue);
  border-color: #9bc4f4;
  background: #ffffff;
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.hero-points li {
  padding: 8px 11px;
  color: var(--blue-dark);
  background: rgba(232, 243, 255, 0.9);
  border: 1px solid #cbe1fb;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  border: 1px solid #cfe4fb;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 244, 255, 0.82)),
    radial-gradient(circle at 72% 16%, rgba(92, 187, 255, 0.35), transparent 17rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-screen {
  position: absolute;
  inset: 18px;
  z-index: 1;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: cover;
  object-position: 50% 50%;
  border: 1px solid #d7e5f6;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(21, 39, 77, 0.14);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(180deg, transparent 52%, rgba(7, 95, 199, 0.08));
  pointer-events: none;
  z-index: 2;
}

.image-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: 180px;
  padding: 24px;
  text-align: center;
  border: 1px dashed #8fc2f4;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(232, 243, 255, 0.82)),
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(7, 95, 199, 0.045) 12px 24px);
}

.image-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--blue);
  background: #ffffff;
  border: 1px solid #c7e1fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.image-placeholder strong {
  color: var(--ink);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.35;
}

.image-placeholder p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.image-placeholder small {
  color: #7a8fad;
  font-size: 12px;
  font-weight: 800;
}

.hero-image-placeholder {
  position: absolute;
  inset: 44px 34px;
  min-height: auto;
  padding-right: 190px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.hero-image-placeholder strong {
  font-size: clamp(20px, 1.8vw, 24px);
  white-space: nowrap;
}

.secretary-illustration {
  position: absolute;
  inset: 0;
}

.halo-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(9, 103, 209, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 103, 209, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 64% 40%, black 0%, transparent 72%);
}

.person {
  position: absolute;
  right: 118px;
  bottom: 88px;
  width: 172px;
  height: 270px;
}

.person span {
  position: absolute;
  display: block;
}

.hair.back {
  left: 32px;
  top: 4px;
  width: 118px;
  height: 192px;
  border-radius: 70px 70px 42px 42px;
  background: linear-gradient(110deg, #2f211d, #6a473c 50%, #201717);
  box-shadow: inset -14px 0 20px rgba(0, 0, 0, 0.18);
}

.face {
  left: 52px;
  top: 34px;
  width: 82px;
  height: 102px;
  border-radius: 48% 48% 46% 46%;
  background: #ffd9c8;
  box-shadow: inset 0 -8px 0 rgba(214, 118, 90, 0.14);
}

.face::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 43px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1d2537;
  box-shadow: 34px 0 0 #1d2537;
}

.face::after {
  content: "";
  position: absolute;
  left: 32px;
  top: 72px;
  width: 22px;
  height: 10px;
  border-bottom: 3px solid #b55d5f;
  border-radius: 0 0 22px 22px;
}

.hair.front {
  left: 43px;
  top: 12px;
  width: 98px;
  height: 58px;
  border-radius: 80px 80px 16px 40px;
  background: linear-gradient(135deg, #5c3f36, #2a1e1b);
  transform: rotate(-5deg);
}

.neck {
  left: 79px;
  top: 127px;
  width: 34px;
  height: 34px;
  background: #f4c0ac;
  border-radius: 0 0 16px 16px;
}

.jacket.left,
.jacket.right {
  top: 152px;
  width: 88px;
  height: 132px;
  background: linear-gradient(145deg, #0e376f, #061c44);
  border-radius: 34px 10px 10px 10px;
}

.jacket.left {
  left: 13px;
  transform: skewX(-10deg);
}

.jacket.right {
  right: 13px;
  transform: skewX(10deg);
}

.shirt {
  left: 62px;
  top: 152px;
  width: 54px;
  height: 126px;
  background: linear-gradient(180deg, #ffffff, #e9f2fb);
  clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%);
}

.hand {
  left: 56px;
  top: 126px;
  width: 32px;
  height: 58px;
  border-radius: 22px;
  background: #f6c7b4;
  transform: rotate(-26deg);
  box-shadow: 14px 26px 0 -8px #f0b9a4;
}

.laptop {
  position: absolute;
  right: 52px;
  bottom: 52px;
  width: 186px;
  height: 112px;
  background: linear-gradient(145deg, #b8c9d7, #667e91);
  border-radius: 8px 8px 4px 4px;
  transform: perspective(500px) rotateX(3deg) rotateY(-9deg);
  box-shadow: 0 18px 30px rgba(38, 80, 124, 0.24);
}

.laptop span {
  position: absolute;
  left: 82px;
  top: 42px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.task-list {
  position: absolute;
  top: 70px;
  left: 36px;
  width: 190px;
  padding: 16px;
  border: 1px solid #a7d2fb;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.task-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 13px;
}

.task-list span {
  display: block;
  position: relative;
  padding: 5px 0 5px 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.task-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border: 2px solid #62aef2;
  border-radius: 3px;
  background: #eef7ff;
}

.task-list span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.support-card,
.mini-panel {
  position: absolute;
  z-index: 3;
  border: 1px solid #bddbf8;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.support-card {
  display: grid;
  gap: 3px;
  width: 146px;
  padding: 14px;
}

.support-card span,
.mini-panel span {
  color: #547298;
  font-size: 11px;
  font-weight: 800;
}

.support-card strong {
  color: var(--blue-dark);
  font-size: 27px;
  line-height: 1.1;
}

.support-card-primary {
  top: 28px;
  right: 30px;
}

.support-card-secondary {
  top: 119px;
  right: 30px;
}

.mini-panel {
  left: 42px;
  bottom: 34px;
  width: 178px;
  padding: 14px;
}

.mini-panel svg {
  width: 100%;
  height: 62px;
}

.mini-panel polyline {
  fill: none;
  stroke: var(--blue);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading {
  margin-bottom: 34px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 32px;
  align-items: end;
}

.split-heading > p {
  margin: 0;
}

.problem-grid,
.strength-grid,
.feature-grid,
.roi-grid,
.security-grid {
  display: grid;
  gap: 16px;
}

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

.problem-card,
.strength-card,
.feature-card,
.roi-grid article,
.security-grid article,
.demo-points article,
.role-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.problem-card {
  position: relative;
  min-height: 188px;
  padding: 20px;
  overflow: hidden;
}

.problem-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -50px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 95, 199, 0.1), transparent 70%);
  pointer-events: none;
}

.problem-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.problem-card span,
.feature-top span,
.roi-grid span,
.flow-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}

.problem-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  border: 1px solid #c9e2fb;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, #ecf6ff);
}

.problem-icon svg {
  width: 28px;
  height: 28px;
}

.problem-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card h3 {
  margin-top: 13px;
}

.problem-card p {
  margin: 8px 0 0;
  font-size: 14px;
}

.blue-ribbon {
  width: min(680px, 100%);
  margin: 28px auto 0;
  padding: 15px 20px;
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius);
  box-shadow: 0 16px 28px rgba(7, 95, 199, 0.18);
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
}

.intro-copy p {
  margin: 18px 0 0;
}

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

.strength-card {
  padding: 24px;
}

.strength-card p {
  width: max-content;
  margin: 14px 0 8px;
  padding: 4px 10px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.strength-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.icon-stack,
.icon-brain,
.icon-shield {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  position: relative;
}

.icon-stack::before,
.icon-stack::after {
  content: "";
  position: absolute;
  left: 14px;
  width: 28px;
  height: 20px;
  border: 3px solid var(--blue);
  transform: rotate(45deg) skew(-10deg, -10deg);
}

.icon-stack::before {
  top: 15px;
}

.icon-stack::after {
  top: 26px;
  opacity: 0.7;
}

.icon-brain::before {
  content: "";
  position: absolute;
  inset: 13px 12px;
  border: 4px solid var(--blue);
  border-radius: 50% 45% 52% 42%;
  box-shadow: 10px 0 0 -3px var(--blue-soft), 10px 0 0 1px var(--blue);
}

.icon-shield::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 10px;
  width: 24px;
  height: 32px;
  border: 4px solid var(--blue);
  border-radius: 14px 14px 18px 18px;
  clip-path: polygon(50% 0, 100% 18%, 90% 76%, 50% 100%, 10% 76%, 0 18%);
}

.features {
  width: min(1220px, calc(100% - 40px));
}

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

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 20px;
}

.feature-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
}

.feature-shot,
.demo-shot {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d4e4f5;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 62, 107, 0.08);
}

.feature-shot {
  aspect-ratio: 16 / 9;
}

.feature-shot img,
.demo-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-shot img {
  object-position: 50% 50%;
  transition: transform 0.24s ease;
}

.feature-card:hover .feature-shot img {
  transform: scale(1.035);
}

.feature-image-placeholder {
  min-height: 170px;
}

.feature-image-placeholder strong {
  font-size: 18px;
}

.feature-card dl {
  margin: auto 0 0;
  padding: 13px;
  background: #effaf4;
  border: 1px solid #cdebdc;
  border-radius: var(--radius);
}

.feature-card dt {
  color: #128454;
  font-size: 13px;
  font-weight: 900;
}

.feature-card dd {
  margin: 5px 0 0;
  color: #4f6d61;
  font-size: 13px;
}

.mini-ui {
  min-height: 150px;
  padding: 14px;
  border: 1px solid #d4e6fa;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f5faff);
}

.mini-ui b {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 13px;
}

.upload-ui div {
  margin: 8px 0;
  padding: 8px 10px 8px 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  position: relative;
}

.upload-ui div::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 11px;
  width: 11px;
  height: 14px;
  background: var(--blue);
  border-radius: 2px;
}

.mail-ui div {
  height: 22px;
  margin: 12px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #dcecff, #f7fbff);
}

.mail-ui div:nth-child(3) {
  width: 74%;
}

.mail-ui div:nth-child(4) {
  width: 56%;
}

.schedule-ui span {
  display: block;
  margin: 9px 0;
  padding: 8px 10px;
  color: var(--blue-dark);
  border-left: 4px solid var(--blue);
  background: #ffffff;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.minutes-ui div {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin: 10px 0;
  padding: 0 12px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.invoice-ui div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.invoice-ui span {
  color: var(--muted);
  font-size: 12px;
}

.invoice-ui strong {
  color: var(--ink);
  font-size: 20px;
}

.invoice-ui button {
  width: 100%;
  min-height: 36px;
  margin-top: 12px;
  color: #ffffff;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  font-weight: 900;
}

.line-ui {
  background: linear-gradient(180deg, #f7fffb, #ffffff);
}

.line-ui b {
  color: #138651;
}

.line-ui div {
  width: 86%;
  margin: 10px 0;
  padding: 10px;
  background: #dcf8e9;
  color: #126542;
  border-radius: 8px 8px 8px 2px;
  font-size: 12px;
  font-weight: 800;
}

.line-ui div:last-child {
  width: 76%;
  margin-left: auto;
  background: #ffffff;
  border: 1px solid #c8ead9;
  border-radius: 8px 8px 2px 8px;
}

.demo {
  width: min(1240px, calc(100% - 40px));
}

.dashboard-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: stretch;
}

.demo-shot {
  min-height: 540px;
}

.demo-shot img {
  object-position: left center;
}

.demo-image-placeholder {
  min-height: 540px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 243, 251, 0.94)),
    radial-gradient(circle at 15% 25%, rgba(114, 87, 246, 0.16), transparent 18rem);
  box-shadow: var(--shadow);
}

.demo-image-placeholder strong {
  font-size: clamp(24px, 3vw, 36px);
}

.app-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 540px;
  border: 1px solid #d7e5f5;
  border-radius: var(--radius);
  background: #eef3fb;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-shell aside {
  padding: 22px 16px;
  color: #aeb6d0;
  background: var(--navy);
}

.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #ffffff;
  font-weight: 900;
}

.app-logo span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), #9879ff);
}

.app-shell aside p {
  margin: 0 0 8px;
  color: #687292;
  font-size: 12px;
  font-weight: 900;
}

.app-shell aside b,
.app-shell aside > span {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 13px;
}

.app-shell aside b {
  color: #ffffff;
  background: rgba(114, 87, 246, 0.28);
  outline: 2px solid #7257f6;
}

.app-shell aside > span {
  color: #9ba4c0;
}

.app-shell aside small {
  display: block;
  margin-top: 36px;
  padding: 16px;
  color: #aeb6d0;
  border: 1px solid rgba(114, 87, 246, 0.55);
  border-radius: var(--radius);
  background: rgba(114, 87, 246, 0.16);
}

.app-shell aside small strong {
  color: #ffffff;
  font-size: 24px;
}

.app-main {
  padding: 26px;
}

.app-hero {
  padding: 22px 24px;
  color: #ffffff;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(114, 87, 246, 0.45), transparent 18rem),
    #171335;
}

.app-hero small,
.app-hero span {
  display: block;
  color: #b9ccff;
}

.app-hero strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
}

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

.metric-row div,
.activity-card {
  border: 1px solid #dbe6f3;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 55, 92, 0.08);
}

.metric-row div {
  padding: 18px;
}

.metric-row strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.metric-row span {
  display: block;
  margin-top: 8px;
  color: #7b8daf;
  font-size: 12px;
  font-weight: 800;
}

.activity-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  margin-top: 18px;
}

.activity-card {
  padding: 18px;
}

.activity-card h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.activity-card p {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 13px 0;
  color: #52688c;
  border-top: 1px solid #edf2f8;
  font-size: 13px;
  font-weight: 800;
}

.activity-card span {
  color: #8a9fc0;
}

.demo-points {
  display: grid;
  gap: 14px;
}

.demo-points article {
  padding: 20px;
}

.demo-points p {
  margin: 10px 0 0;
  font-size: 14px;
}

.price {
  width: min(1180px, calc(100% - 40px));
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-table-wrap {
  border: 1px solid #cfe2fa;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 255, 0.98));
  box-shadow: var(--shadow);
}

.price-table-wrap {
  padding: 14px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 20px 18px;
  border-bottom: 1px solid #dbe8f7;
  text-align: left;
}

.price-table th {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.price-table td {
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 900;
}

.price-table td:last-child,
.price-table th:last-child {
  text-align: right;
}

.total-row td {
  color: var(--blue-dark);
  background: #f0f7ff;
}

.subsidy-row td {
  color: #ffffff;
  border-bottom: 0;
  background: var(--blue);
}

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

.roi-grid article {
  padding: 20px;
}

.roi-grid h3 {
  margin-top: 14px;
  font-size: 17px;
}

.roi-grid p {
  margin: 9px 0 0;
  font-size: 14px;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid #cfe2fa;
  border-radius: var(--radius);
  background: #cfe2fa;
  box-shadow: var(--shadow-soft);
}

.impact-strip div {
  padding: 20px;
  background: #ffffff;
}

.impact-strip span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.impact-strip strong {
  display: block;
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: 24px;
}

.security-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
  align-items: center;
  margin-bottom: 20px;
}

.role-card {
  padding: 24px;
}

.role-card.admin {
  background: #f8fbff;
}

.role-card p {
  margin: 10px 0 0;
}

.arrow-line {
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  position: relative;
}

.arrow-line::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  border-left: 10px solid var(--violet);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

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

.security-grid article {
  padding: 20px;
}

.security-grid h3 {
  font-size: 17px;
}

.security-grid p {
  margin: 8px 0 0;
  font-size: 14px;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-height: 198px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

.flow-list span {
  min-width: auto;
  color: var(--blue);
  background: var(--blue-soft);
}

.flow-list strong {
  display: block;
  margin-top: 14px;
  font-size: 17px;
}

.flow-list p {
  margin: 8px 0 0;
  font-size: 13px;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin-bottom: 40px;
  padding: 36px;
  border: 1px solid #bfdcf8;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, #ffffff, #eef7ff 58%, #f6f3ff);
  box-shadow: var(--shadow);
}

.cta ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.cta li {
  position: relative;
  padding-left: 24px;
  color: #37506f;
  font-size: 14px;
  font-weight: 800;
}

.cta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--blue);
}

.cta li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.cta-actions {
  align-content: center;
  justify-content: flex-end;
  max-width: 300px;
  margin: 0;
}

.cta-actions .btn {
  width: 100%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 5vw, 64px);
  color: #4f6382;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.site-footer strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer span,
.site-footer a {
  display: block;
  text-align: right;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
}

@media (max-width: 1060px) {
  .header-cta {
    display: none;
  }

  .hero,
  .intro,
  .dashboard-showcase,
  .price-layout,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 420px;
  }

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

  .roi-grid,
  .security-grid,
  .impact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .flow-list li::after {
    display: none;
  }

  .cta-actions {
    max-width: none;
    justify-content: flex-start;
  }

  .cta-actions .btn {
    width: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 12px;
  }

  .section-pad {
    width: min(100% - 28px, 1160px);
    padding: 62px 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .problem-grid,
  .strength-grid,
  .feature-grid,
  .roi-grid,
  .security-grid,
  .impact-strip,
  .flow-list,
  .cta ul {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-image-placeholder {
    inset: 18px 18px 210px;
    padding: 18px;
  }

  .person {
    right: 82px;
    bottom: 88px;
  }

  .laptop {
    right: 20px;
  }

  .task-list {
    left: 18px;
    top: 54px;
  }

  .support-card-primary,
  .support-card-secondary {
    right: 16px;
  }

  .support-card-primary {
    top: auto;
    right: auto;
    bottom: 118px;
    left: 18px;
  }

  .support-card-secondary {
    top: auto;
    bottom: 118px;
    right: 18px;
  }

  .mini-panel {
    left: 18px;
    bottom: 18px;
  }

  .app-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-shell aside {
    display: none;
  }

  .metric-row,
  .activity-row {
    grid-template-columns: 1fr;
  }

  .app-main {
    padding: 16px;
  }

  .price-table th,
  .price-table td {
    padding: 16px 10px;
  }

  .price-table td {
    font-size: 17px;
  }

  .security-map {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .arrow-line {
    width: 2px;
    height: 34px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--blue), var(--violet));
  }

  .arrow-line::after {
    top: auto;
    right: -5px;
    bottom: -1px;
    border-top: 10px solid var(--violet);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 0;
  }

  .cta {
    width: min(100% - 28px, 1160px);
    padding: 26px;
  }

  .site-footer {
    display: block;
  }

  .site-footer span,
  .site-footer a {
    margin-top: 10px;
    text-align: left;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 33px;
  }

  h2 {
    font-size: 25px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .hero-image-placeholder {
    inset: 18px 18px 238px;
  }

  .hero-image-placeholder strong {
    white-space: normal;
  }

  .person {
    right: 28px;
    bottom: 116px;
    transform: scale(0.9);
    transform-origin: bottom right;
  }

  .laptop {
    right: 10px;
    bottom: 76px;
    width: 152px;
    height: 92px;
  }

  .task-list {
    width: 178px;
  }

  .support-card {
    width: 132px;
  }

  .support-card strong {
    font-size: 23px;
  }

  .support-card-primary {
    top: auto;
    bottom: 132px;
  }

  .support-card-secondary {
    top: auto;
    bottom: 132px;
  }

  .mini-panel {
    bottom: 22px;
    width: calc(100% - 36px);
  }

}
