:root {
  --bg: #f3f5f8;
  --white: #ffffff;
  --ink: #0b1220;
  --muted: #5c6575;
  --line: #dfe3ea;
  --navy: #163c78;
  --navy-soft: #e8eef8;
  --check: #1a7f4b;
  --shadow: 0 20px 50px rgba(11, 18, 32, 0.08);
  --radius: 18px;
  --max: 1120px;
}

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

html {
  font-size: 80%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.15rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.55rem 0.8rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 245, 248, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a,
.nav span {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3d4656;
  letter-spacing: 0.01em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a[aria-current="page"] {
  font-weight: 600;
}

.nav-login {
  background: var(--white);
  color: var(--ink) !important;
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}

.nav-login:hover {
  background: #eef1f6 !important;
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 8px;
}

.nav-cta:hover {
  background: #102a58 !important;
}

.menu-toggle {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero {
  padding: 4.6rem 0 3.4rem;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(22, 60, 120, 0.08), transparent 60%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 3.5rem;
  align-items: end;
}

.hero-copy {
  max-width: 40rem;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 36rem;
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}

.hero-product {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 2rem;
  align-items: center;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.stat-row {
  display: grid;
  gap: 1.15rem;
}

.stat-row strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 4.8rem 0;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.6rem;
}

.section-intro:last-child {
  margin-bottom: 0;
}

.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.capability-list article {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.9rem;
  background: var(--white);
  padding: 1.55rem 1.5rem;
}

.capability-list span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy);
  padding-top: 0.2rem;
}

.capability-list p {
  margin: 0;
  font-size: 0.95rem;
}

.capability-list h3:last-child {
  margin-bottom: 0;
}

.capability-list article:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.product-stage + .capability-list {
  margin-top: 2.8rem;
}

.capability-list + .checks {
  margin-top: 1.6rem;
}

.section-product {
  background: #e9edf3;
}

.section-product + .section-product {
  padding-top: 0;
}

.section-product + .section-contact {
  padding-top: 4.8rem;
}

.product-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2.8rem;
  align-items: center;
}

.product-copy .btn {
  margin-top: 0.4rem;
}

.checks {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.checks li {
  position: relative;
  padding: 0.38rem 0 0.38rem 1.55rem;
  color: #334155;
  font-size: 0.98rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy);
}

.app-window {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #d7dde6;
  overflow: hidden;
}

.app-window img {
  width: 100%;
  display: block;
}

.app-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #f8f9fb;
}

.app-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9ced8;
}

.product-logo {
  margin: 0 0 1rem;
  line-height: 0;
}

.product-logo img,
.product-lockup {
  height: 112px;
  width: auto;
}

.product-lockup {
  margin: 0 0 1.35rem;
}

.product-name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.product-name img {
  height: 1.15em;
  width: auto;
  flex-shrink: 0;
}

.app-chrome .product-name {
  margin: 0 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #6b7383;
}

.app-chrome .product-name img {
  height: 1.05em;
}

.shot-frame {
  overflow: hidden;
  background: #eef1f5;
}

.shot-frame img + img {
  border-top: 1px solid var(--line);
}

.dialog-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
}

.dialog-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.dialog-card img {
  width: 100%;
  height: auto;
}

.feature-tablist {
  display: inline-flex;
  gap: 0.3rem;
  margin-bottom: 2.2rem;
  padding: 0.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.feature-tab {
  border: 0;
  background: transparent;
  color: #3d4656;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.62rem 1.15rem;
  border-radius: 8px;
  cursor: pointer;
}

.feature-tab:hover {
  color: var(--ink);
}

.feature-tab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
}

.feature-tab:focus-visible {
  outline: 2px solid #9bb4de;
  outline-offset: 2px;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel {
  align-items: start;
}

.feature-shot {
  justify-self: end;
  width: min(100%, 662px);
}

.feature-shot-compact {
  justify-self: start;
  width: min(100%, 440px);
}

.feature-panel-roster {
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.feature-panel-roster .product-copy {
  max-width: 40rem;
}

.feature-shot-roster {
  justify-self: stretch;
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  font-size: 1.06rem;
}

.section-contact {
  padding-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.3rem;
  box-shadow: var(--shadow);
}

.contact-email a {
  color: var(--navy);
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #f7f8fb;
  color: var(--ink);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.contact-form select {
  cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid #9bb4de;
  outline-offset: 1px;
  background: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  background: var(--navy);
  color: #fff;
  padding: 0.82rem 1.15rem;
  border-radius: 8px;
}

.btn:hover {
  background: #102a58;
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: #eef1f6;
}

.form-status {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 1.8rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner img {
  height: 42px;
  width: auto;
}

.footer-inner p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-admin-link {
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-admin-link:hover {
  color: var(--navy);
}

/* Admin Login & Ticketing System */
.admin-main {
  min-height: calc(100vh - 165px);
}

.admin-login-card {
  max-width: 440px;
  margin: 1.5rem auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.3rem;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.admin-login-sub {
  font-size: 0.94rem;
  margin-bottom: 1.4rem;
}

.admin-error {
  color: #b42318;
  font-weight: 500;
  font-size: 0.88rem;
}

.admin-dashboard-section {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

body.is-ticketing-app .admin-main {
  min-height: 100vh;
}

.ticketing-app-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(11, 18, 32, 0.04);
}

.ticketing-app-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.55rem 0;
}

.ticketing-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.ticketing-brand-icon {
  height: 26px;
  width: auto;
}

.ticketing-brand-title {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ticketing-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ticketing-back-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.ticketing-back-link:hover {
  color: var(--navy);
  background: #eef1f6;
}

.ticketing-workspace {
  padding-top: 2.2rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.admin-eyebrow-row .eyebrow {
  margin-bottom: 0;
}

.admin-mailbox-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.22rem 0.68rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--check);
}

.admin-topbar h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 0.35rem;
}

.admin-subtitle {
  margin: 0;
  font-size: 0.95rem;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 0.52rem 0.9rem;
  font-size: 0.86rem;
}

.btn-close-ticket {
  background: var(--check);
  color: #fff;
}

.btn-close-ticket:hover {
  background: #14663b;
}

.admin-new-ticket-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow);
}

.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.admin-panel-header h2 {
  font-size: 1.3rem;
  margin: 0;
}

.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.admin-form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.new-ticket-subject-preview {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.admin-product-tabs {
  margin: 0 0 1.4rem;
}

.admin-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-filter-tabs {
  margin-bottom: 0;
}

.tab-count {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  font-size: 0.76rem;
  background: rgba(11, 18, 32, 0.08);
}

.feature-tab[aria-selected="true"] .tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.admin-search-wrap {
  flex: 1 1 280px;
  max-width: 380px;
}

.admin-search-input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.68rem 0.9rem;
  font: inherit;
  font-size: 0.9rem;
}

.admin-search-input:focus {
  outline: 2px solid #9bb4de;
  outline-offset: 1px;
}

.admin-sync-banner {
  background: var(--navy-soft);
  color: var(--navy);
  border: 1px solid #cddbf2;
  border-radius: 10px;
  padding: 0.65rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.admin-sync-banner.is-error {
  background: #fef3f2;
  color: #b42318;
  border-color: #fecdca;
}

.admin-tickets-list {
  display: grid;
  gap: 1.15rem;
}

.admin-empty-state {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.8rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
}

.ticket-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow);
}

.ticket-card.is-closed {
  background: #fafbfc;
}

.ticket-closed-stamp {
  position: absolute;
  top: 1.35rem;
  right: 9.5rem;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  transform: rotate(-12deg);
}

.ticket-closed-stamp span {
  display: inline-block;
  padding: 0.28rem 0.9rem;
  border: 3px solid rgba(217, 45, 32, 0.78);
  border-radius: 6px;
  color: rgba(217, 45, 32, 0.82);
  background: rgba(254, 243, 242, 0.72);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.1;
  box-shadow: inset 0 0 0 1px rgba(217, 45, 32, 0.32);
}

.badge-closed {
  background: #fef3f2;
  color: #b42318;
  border: 1px solid #fecdca;
}

.ticket-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.ticket-badges-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.ticket-id-badge {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  background: var(--navy-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.ticket-product-badge {
  font-size: 0.74rem;
  font-weight: 650;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #eef1f6;
  color: #334155;
}

.ticket-status-badge {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.58rem;
  border-radius: 999px;
}

.badge-open {
  background: #e6f4ed;
  color: var(--check);
}

.ticket-date {
  font-size: 0.82rem;
  color: var(--muted);
}

.ticket-body-title {
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.45rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.ticket-sender {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}

.ticket-meta-sep {
  color: #b0b8c5;
  margin: 0 0.15rem;
}

.ticket-subject-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.ticket-sender a {
  color: var(--navy);
  text-decoration: none;
}

.ticket-sender a:hover {
  text-decoration: underline;
}

.ticket-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.meta-chip {
  font-size: 0.8rem;
  background: #f3f5f8;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.22rem 0.6rem;
  color: #334155;
}

.ticket-message-box {
  background: #f7f8fb;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.1rem;
}

.ticket-message-body {
  margin: 0;
  color: var(--ink);
  white-space: pre-wrap;
  font-size: 0.95rem;
}

.ticket-notes-section {
  border-top: 1px solid var(--line);
  padding-top: 0.95rem;
}

.ticket-notes-header h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.ticket-no-notes {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.ticket-notes-list {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.ticket-note-item {
  background: var(--navy-soft);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.ticket-note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.ticket-note-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  white-space: pre-wrap;
}

.ticket-note-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.ticket-note-image {
  display: block;
  max-width: min(100%, 420px);
  max-height: 280px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: zoom-in;
}

.ticket-note-form {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.ticket-note-compose {
  flex: 1;
  min-width: 0;
}

.ticket-note-pending {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.ticket-note-pending-item {
  position: relative;
}

.ticket-note-pending-item img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.ticket-note-pending-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.ticket-note-input {
  width: 100%;
  border: 1px solid var(--line);
  background: #f7f8fb;
  color: var(--ink);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.88rem;
  resize: vertical;
  min-height: 2.7rem;
}

.note-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(10, 16, 32, 0.82);
  cursor: zoom-out;
}

.note-image-viewer[hidden] {
  display: none;
}

.note-image-viewer img {
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  border-radius: 8px;
  background: var(--white);
}

.ticket-note-input:focus {
  outline: 2px solid #9bb4de;
  outline-offset: 1px;
  background: var(--white);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 76px 1.25rem auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0.85rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
    box-shadow: var(--shadow);
  }

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

  .nav a,
  .nav span {
    padding: 0.7rem 0.5rem;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .hero-product,
  .product-stage,
  .contact-grid,
  .capability-list,
  .about-grid,
  .dialog-row,
  .admin-form-row {
    grid-template-columns: 1fr;
  }

  .ticket-card-header,
  .ticket-note-form {
    flex-direction: column;
  }

  .ticket-closed-stamp {
    top: 1rem;
    right: 1rem;
  }

  .feature-tablist {
    display: flex;
    width: 100%;
    overflow-x: auto;
  }

  .feature-tab {
    flex: 1 0 auto;
    white-space: nowrap;
  }

  .feature-shot,
  .feature-shot-compact {
    justify-self: stretch;
    width: 100%;
  }

  .hero {
    padding-top: 2.6rem;
  }

  h1 {
    font-size: 1.9rem;
  }
}

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