:root {
  color-scheme: light;
  --ink: #172827;
  --muted: #697872;
  --soft: #edf4ef;
  --surface: #fff8ec;
  --surface-cool: #e7f4f0;
  --line: rgba(117, 148, 139, 0.22);
  --teal: #63cbc4;
  --teal-dark: #267d84;
  --green: #bed6a0;
  --gold: #f0c9a7;
  --blue: #79b3cc;
  --plum: #7d6d86;
  --coral: #e08476;
  --shadow: 18px 18px 44px rgba(122, 142, 132, 0.26), -18px -18px 44px rgba(255, 255, 255, 0.86);
  --shadow-soft: 10px 10px 24px rgba(122, 142, 132, 0.18), -10px -10px 24px rgba(255, 255, 255, 0.82);
  --inset: inset 8px 8px 18px rgba(133, 153, 144, 0.20), inset -8px -8px 18px rgba(255, 255, 255, 0.78);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(ellipse at 78% 8%, rgba(156, 213, 211, 0.64), transparent 34%),
    radial-gradient(ellipse at 18% 16%, rgba(255, 228, 195, 0.75), transparent 32%),
    linear-gradient(135deg, #f5eee4 0%, #eef5ef 42%, #d8ede9 100%);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  opacity: 0.62;
  filter: blur(0.2px);
}

body::before {
  right: -9vw;
  top: 17vh;
  width: min(46vw, 650px);
  height: min(46vw, 650px);
  border-radius: 45% 55% 52% 48% / 58% 44% 56% 42%;
  background:
    linear-gradient(145deg, rgba(255, 246, 231, 0.95), rgba(125, 205, 198, 0.62) 50%, rgba(126, 180, 203, 0.74));
  box-shadow: var(--shadow);
}

body::after {
  left: -12vw;
  bottom: -18vh;
  width: min(52vw, 740px);
  height: min(38vw, 540px);
  border-radius: 58% 42% 64% 36% / 50% 60% 40% 50%;
  background:
    linear-gradient(145deg, rgba(194, 218, 160, 0.82), rgba(108, 209, 201, 0.46) 52%, rgba(255, 247, 233, 0.74));
  box-shadow: var(--shadow-soft);
}

body.search-open {
  overflow: hidden;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

:focus-visible {
  outline: 3px solid rgba(72, 187, 178, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  transform: translateY(-140%);
  z-index: 1000;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(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;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 18px;
}

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  background: rgba(255, 249, 239, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  flex: 0 0 auto;
  border-radius: 14px;
  box-shadow: 5px 5px 12px rgba(119, 139, 132, 0.22), -5px -5px 12px rgba(255, 255, 255, 0.86);
}

.brand span {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--inset);
}

.nav-actions,
.quick-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.tool-button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0;
  min-height: 42px;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(145deg, #fffaf0, #e6f4f0);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.tool-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(145deg, #fffaf1, #e8f5f1);
  color: var(--teal-dark);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-soft);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #62d5ca 0%, #9ccf87 100%);
  color: #153332;
  box-shadow: 9px 9px 24px rgba(98, 172, 159, 0.30), -8px -8px 22px rgba(255, 255, 255, 0.86);
}

.secondary-button {
  background: rgba(255, 250, 242, 0.9);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.tool-button:hover,
.secondary-button:hover,
.primary-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.language-select {
  min-height: 42px;
  max-width: 174px;
  padding: 8px 32px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(145deg, #fffaf1, #e8f5f1);
  color: var(--ink);
  font-weight: 750;
  box-shadow: var(--shadow-soft);
}

.menu-toggle {
  display: none;
}

.section-band,
.quick-command,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  min-height: 100vh;
  padding-top: 132px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 56px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 18%;
  left: -2%;
  width: min(44vw, 560px);
  height: min(24vw, 330px);
  border-radius: 64% 36% 60% 40% / 52% 58% 42% 48%;
  background:
    linear-gradient(135deg, rgba(249, 219, 185, 0.76), rgba(179, 219, 164, 0.54) 44%, rgba(115, 189, 208, 0.42));
  box-shadow: var(--shadow-soft);
  z-index: -1;
}

.eyebrow {
  margin: 0 0 14px;
  color: #347d82;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 900;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.3vw, 5.05rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.66);
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-lede,
.section-heading p,
.contact-copy > p,
.command-card p,
.feature-card p,
.live-rule p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  max-width: 630px;
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.system-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
}

.system-visual::before {
  content: "";
  position: absolute;
  right: 8%;
  top: 7%;
  width: 38%;
  height: 30%;
  border-radius: 38% 62% 48% 52% / 60% 42% 58% 40%;
  background: linear-gradient(145deg, rgba(255, 245, 225, 0.92), rgba(192, 218, 158, 0.76));
  box-shadow: var(--shadow-soft);
}

.system-visual::after {
  content: "";
  position: absolute;
  left: 4%;
  bottom: 5%;
  width: 42%;
  height: 28%;
  border-radius: 66% 34% 45% 55% / 52% 42% 58% 48%;
  background: linear-gradient(135deg, rgba(126, 185, 207, 0.70), rgba(107, 213, 204, 0.64), rgba(255, 247, 233, 0.86));
  box-shadow: var(--shadow-soft);
}

.console-window {
  width: min(100%, 690px);
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 250, 241, 0.94), rgba(225, 241, 237, 0.92));
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}

.console-window::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -16%;
  width: 72%;
  height: 50%;
  border-radius: 68% 32% 0 0 / 66% 72% 28% 34%;
  background: linear-gradient(135deg, rgba(108, 201, 194, 0.56), rgba(126, 179, 204, 0.78));
  opacity: 0.72;
}

.console-topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.64);
  position: relative;
  z-index: 1;
}

.console-topbar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.console-topbar span:nth-child(2) {
  background: var(--gold);
}

.console-topbar span:nth-child(3) {
  background: var(--green);
  margin-right: 10px;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 18px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.console-panel {
  min-height: 176px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.console-panel.wide {
  grid-column: 1 / -1;
  min-height: 132px;
}

.console-panel small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.console-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.55rem;
}

.console-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.console-panel.live {
  background: linear-gradient(145deg, rgba(219, 250, 243, 0.72), rgba(255, 244, 226, 0.70));
}

.progress-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.55fr;
  gap: 8px;
  margin-bottom: 14px;
}

.progress-row span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7bd4cc, #c9db9f, #f2c7a3);
  box-shadow: var(--inset);
}

.quick-command {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: -36px;
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(255, 249, 239, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-command strong {
  display: block;
  margin-bottom: 5px;
}

.quick-command span {
  color: var(--muted);
}

.section-band {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 36px;
}

.section-heading.split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 36px;
  align-items: end;
}

.section-heading.split p:last-child {
  margin-bottom: 0;
}

.feature-grid,
.demo-grid,
.training-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.command-card,
.live-rule,
.contact-form,
.training-card,
.demo-card {
  background:
    linear-gradient(145deg, rgba(255, 250, 240, 0.94), rgba(229, 244, 239, 0.90));
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 22px;
  min-height: 326px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -28%;
  width: 72%;
  height: 48%;
  border-radius: 58% 42% 0 0 / 62% 64% 36% 38%;
  background: linear-gradient(135deg, rgba(117, 210, 202, 0.46), rgba(126, 181, 207, 0.58));
}

.feature-card svg {
  width: 34px;
  height: 34px;
  color: var(--teal-dark);
  margin-bottom: 20px;
  padding: 7px;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: var(--inset);
}

.feature-card h3,
.command-card h3,
.training-card h3,
.live-rule h3,
.demo-card h3 {
  margin-bottom: 10px;
}

.consequence-section {
  background:
    linear-gradient(145deg, rgba(232, 244, 239, 0.78), rgba(255, 242, 222, 0.78));
  border-radius: 44px;
  box-shadow: var(--inset);
}

.operations-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.live-rule {
  padding: 24px;
}

.rule-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--teal-dark);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(79, 143, 69, 0.5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(79, 143, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 143, 69, 0);
  }
}

.live-rule dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 0;
}

.live-rule dt {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 800;
}

.live-rule dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.queue-table {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 250, 241, 0.92);
  box-shadow: var(--shadow-soft);
}

.queue-head,
.queue-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.7fr;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
}

.queue-head {
  background: linear-gradient(135deg, #d8efe9, #fff4df);
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 900;
}

.queue-row {
  border-bottom: 1px solid rgba(117, 148, 139, 0.18);
}

.queue-row:last-child {
  border-bottom: 0;
}

.queue-row.is-active {
  background: rgba(232, 249, 244, 0.72);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(145deg, #fef5e5, #ddf6f1);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.examples-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.search-field {
  width: min(100%, 540px);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: rgba(255, 250, 241, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  box-shadow: var(--inset);
}

.search-field.large {
  width: 100%;
  min-height: 56px;
}

.search-field svg {
  color: var(--teal);
  flex: 0 0 auto;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

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

.demo-card {
  padding: 18px;
  min-height: 232px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.demo-card::before {
  content: "";
  position: absolute;
  left: -20%;
  bottom: -24%;
  width: 70%;
  height: 45%;
  border-radius: 60% 40% 0 0 / 72% 64% 36% 28%;
  background: linear-gradient(135deg, rgba(191, 217, 163, 0.34), rgba(110, 205, 199, 0.30));
}

.demo-card small {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--teal-dark);
  font-weight: 900;
  box-shadow: var(--inset);
}

.demo-card p {
  color: var(--muted);
  line-height: 1.55;
}

.demo-card .value-line {
  margin-top: auto;
  padding-top: 12px;
  color: var(--ink);
  font-weight: 850;
}

.command-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.command-card {
  padding: 22px;
}

.prompt-list {
  display: grid;
  gap: 10px;
}

.prompt-pill {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 250, 241, 0.72);
  box-shadow: var(--inset);
}

.prompt-pill code {
  color: var(--teal-dark);
  font-weight: 900;
  white-space: normal;
}

.media-card {
  min-width: 0;
}

.video-frame {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(114, 203, 197, 0.42), rgba(248, 224, 196, 0.58)),
    #dbece8;
  border: 1px solid rgba(255, 255, 255, 0.70);
  box-shadow: var(--inset);
}

.video-frame video {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #dbece8;
}

.video-frame canvas {
  display: none;
}

.video-frame span {
  position: absolute;
  inset: auto 16px 16px 16px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 850;
}

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

.manual-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.training-card {
  overflow: hidden;
}

.training-shot {
  min-height: 170px;
  padding: 16px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 246, 226, 0.94), transparent 24%),
    linear-gradient(135deg, rgba(118, 205, 198, 0.40), rgba(245, 210, 177, 0.56)),
    #f4faf7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.74);
}

.shot-window {
  height: 138px;
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.shot-bar,
.shot-line,
.shot-button,
.shot-panel {
  border-radius: 999px;
  background: #cfe3dd;
}

.shot-bar {
  height: 14px;
  width: 58%;
}

.shot-line {
  height: 10px;
}

.shot-line.short {
  width: 62%;
}

.shot-button {
  width: 84px;
  height: 28px;
  background: linear-gradient(135deg, #65cfc6, #a9ce90);
}

.shot-panel {
  height: 58px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1da, #dcefe9);
}

.training-card-body {
  padding: 20px;
}

.training-card ol {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-list strong {
  color: var(--ink);
}

.contact-list a {
  color: var(--teal-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  padding: 12px 13px;
  background: rgba(255, 250, 241, 0.72);
  color: var(--ink);
  box-shadow: var(--inset);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 850;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  background: rgba(74, 92, 88, 0.48);
  padding: 20px;
}

.search-panel.active {
  display: grid;
  place-items: center;
}

.search-panel-inner {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  background: linear-gradient(145deg, rgba(255, 250, 240, 0.96), rgba(229, 244, 239, 0.94));
  border-radius: 34px;
  padding: 24px;
  box-shadow: 28px 28px 80px rgba(60, 83, 76, 0.28), -18px -18px 54px rgba(255, 255, 255, 0.74);
}

.panel-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-title-row h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.panel-help {
  margin: 12px 0 18px;
  color: var(--muted);
}

.suggestions,
.results {
  display: grid;
  gap: 10px;
}

.suggestion-button,
.result-button {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.72);
  color: var(--ink);
  text-align: left;
  padding: 12px;
  box-shadow: var(--inset);
}

.suggestion-button strong,
.result-button strong {
  display: block;
  margin-bottom: 4px;
}

.suggestion-button span,
.result-button span {
  color: var(--muted);
  line-height: 1.45;
}

.is-highlighted {
  animation: sectionHighlight 1.6s ease;
}

@keyframes sectionHighlight {
  0% {
    box-shadow: inset 0 0 0 4px rgba(15, 118, 110, 0.32);
  }
  100% {
    box-shadow: inset 0 0 0 0 rgba(15, 118, 110, 0);
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 800;
  transform: translate(-50%, 120px);
  opacity: 0;
  width: min(520px, calc(100% - 28px));
  padding: 14px 16px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fff6e8, #dff3ee);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.active {
  transform: translate(-50%, 0);
  opacity: 1;
}

.site-footer {
  padding-top: 32px;
  padding-bottom: 42px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(117, 148, 139, 0.20);
}

@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: 1040px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .nav-links {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 82px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions {
    grid-column: 1 / -1;
    justify-content: end;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

  .hero,
  .section-heading.split,
  .operations-layout,
  .command-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 190px;
  }

  .system-visual {
    min-height: auto;
  }

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

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

@media (max-width: 700px) {
  .site-header {
    top: 10px;
    padding: 0 10px;
  }

  .nav-shell {
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
  }

  .brand span {
    font-size: 0.94rem;
    white-space: normal;
    line-height: 1.1;
  }

  .nav-actions {
    justify-content: stretch;
  }

  .nav-actions .tool-button,
  .language-select {
    flex: 1;
    min-width: 0;
  }

  .section-band,
  .quick-command,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 178px;
    padding-bottom: 50px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .hero-actions,
  .quick-command,
  .examples-toolbar,
  .manual-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .tool-button {
    width: 100%;
  }

  .console-grid,
  .feature-grid,
  .demo-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .console-panel.wide {
    grid-column: auto;
  }

  .quick-command {
    margin-top: 0;
  }

  .live-rule dl,
  .queue-head,
  .queue-row {
    grid-template-columns: 1fr;
  }

  .queue-head {
    display: none;
  }

  .video-frame,
  .video-frame video {
    min-height: 240px;
    height: 240px;
  }
}
