@font-face {
  font-family: "Noto Sans Thai Local";
  src: url("../fonts/NotoSansThai-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Thai Local";
  src: url("../fonts/NotoSansThai-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy-950: #10183f;
  --navy-900: #192459;
  --navy-800: #24356f;
  --navy-700: #385087;
  --ink: #17213f;
  --ink-soft: #4b5875;
  --ink-muted: #65718b;
  --sky-500: #79a9d9;
  --sky-400: #8fb9e4;
  --sky-300: #a9c9e8;
  --sky-200: #cbdff2;
  --sky-100: #e8f1fa;
  --sky-50: #f4f8fd;
  --lavender: #bd82d2;
  --lavender-soft: #f3e9f7;
  --gold: #f2b232;
  --gold-soft: #fff5dc;
  --white: #ffffff;
  --surface: #f8faff;
  --line: #dbe4f0;
  --line-strong: #bdcce0;
  --danger: #963b49;
  --danger-soft: #fbecef;
  --success: #255f58;
  --success-soft: #e7f4f2;
  --cover-background: linear-gradient(90deg, #192459 0%, #202d64 56%, #34336f 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 20;
  --z-menu: 30;
  --z-toast: 50;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body { margin: 0; }

.saas-body {
  min-width: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans Thai Local", "Leelawadee UI", Tahoma, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.saas-body a { color: inherit; text-decoration: none; }
.saas-body img { max-width: 100%; }
.saas-body :where(main, section, article, aside, header, footer, div, nav) { min-width: 0; }
.saas-body :where(h1, h2, h3, h4, p, li, dd, strong, small) {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.saas-body button,
.saas-body select { font: inherit; }
.saas-body h1,
.saas-body h2,
.saas-body h3,
.saas-body p { margin-top: 0; }
.saas-body h1,
.saas-body h2,
.saas-body h3 { text-wrap: balance; }
.saas-body p { text-wrap: pretty; }

.saas-body :focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 3px;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.section { padding: 112px 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white) !important;
  background: var(--navy-900);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

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

.site-header {
  position: absolute;
  z-index: var(--z-header);
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 0;
  background: transparent;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-900) !important;
  line-height: 1.08;
}

.brand img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 1rem; letter-spacing: -0.01em; }
.brand-copy small { color: var(--ink-muted); font-size: 0.69rem; }
.site-header .brand { color: var(--white) !important; }
.site-header .brand-copy small { color: var(--sky-200); }

.header-menu {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  margin-left: 0;
}

.main-nav a,
.login-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--sky-200);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 180ms ease;
}

.main-nav a:hover,
.login-link:hover { color: var(--white); }

.site-header .login-link {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid rgb(203 223 242 / 0.52);
  border-radius: 9px;
  color: var(--white) !important;
  background: rgb(255 255 255 / 0.07);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease);
}

.site-header .login-link:hover {
  border-color: var(--sky-200);
  background: rgb(255 255 255 / 0.13);
  transform: translateY(-1px);
}

.site-header .login-link:active { transform: translateY(0); }

.site-header .button--primary {
  border-color: var(--white);
  color: var(--navy-900) !important;
  background: var(--white);
}

.site-header .button--primary:hover { border-color: var(--sky-100); background: var(--sky-100); }

.site-header .button--secondary {
  border-color: rgb(203 223 242 / 0.58);
  color: var(--white) !important;
  background: transparent;
}

.site-header .button--secondary:hover { border-color: var(--white); background: rgb(255 255 255 / 0.08); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border: 1px solid rgb(203 223 242 / 0.45);
  border-radius: 9px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle > span:not(.sr-only) {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms var(--ease), opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(4) { transform: translateY(-6px) rotate(-45deg); }

.button {
  max-width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms var(--ease);
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button--small { min-height: 42px; padding: 8px 16px; font-size: 0.86rem; }
.button--large { min-height: 52px; padding: 12px 23px; }
.button--block { width: 100%; }

.button--primary {
  border-color: var(--navy-900);
  color: var(--white) !important;
  background: var(--navy-900);
}

.button--primary:hover { border-color: var(--navy-800); background: var(--navy-800); }

.button--secondary {
  border-color: var(--line-strong);
  color: var(--navy-900) !important;
  background: var(--white);
}

.button--secondary:hover { border-color: var(--sky-500); background: var(--sky-50); }

.button--light {
  border-color: var(--white);
  color: var(--navy-900) !important;
  background: var(--white);
}

.button--light:hover { background: var(--sky-100); }

.toast-stack {
  position: fixed;
  z-index: var(--z-toast);
  top: 92px;
  right: 20px;
  width: min(420px, calc(100% - 40px));
  display: grid;
  gap: 8px;
}

.toast {
  padding: 13px 15px;
  border-radius: 9px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 8px rgb(16 24 63 / 0.12);
  font-weight: 700;
}

.toast--error { color: var(--danger); }
.toast--success { color: var(--success); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 152px 0 98px;
  background: var(--cover-background);
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -230px;
  width: 580px;
  height: 580px;
  border: 1px solid rgb(169 201 232 / 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 0 78px rgb(255 255 255 / 0.03), inset 0 0 0 150px rgb(169 201 232 / 0.035);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 110px;
  left: 50%;
  width: 1px;
  height: 1px;
  box-shadow: 0 0 170px 86px rgb(143 185 228 / 0.18);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(410px, 0.94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: clamp(46px, 6vw, 86px);
}

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

.product-label,
.section-label {
  color: var(--navy-700);
  font-size: 0.84rem;
  font-weight: 700;
}

.product-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
  padding: 7px 11px;
  border: 1px solid rgb(169 201 232 / 0.42);
  border-radius: 999px;
  color: var(--sky-100);
  background: rgb(36 53 111 / 0.72);
}

.product-label span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
  animation: label-pulse 2.8s var(--ease) infinite;
}

.hero h1 {
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 span { color: var(--sky-300); }

.hero-lead {
  max-width: 56ch;
  margin-bottom: 30px;
  color: #d3deed;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-starter {
  max-width: 595px;
  margin-top: 2px;
}

.hero-starter > label {
  display: block;
  margin-bottom: 8px;
  color: var(--sky-100);
  font-size: 0.79rem;
  font-weight: 700;
}

.hero-starter__control {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 8px 8px rgb(4 9 31 / 0.18);
}

.hero-starter__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-left: 5px;
  border-radius: 9px;
  color: var(--navy-700);
  background: var(--sky-100);
}

.hero-starter__icon svg,
.capability-note__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-starter input {
  min-width: 0;
  min-height: 46px;
  padding: 8px 5px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.94rem;
}

.hero-starter input::placeholder { color: #5f6c87; opacity: 1; }

.hero-starter__control:focus-within { box-shadow: 0 0 0 3px var(--sky-400), 0 8px 8px rgb(4 9 31 / 0.18); }
.hero-starter input:focus-visible { outline: 0; }

.hero-starter button {
  min-height: 48px;
  padding: 10px 17px;
  border: 0;
  border-radius: 9px;
  color: var(--navy-950);
  background: #f7c65b;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms var(--ease);
}

.hero-starter button:hover { background: #ffd67d; transform: translateY(-1px); }
.hero-starter button:active { transform: translateY(0); }

.hero-capability-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--sky-200) !important;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-capability-link:hover { color: var(--white) !important; }
.hero-capability-link span { transition: transform 180ms var(--ease); }
.hero-capability-link:hover span { transform: translateY(2px); }

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 17px 0 0;
  padding: 0;
  color: #c8d4e7;
  font-size: 0.77rem;
  list-style: none;
}

.hero-assurances li { display: inline-flex; align-items: center; gap: 5px; }
.hero-assurances li span { color: var(--sky-300); font-weight: 700; }

.hero .button--primary {
  border-color: var(--white);
  color: var(--navy-900) !important;
  background: var(--white);
}

.hero .button--primary:hover { border-color: var(--sky-100); background: var(--sky-100); }

.hero .button--secondary {
  border-color: rgb(203 223 242 / 0.62);
  color: var(--white) !important;
  background: transparent;
}

.hero .button--secondary:hover { border-color: var(--white); background: rgb(255 255 255 / 0.08); }

.hero-product {
  position: relative;
  min-height: 535px;
  display: grid;
  place-items: center;
  padding: 46px 24px;
  isolation: isolate;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(169 201 232 / 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit--outer { width: 510px; height: 510px; }
.hero-orbit--inner { width: 392px; height: 392px; border-color: rgb(189 130 210 / 0.18); }

.system-illustration {
  position: relative;
  width: min(100%, 500px);
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 8px rgb(4 9 31 / 0.2);
  animation: system-float 7s var(--ease) infinite;
}

.system-illustration__header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 700;
}

.system-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ba997;
  box-shadow: 0 0 0 4px var(--success-soft);
  animation: status-pulse 2.4s ease-in-out infinite;
}

.system-brand { color: var(--navy-800); font-size: 0.72rem; font-weight: 700; }

.system-illustration__scene {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 20%, rgb(189 130 210 / 0.17), transparent 25%),
    linear-gradient(180deg, #edf5fc 0%, #e4f0fa 72%, #d4e6f5 72%);
}

.scene-cloud {
  position: absolute;
  width: 66px;
  height: 16px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
}

.scene-cloud::before,
.scene-cloud::after {
  content: "";
  position: absolute;
  bottom: 3px;
  border-radius: 50%;
  background: inherit;
}

.scene-cloud::before { left: 12px; width: 24px; height: 24px; }
.scene-cloud::after { right: 10px; width: 31px; height: 31px; }
.scene-cloud--one { top: 49px; left: 44px; animation: cloud-drift 8s ease-in-out infinite alternate; }
.scene-cloud--two { top: 88px; right: 37px; transform: scale(0.72); opacity: 0.7; animation: cloud-drift 10s ease-in-out -3s infinite alternate-reverse; }

.scene-ground {
  position: absolute;
  right: -8%;
  bottom: -42px;
  left: -8%;
  height: 132px;
  border-radius: 50% 50% 0 0;
  background: #c0d9ec;
}

.dorm-building {
  position: absolute;
  z-index: 2;
  bottom: 41px;
  left: 50%;
  width: 206px;
  height: 210px;
  border-radius: 7px 7px 0 0;
  background: var(--white);
  box-shadow: 7px 8px 0 rgb(56 80 135 / 0.13);
  transform: translateX(-50%);
}

.dorm-roof {
  position: absolute;
  top: -29px;
  left: -14px;
  width: 234px;
  height: 38px;
  clip-path: polygon(50% 0, 100% 76%, 95% 100%, 5% 100%, 0 76%);
  background: var(--navy-800);
}

.dorm-antenna {
  position: absolute;
  z-index: 2;
  top: -56px;
  left: 50%;
  width: 2px;
  height: 29px;
  background: var(--navy-700);
}

.dorm-antenna::before,
.dorm-antenna::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  border: 1px solid var(--sky-500);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: signal-pulse 2.6s ease-out infinite;
}

.dorm-antenna::before { width: 18px; height: 18px; }
.dorm-antenna::after { width: 34px; height: 34px; animation-delay: 0.5s; }

.dorm-sign {
  position: absolute;
  top: 18px;
  right: 19px;
  left: 19px;
  overflow: hidden;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--white);
  background: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dorm-windows {
  position: absolute;
  top: 73px;
  right: 23px;
  left: 23px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 17px;
}

.dorm-windows i {
  height: 35px;
  display: block;
  border: 5px solid #d8e8f5;
  border-bottom-width: 7px;
  border-radius: 4px 4px 2px 2px;
  background: #9bc4e7;
  animation: room-light 6s ease-in-out infinite;
}

.dorm-windows i:nth-child(2),
.dorm-windows i:nth-child(6) { animation-delay: -2s; }
.dorm-windows i:nth-child(3),
.dorm-windows i:nth-child(4) { animation-delay: -4s; }

.dorm-door {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 38px;
  height: 48px;
  border-radius: 5px 5px 0 0;
  background: var(--navy-800);
  transform: translateX(-50%);
}

.dorm-door::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.scene-tree {
  position: absolute;
  z-index: 3;
  bottom: 37px;
  width: 12px;
  height: 54px;
  border-radius: 3px;
  background: #61775c;
}

.scene-tree::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #83aa8b;
  box-shadow: 12px 19px 0 #739a7b, -17px 18px 0 #92b499;
  transform: translateX(-50%);
}

.scene-tree--one { left: 51px; transform: scale(0.82); }
.scene-tree--two { right: 54px; transform: scale(0.67); }

.system-illustration__footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 15px;
}

.system-illustration__footer div { display: grid; gap: 1px; min-width: 78px; }
.system-illustration__footer small { color: var(--ink-muted); font-size: 0.61rem; }
.system-illustration__footer strong { color: var(--navy-900); font-size: 0.72rem; }
.system-illustration__footer > span { color: var(--sky-500); }

.capability-note {
  position: absolute;
  z-index: 3;
  min-width: 202px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 7px 8px rgb(4 9 31 / 0.16);
}

.capability-note > span:last-child { display: grid; line-height: 1.32; }
.capability-note small { color: var(--ink-muted); font-size: 0.62rem; }
.capability-note strong { font-size: 0.77rem; }
.capability-note--bill { top: 22px; right: 0; animation: note-float 5.6s var(--ease) -1s infinite; }
.capability-note--line { top: 218px; left: -9px; animation: note-float 6.4s var(--ease) -3.2s infinite reverse; }
.capability-note--paid { right: 8px; bottom: 12px; animation: note-float 5.9s var(--ease) -2.1s infinite; }

.capability-note__icon {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #7c5710;
  background: var(--gold-soft);
  font-weight: 700;
}

.capability-note__icon--line { color: #1c6b5e; background: #e4f5ed; }
.capability-note__icon--success { color: var(--success); background: var(--success-soft); }

@keyframes label-pulse {
  0%, 70%, 100% { box-shadow: 0 0 0 4px var(--gold-soft); }
  82% { box-shadow: 0 0 0 7px rgb(255 245 220 / 0.16); }
}

@keyframes system-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes note-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes cloud-drift {
  from { translate: -7px 0; }
  to { translate: 11px 0; }
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

@keyframes signal-pulse {
  0% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.5); }
  80%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.25); }
}

@keyframes room-light {
  0%, 35%, 100% { background: #9bc4e7; }
  48%, 70% { background: #f7c65b; }
}

.app-window {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: var(--white);
}

.app-window--hero {
  position: relative;
  width: 100%;
  max-width: none;
}

.window-bar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-muted);
  background: var(--white);
  font-size: 0.69rem;
}

.window-bar > span:nth-child(2) { text-align: center; }
.window-bar b { justify-self: end; color: var(--navy-800); }
.window-dots { display: flex; gap: 5px; }

.window-dots i {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: var(--sky-400);
}

.window-dots i:nth-child(2) { background: var(--lavender); }
.window-dots i:nth-child(3) { background: var(--gold); }

.app-canvas { overflow: hidden; background: var(--sky-50); }
.app-canvas img { width: 100%; height: auto; display: block; object-fit: cover; object-position: top left; }

.app-window--hero .app-canvas { aspect-ratio: 1.76 / 1; }
.app-window--hero .app-canvas img { height: 100%; }

.product-callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 222px;
  padding: 12px 14px;
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 8px rgb(16 24 63 / 0.14);
}

.product-callout--top { top: 6px; right: 16px; }
.product-callout--bottom { right: 28px; bottom: 5px; }
.product-callout > span:last-child { display: grid; line-height: 1.3; }
.product-callout small { color: var(--ink-muted); font-size: 0.67rem; }
.product-callout strong { font-size: 0.82rem; }

.callout-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--success);
  background: var(--success-soft);
  font-weight: 700;
}

.callout-icon--alert { color: #7c5710; background: var(--gold-soft); }

.task-strip { border-block: 1px solid var(--line); background: var(--white); }

.task-strip__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.task-strip p { flex: 0 0 auto; margin: 0; color: var(--ink-muted); font-size: 0.8rem; font-weight: 700; }
.task-list { display: flex; align-items: center; justify-content: flex-end; gap: 0; }
.task-list span { color: var(--navy-800); font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.task-list span:not(:last-child)::after { content: ""; width: 4px; height: 4px; display: inline-block; margin: 0 18px; border-radius: 50%; background: var(--sky-400); vertical-align: middle; }

.section-heading { margin-bottom: 54px; }
.section-heading--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-heading--split { display: grid; grid-template-columns: 1fr 0.75fr; align-items: end; gap: 72px; }
.section-label { display: inline-block; margin-bottom: 10px; }

.section-heading h2,
.pricing-copy h2,
.faq-heading h2,
.line-copy h2 {
  margin-bottom: 16px;
  color: var(--navy-950);
  font-size: clamp(2.2rem, 4vw, 3.55rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
}

.section-heading p,
.pricing-copy p,
.faq-heading p,
.line-copy > p {
  max-width: 62ch;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.section-heading--center p { margin-inline: auto; }
.section-heading--split h2 { margin-bottom: 0; }
.section-heading--split > p { margin-bottom: 4px; }

.product-tour { background: var(--white); }

.capability-symbols { position: absolute; width: 0; height: 0; overflow: hidden; }

.capability-directory {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
}

.capability-sidebar {
  padding: 20px 14px;
  border-radius: 16px 0 0 16px;
  color: var(--white);
  background: #111c2b;
}

.capability-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 7px 17px;
  border-bottom: 1px solid rgb(203 223 242 / 0.14);
}

.capability-sidebar__brand > img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.capability-sidebar__brand div { display: grid; line-height: 1.25; }
.capability-sidebar__brand strong { font-size: 0.83rem; }
.capability-sidebar__brand small { color: #9fb0c6; font-size: 0.6rem; }
.capability-sidebar nav { display: grid; gap: 2px; padding-top: 11px; }

.capability-sidebar nav p {
  margin: 12px 8px 4px;
  color: #8fa2ba;
  font-size: 0.62rem;
  font-weight: 700;
}

.capability-sidebar nav a {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-radius: 7px;
  color: #cfdae7;
  font-size: 0.72rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease;
}

.capability-sidebar nav a:hover,
.capability-sidebar nav a.is-active {
  color: var(--white);
  background: #26384a;
}

.capability-sidebar nav a.is-active { box-shadow: inset 3px 0 0 var(--gold); }
.capability-sidebar svg,
.capability-workspace article > svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-workspace {
  min-width: 0;
  border-radius: 0 16px 16px 0;
  background: var(--white);
}

.capability-workspace__header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line);
}

.capability-workspace__header div { display: grid; gap: 2px; }
.capability-workspace__header span { color: var(--ink-muted); font-size: 0.68rem; }
.capability-workspace__header h3 { margin: 0; color: var(--navy-950); font-size: 1.25rem; }
.capability-workspace__header b { display: inline-flex; align-items: center; gap: 7px; color: var(--success); font-size: 0.68rem; }
.capability-workspace__header b i { width: 8px; height: 8px; border-radius: 50%; background: #4ba997; box-shadow: 0 0 0 4px var(--success-soft); }

.capability-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0 38px;
  padding: 26px 30px 32px;
}

.capability-columns > div + div { padding-left: 38px; border-left: 1px solid var(--line); }
.capability-group + .capability-group { margin-top: 32px; }

.capability-group > h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-900);
  color: var(--navy-950);
  font-size: 0.88rem;
}

.capability-group > h3 span { color: var(--ink-muted); font-size: 0.62rem; font-weight: 400; }

.capability-workspace article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 11px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 18px;
  transition: background-color 200ms ease;
}

.capability-workspace article:target {
  margin-inline: -9px;
  padding-inline: 11px;
  border-radius: 9px;
  background: var(--sky-50);
}

.capability-workspace article > svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 8px;
  color: var(--navy-700);
  background: var(--sky-100);
}

.capability-workspace article div { min-width: 0; }
.capability-workspace article h4 { margin: 0 0 3px; color: var(--navy-950); font-size: 0.82rem; }
.capability-workspace article p {
  width: 100%;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.7rem;
  line-height: 1.65;
  white-space: normal;
}

.features { background: var(--surface); }

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, 0.62fr);
  gap: 18px;
}

.feature-primary {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(240px, 0.83fr) minmax(300px, 1.17fr);
  align-items: center;
  gap: 44px;
  overflow: clip;
  padding: 44px 0 44px 44px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  color: var(--navy-700);
  background: var(--sky-100);
}

.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.feature-primary h3,
.feature-secondary h3 {
  color: var(--navy-950);
  font-size: 1.3rem;
  line-height: 1.4;
}

.feature-primary h3 { margin: 21px 0 11px; }
.feature-primary p,
.feature-secondary p { color: var(--ink-soft); }
.feature-primary p { margin-bottom: 22px; font-size: 0.92rem; line-height: 1.75; }
.feature-primary__copy,
.feature-secondary > div { min-width: 0; }

.check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-soft); font-size: 0.88rem; }
.check-list li span { color: var(--navy-700); font-weight: 700; }

.billing-preview {
  min-width: 420px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: var(--surface);
}

.preview-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 13px; }
.preview-head span { color: var(--navy-900); font-size: 0.84rem; font-weight: 700; }
.preview-head b { padding: 4px 8px; border-radius: 999px; color: var(--navy-700); background: var(--sky-100); font-size: 0.63rem; }
.preview-progress { height: 5px; margin-bottom: 19px; overflow: hidden; border-radius: 999px; background: var(--line); }
.preview-progress i { width: 72%; height: 100%; display: block; border-radius: inherit; background: var(--navy-700); }

.preview-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
}

.preview-row span { color: var(--navy-900); font-weight: 700; }
.preview-row small { color: var(--ink-muted); }
.preview-row b { color: var(--success); font-size: 0.68rem; }
.preview-row.is-pending b { color: #7c5710; }

.feature-stack { display: grid; gap: 18px; }

.feature-secondary {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.feature-secondary--tint { background: var(--sky-100); border-color: var(--sky-200); }
.feature-secondary h3 { margin-bottom: 7px; font-size: 1.02rem; }
.feature-secondary p { margin: 0; font-size: 0.82rem; line-height: 1.7; }
.feature-secondary--tint .feature-icon { background: var(--white); }

.line-experience {
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.line-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
}

.phone-stage { position: relative; min-height: 610px; display: grid; place-items: center; }

.phone-stage::before {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: rgb(143 185 228 / 0.12);
  box-shadow: inset 0 0 0 86px rgb(189 130 210 / 0.06);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 290px;
  height: 590px;
  overflow: hidden;
  padding: 11px 8px 8px;
  border: 1px solid rgb(169 201 232 / 0.45);
  border-radius: 30px;
  background: #0a102d;
  box-shadow: 0 8px 8px rgb(3 8 28 / 0.5);
}

.phone-speaker { width: 54px; height: 7px; margin: 0 auto 8px; border-radius: 999px; background: #41517e; }

.line-chat {
  height: calc(100% - 15px);
  display: grid;
  grid-template-rows: 46px minmax(0, 1fr) 53px;
  overflow: hidden;
  border-radius: 20px;
  color: var(--ink);
  background: #edf3f6;
}

.line-chat__header {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  padding: 7px 12px;
  color: var(--white);
  background: #26384a;
  text-align: center;
}

.line-chat__header > span { font-size: 1.5rem; font-weight: 400; line-height: 1; }
.line-chat__header strong { font-size: 0.72rem; }
.line-chat__header i { width: 6px; height: 6px; justify-self: end; border-radius: 50%; background: #4bc776; box-shadow: 0 0 0 3px rgb(75 199 118 / 0.18); }

.line-chat__body {
  min-height: 0;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  padding: 13px 12px;
}

.line-chat__body time { align-self: center; color: #7a8898; font-size: 0.56rem; }

.line-message {
  max-width: 84%;
  padding: 8px 10px;
  border-radius: 4px 11px 11px 11px;
  color: #283746;
  background: var(--white);
  font-size: 0.64rem;
}

.line-message--reply {
  align-self: flex-end;
  border-radius: 11px 4px 11px 11px;
  background: #b9ecac;
}

.line-bill-card {
  width: 88%;
  overflow: hidden;
  padding: 13px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 4px 8px rgb(19 37 55 / 0.08);
}

.line-bill-card > span { display: block; color: var(--navy-900); font-size: 0.68rem; font-weight: 700; }
.line-bill-card > small { display: block; margin-top: 1px; color: var(--ink-muted); font-size: 0.54rem; }
.line-bill-card > strong { display: block; margin: 12px 0 8px; color: var(--navy-950); font-size: 1.42rem; line-height: 1; }
.line-bill-card dl { margin: 0 0 11px; padding-top: 8px; border-top: 1px solid var(--line); }
.line-bill-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; font-size: 0.56rem; }
.line-bill-card dt { color: var(--ink-muted); }
.line-bill-card dd { margin: 0; color: var(--ink); font-weight: 700; }

.line-bill-card button {
  width: 100%;
  min-height: 31px;
  border: 0;
  border-radius: 7px;
  color: var(--white);
  background: #06a94f;
  font: inherit;
  font-size: 0.58rem;
  font-weight: 700;
  pointer-events: none;
}

.line-payment-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--success);
  background: var(--white);
  box-shadow: 0 4px 8px rgb(19 37 55 / 0.07);
}

.line-payment-status > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--success-soft); font-weight: 700; }
.line-payment-status > div { display: grid; line-height: 1.25; }
.line-payment-status small { color: var(--ink-muted); font-size: 0.5rem; }
.line-payment-status strong { font-size: 0.61rem; }

.line-chat__menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid #d9e1e7;
  background: var(--white);
}

.line-chat__menu span { padding: 6px 3px; color: #536474; font-size: 0.55rem; font-weight: 700; text-align: center; }
.line-chat__menu span + span { border-left: 1px solid #e4e9ed; }

.line-bubble {
  position: absolute;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 9px;
  color: var(--navy-950);
  background: var(--white);
  box-shadow: 0 8px 8px rgb(3 8 28 / 0.34);
  font-size: 0.78rem;
  font-weight: 700;
}

.line-bubble--one { top: 112px; left: 0; }
.line-bubble--two { right: -4px; bottom: 96px; }

.line-copy { max-width: 560px; }
.line-copy .section-label { color: var(--sky-300); }
.line-copy h2 { color: var(--white); }
.line-copy > p { color: #c8d4e7; }

.line-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 38px 0 0; }
.line-benefits div { padding: 0 18px; border-left: 1px solid rgb(169 201 232 / 0.28); }
.line-benefits div:first-child { padding-left: 0; border-left: 0; }
.line-benefits dt { color: var(--white); font-size: 0.84rem; font-weight: 700; }
.line-benefits dd { margin: 4px 0 0; color: #aebbd0; font-size: 0.72rem; line-height: 1.55; }

.workflow { background: var(--white); }

.workflow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  list-style: none;
}

.workflow-list li {
  position: relative;
  min-height: 205px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.workflow-list li:last-child { border-right: 0; }
.workflow-list li > span { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 30px; border-radius: 9px; color: var(--navy-700); background: var(--sky-100); font-size: 0.78rem; font-weight: 700; }
.workflow-list strong { color: var(--navy-950); font-size: 1rem; }
.workflow-list p { margin: 6px 0 0; color: var(--ink-muted); font-size: 0.81rem; line-height: 1.65; }

.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 22px;
  padding: 23px 26px;
  border-radius: 12px;
  background: var(--sky-50);
}

.trust-bar > div { display: flex; align-items: center; gap: 11px; }
.trust-bar > div > span:last-child { display: grid; line-height: 1.4; }
.trust-bar strong { color: var(--navy-900); font-size: 0.8rem; }
.trust-bar small { color: var(--ink-muted); font-size: 0.69rem; }
.trust-mark { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--navy-700); background: var(--sky-200); font-weight: 700; }

.pricing { background: var(--surface); }

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(560px, 1.38fr);
  align-items: start;
  gap: clamp(56px, 8vw, 106px);
}

.pricing-copy { position: sticky; top: 112px; }
.pricing-copy p { margin-bottom: 20px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy-700) !important;
  font-size: 0.86rem;
  font-weight: 700;
}

.text-link span { transition: transform 180ms var(--ease); }
.text-link:hover span { transform: translateX(3px); }

.pricing-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }

.plan {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: 14px;
  background: var(--white);
}

.plan--free { margin-top: 30px; border: 1px solid var(--line); }
.plan--pro { border: 2px solid var(--navy-800); }
.plan > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.plan > header > div { display: grid; gap: 2px; }
.plan > header span { color: var(--navy-900); font-weight: 700; }
.plan > header small { color: var(--ink-muted); font-size: 0.7rem; }
.plan--free > header > strong { color: var(--navy-950); font-size: 2.2rem; line-height: 1; }
.plan--free > header > strong small { font-size: 0.64rem; font-weight: 400; }
.plan > header em { padding: 5px 7px; border-radius: 999px; color: #6f4b08; background: var(--gold-soft); font-size: 0.64rem; font-style: normal; font-weight: 700; white-space: nowrap; }

.recommended {
  position: absolute;
  right: -2px;
  bottom: calc(100% + 2px);
  left: -2px;
  padding: 7px 12px;
  border-radius: 10px 10px 0 0;
  color: var(--white);
  background: var(--navy-800);
  font-size: 0.69rem;
  font-weight: 700;
  text-align: center;
}

.plan-price { display: flex; align-items: baseline; gap: 4px; color: var(--navy-950); }
.plan-price > span { font-size: 1rem; font-weight: 700; }
.plan-price > strong { font-size: clamp(3rem, 5vw, 4.2rem); line-height: 0.92; letter-spacing: -0.035em; }
.plan-price > small { color: var(--ink-muted); font-size: 0.72rem; }
.plan-compare { display: flex; flex-wrap: wrap; gap: 9px; margin: -15px 0 0; color: var(--ink-muted); font-size: 0.7rem; }
.plan-compare span { text-decoration: line-through; }
.plan-compare b { color: var(--navy-700); }

.plan-duration { display: grid; gap: 6px; color: var(--ink-soft); font-size: 0.73rem; font-weight: 700; }
.plan-duration select { width: 100%; min-height: 44px; padding: 8px 11px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); background: var(--white); }
.plan .check-list { min-height: 112px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan .button { margin-top: auto; }

.faq { background: var(--white); }
.faq-grid { display: grid; grid-template-columns: 0.65fr 1.35fr; align-items: start; gap: clamp(56px, 9vw, 120px); }
.faq-heading { position: sticky; top: 112px; }
.faq-heading p { margin-bottom: 12px; }
.accordion { border-top: 1px solid var(--line-strong); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--navy-950); cursor: pointer; list-style: none; font-weight: 700; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--navy-700); font-size: 1.45rem; font-weight: 400; transition: transform 180ms var(--ease); }
.accordion details[open] summary span { transform: rotate(45deg); }
.accordion details p { max-width: 65ch; margin: -5px 50px 23px 0; color: var(--ink-soft); font-size: 0.9rem; }

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 90px 0;
  color: var(--white);
  background: var(--navy-800);
}

.final-cta::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -170px;
  width: 560px;
  height: 560px;
  border: 1px solid rgb(169 201 232 / 0.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 86px rgb(189 130 210 / 0.06), inset 0 0 0 170px rgb(143 185 228 / 0.05);
}

.final-cta__inner { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 70px; }
.final-cta__copy > span { color: var(--sky-300); font-size: 0.88rem; font-weight: 700; }
.final-cta h2 { margin: 10px 0 28px; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.12; letter-spacing: -0.03em; }
.final-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cta-login { min-height: 44px; display: inline-flex; align-items: center; color: var(--sky-200) !important; font-size: 0.84rem; font-weight: 700; }
.cta-login:hover { color: var(--white) !important; }

.contact-card {
  min-width: 370px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px;
  border-radius: 13px;
  color: var(--ink) !important;
  background: var(--white);
  transition: transform 180ms var(--ease);
}

.contact-card:hover { transform: translateY(-2px); }
.contact-card img { width: 112px; height: 112px; flex: 0 0 auto; object-fit: contain; }
.contact-card > span { display: grid; gap: 3px; }
.contact-card small { color: var(--ink-muted); font-size: 0.7rem; }
.contact-card strong { color: var(--navy-950); font-size: 1rem; }
.contact-card b { color: var(--navy-700); font-size: 0.78rem; }
.contact-card i { font-style: normal; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 42px; }
.brand--footer img { width: 38px; height: 38px; }
.footer-inner > p { margin: 0; color: var(--ink-muted); font-size: 0.76rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-inner nav a { color: var(--ink-soft); font-size: 0.74rem; }
.footer-inner nav a:hover { color: var(--navy-800); }
.copyright { grid-column: 1 / -1; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 0.7rem; }

@media (max-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(380px, 0.92fr) minmax(450px, 1.08fr); gap: 38px; }
  .app-window--hero { width: 100%; }
  .product-callout--top { right: 12px; }
  .task-strip__inner { align-items: flex-start; flex-direction: column; gap: 10px; padding-block: 20px; }
  .task-list { width: 100%; justify-content: space-between; }
  .feature-primary { grid-template-columns: 1fr; gap: 36px; padding: 36px; }
  .billing-preview {
    min-width: 0;
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
  }
  .line-bubble--one { left: -18px; }
  .line-bubble--two { right: -18px; }
  .pricing-grid { grid-template-columns: 0.52fr 1.48fr; gap: 50px; }
}

@media (max-width: 1024px) {
  html { scroll-padding-top: 18px; }
  .shell { width: min(100% - 36px, 920px); }
  .section { padding: 86px 0; }
  .header-inner { min-height: 70px; justify-content: space-between; }
  .menu-toggle { display: flex; }
  .header-menu {
    position: absolute;
    z-index: var(--z-menu);
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px max(18px, env(safe-area-inset-right, 0px)) max(20px, env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px));
    border-bottom: 1px solid rgb(169 201 232 / 0.18);
    background: var(--cover-background);
  }
  .header-menu.is-open { display: flex; }
  .main-nav { align-items: stretch; flex-direction: column; gap: 0; margin: 0; }
  .main-nav a { border-bottom: 1px solid rgb(169 201 232 / 0.18); }
  .header-actions { justify-content: stretch; margin-left: 0; }
  .header-actions > * { flex: 1; }
  .site-header .login-link { justify-content: center; }

  .hero { padding: 144px 0 86px; }
  .hero-grid { grid-template-columns: 1fr; gap: 46px; }
  .hero-copy { max-width: 650px; margin-inline: auto; text-align: center; }
  .product-label { margin-inline: auto; }
  .hero-starter { margin-inline: auto; text-align: left; }
  .hero-capability-link { margin-inline: auto; }
  .hero-actions,
  .hero-assurances { justify-content: center; }
  .hero-product { width: min(100%, 650px); margin-inline: auto; }
  .app-window--hero { width: 100%; max-width: none; }
  .product-callout--top { right: -6px; }
  .product-callout--bottom { right: 16px; }

  .task-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
  .task-list span:not(:last-child)::after { display: none; }
  .capability-directory { grid-template-columns: 1fr; }
  .capability-sidebar {
    padding: 12px 14px 14px;
    border-radius: 16px 16px 0 0;
  }
  .capability-sidebar__brand { padding-bottom: 11px; }
  .capability-sidebar nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    padding-top: 10px;
  }
  .capability-sidebar nav p { grid-column: 1 / -1; margin-top: 8px; }
  .capability-sidebar nav a { min-height: 44px; }
  .capability-workspace { border-radius: 0 0 16px 16px; }
  .capability-columns { gap: 0 28px; padding-inline: 24px; }
  .capability-columns > div + div { padding-left: 28px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-stack { grid-template-columns: repeat(3, 1fr); }
  .feature-secondary { flex-direction: column; }
  .line-grid { grid-template-columns: 1fr; gap: 56px; }
  .phone-stage { order: 2; width: min(100%, 560px); margin-inline: auto; }
  .line-copy { max-width: 650px; }
  .workflow-list { grid-template-columns: repeat(2, 1fr); }
  .workflow-list li:nth-child(2) { border-right: 0; }
  .workflow-list li:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .trust-bar { grid-template-columns: 1fr; gap: 18px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-copy,
  .faq-heading { position: static; }
  .pricing-copy { max-width: 600px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .final-cta__inner { grid-template-columns: 1fr; gap: 45px; }
  .contact-card { width: min(100%, 430px); min-width: 0; }
  .footer-inner { grid-template-columns: auto 1fr; }
  .footer-inner nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 800px) {
  .shell { width: min(100% - 36px, 720px); }
  .feature-stack { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 28px); }
  .section { padding: 72px 0; }
  .brand img { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 0.93rem; }
  .brand-copy small { font-size: 0.64rem; }
  .hero { padding-top: 128px; }
  .hero h1 { font-size: clamp(2.25rem, 12vw, 3.4rem); letter-spacing: -0.03em; }
  .hero-lead { font-size: 1rem; }
  .hero-starter__control {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
  }
  .hero-starter button { grid-column: 1 / -1; width: 100%; }
  .hero-product { min-height: 500px; padding-inline: 11px; }
  .system-illustration { width: min(100% - 26px, 500px); }
  .hero-orbit--outer { width: 450px; height: 450px; }
  .hero-orbit--inner { width: 340px; height: 340px; }
  .capability-note { min-width: 174px; padding: 9px 10px; }
  .capability-note small { display: none; }
  .capability-note strong { font-size: 0.7rem; }
  .capability-note--bill { right: -2px; }
  .capability-note--line { left: -2px; }
  .capability-note--paid { right: 4px; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: min(100%, 340px); margin-inline: auto; }
  .hero-assurances { align-items: center; flex-direction: column; gap: 6px; }
  .app-window--hero { width: 100%; }
  .window-bar { min-height: 36px; }
  .window-bar > span:nth-child(2) { display: none; }
  .window-bar { grid-template-columns: 1fr 1fr; }
  .product-callout { min-width: 0; padding: 9px 10px; }
  .product-callout small { display: none; }
  .product-callout strong { font-size: 0.7rem; }
  .callout-icon { width: 26px; height: 26px; border-radius: 7px; }
  .product-callout--top { top: 15px; right: -3px; }
  .product-callout--bottom { right: 6px; bottom: 12px; }

  .task-strip__inner { align-items: center; text-align: center; }
  .task-list { grid-template-columns: 1fr; text-align: center; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2,
  .pricing-copy h2,
  .faq-heading h2,
  .line-copy h2 { font-size: 2.3rem; }
  .capability-directory { border-radius: 13px; }
  .capability-sidebar { border-radius: 13px 13px 0 0; }
  .capability-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-sidebar nav p { margin: 11px 6px 3px; }
  .capability-sidebar nav a {
    align-items: flex-start;
    min-height: 48px;
    padding: 9px;
    line-height: 1.45;
    white-space: normal;
  }
  .capability-workspace { border-radius: 0 0 13px 13px; }
  .capability-workspace__header { min-height: 78px; padding: 17px 18px; }
  .capability-workspace__header h3 { font-size: 1.05rem; }
  .capability-workspace__header b { display: none; }
  .capability-columns { grid-template-columns: 1fr; padding: 20px 18px 24px; }
  .capability-columns > div + div { padding-left: 0; border-left: 0; }
  .capability-columns > div + div .capability-group:first-child { margin-top: 32px; }
  .capability-workspace article { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-block: 16px; }
  .capability-workspace article > svg { width: 40px; height: 40px; }
  .capability-workspace article h4 { font-size: 0.9rem; }
  .capability-workspace article p { font-size: 0.8rem; line-height: 1.72; }

  .feature-primary { grid-template-columns: 1fr; gap: 28px; padding: 28px; overflow: visible; }
  .feature-primary__copy { padding-right: 0; }
  .billing-preview {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
  }
  .feature-stack { grid-template-columns: 1fr; }
  .feature-secondary { flex-direction: row; }
  .preview-row { grid-template-columns: 50px 1fr; }
  .preview-row b { grid-column: 2; }

  .phone-stage { min-height: 540px; }
  .phone-stage::before { width: 380px; height: 380px; }
  .phone-frame { width: 250px; height: 510px; }
  .line-bubble--one { top: 100px; left: -2px; }
  .line-bubble--two { right: -2px; bottom: 72px; }
  .line-benefits { grid-template-columns: 1fr; }
  .line-benefits div { display: grid; grid-template-columns: 130px 1fr; padding: 12px 0; border-top: 1px solid rgb(169 201 232 / 0.24); border-left: 0; }
  .line-benefits div:first-child { padding-top: 12px; border-top: 1px solid rgb(169 201 232 / 0.24); }
  .line-benefits dd { margin: 0; }

  .workflow-list { grid-template-columns: 1fr; }
  .workflow-list li { min-height: 0; display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .workflow-list li:nth-child(2) { border-right: 0; }
  .workflow-list li:last-child { border-bottom: 0; }
  .workflow-list li > span { margin: 0; }
  .pricing-plans { grid-template-columns: 1fr; gap: 50px; }
  .plan--free { margin-top: 0; }
  .plan .check-list { min-height: 0; }
  .accordion summary { min-height: 70px; font-size: 0.9rem; }
  .accordion details p { margin-right: 30px; }
  .final-cta { padding: 72px 0; }
  .final-cta h2 { font-size: 2.65rem; }
  .final-cta__actions { align-items: stretch; flex-direction: column; }
  .cta-login { justify-content: center; }
  .contact-card img { width: 92px; height: 92px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner nav { grid-column: auto; flex-direction: column; gap: 9px; }
  .copyright { grid-column: auto; }
}

@media (max-width: 380px) {
  .header-inner { gap: 12px; }
  .brand-copy small { display: none; }
  .hero h1 { font-size: clamp(2.1rem, 12vw, 2.5rem); }
  .product-label { font-size: 0.74rem; }
  .hero-product { min-height: 470px; }
  .system-illustration__scene { min-height: 286px; }
  .system-brand { display: none; }
  .system-illustration__footer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .system-illustration__footer > span { display: none; }
  .dorm-building { bottom: 38px; transform: translateX(-50%) scale(0.9); transform-origin: bottom center; }
  .system-illustration__footer div { min-width: 0; }
  .system-illustration__footer small { font-size: 0.54rem; }
  .system-illustration__footer strong { font-size: 0.62rem; }
  .capability-note--line { display: none; }
  .product-callout--top { display: none; }
  .phone-stage { min-height: 500px; }
  .phone-frame { width: min(225px, 100%); height: auto; aspect-ratio: 225 / 470; }
  .line-bubble { font-size: 0.68rem; }
  .line-benefits div { grid-template-columns: 1fr; gap: 2px; }
  .plan { padding: 22px; }
  .plan > header { flex-wrap: wrap; }
  .plan-price { flex-wrap: wrap; }
  .plan-price > strong { font-size: 2.7rem; }
  .plan-price > small { flex-basis: 100%; }
  .contact-card { align-items: flex-start; flex-direction: column; }
  .contact-card img { width: 78px; height: 78px; }
}

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