:root {
  --brand: #0f8f83;
  --brand-dark: #0b5f58;
  --brand-soft: #e3f6f3;
  --ink: #15211f;
  --muted: #5d6f6b;
  --line: #d7e7e4;
  --surface: #ffffff;
  --surface-alt: #f6fbfa;
  --shadow: 0 18px 48px rgba(14, 95, 88, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
}

body {
  margin: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand img {
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.hero,
.page-hero,
.section,
.document {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 48px;
  padding: 54px 0 72px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.lead {
  margin: 20px 0 0;
  max-width: 680px;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 750;
  line-height: 1.45;
}

.body-text,
.app-card p,
.feature-card p,
.document p,
.note {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #ffffff;
  background: var(--brand);
}

.button.secondary {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.button.disabled {
  opacity: 0.7;
  cursor: default;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 30% 22%, rgba(15, 143, 131, 0.18), transparent 32%),
    linear-gradient(145deg, #f7fffd, #dff3f0);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: min(68%, 260px);
  border-radius: 24%;
  filter: drop-shadow(0 24px 28px rgba(11, 95, 88, 0.16));
}

.section {
  padding: 72px 0;
}

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

.section-intro {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.brand-film {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: clamp(28px, 6vw, 64px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 8%, rgba(15, 143, 131, 0.2), transparent 19rem),
    linear-gradient(145deg, #f9fffd, #e7f5f2);
  box-shadow: var(--shadow);
}

.brand-film-copy {
  max-width: 620px;
}

.brand-film-copy h2 {
  max-width: 520px;
}

.brand-film-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.brand-film-copy .brand-film-note {
  font-size: 0.88rem;
  line-height: 1.65;
}

.brand-film-player {
  width: min(100%, 360px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  background: #071516;
  box-shadow: 0 28px 64px rgba(7, 39, 36, 0.28);
}

.brand-film-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #071516;
  object-fit: cover;
}

.brand-film-player video:focus-visible {
  outline: 4px solid var(--brand);
  outline-offset: -4px;
}

.app-grid,
.feature-grid,
.screenshot-grid {
  display: grid;
  gap: 18px;
}

.app-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(21, 33, 31, 0.06);
}

.app-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.text-link {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.link-band {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 28px 16px;
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.link-band a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}

.page-hero {
  padding: 64px 0 42px;
}

.page-hero.compact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.app-icon-large {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.two-column {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
}

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

.feature-card {
  padding: 22px;
}

.note {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.screenshot-card {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(21, 33, 31, 0.1);
}

.screenshot-card a {
  display: block;
  overflow: hidden;
  background: var(--brand-soft);
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 135 / 304;
  object-fit: cover;
  transition: transform 180ms ease;
}

.screenshot-card a:hover img {
  transform: scale(1.012);
}

.screenshot-card a:focus-visible {
  outline: 4px solid var(--brand-dark);
  outline-offset: -4px;
}

.screenshot-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.screenshot-card figcaption strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.screenshot-card figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.document {
  max-width: 840px;
  padding: 64px 0 90px;
}

.document section {
  margin-top: 36px;
}

.document h2,
.contact-panel h2 {
  font-size: 1.35rem;
}

.updated {
  color: var(--muted);
}

.contact-panel {
  max-width: 760px;
  padding-top: 24px;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible,
.site-footer-links a[aria-current="page"] {
  color: var(--brand-dark);
  text-decoration: underline;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

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

  .page-hero.compact,
  .two-column,
  .brand-film {
    grid-template-columns: 1fr;
  }

  .brand-film {
    padding: 30px 22px;
  }

  .brand-film-player {
    width: min(100%, 330px);
  }

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

  .screenshot-grid {
    grid-auto-columns: minmax(260px, 82%);
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 14px;
    margin-right: -16px;
    padding: 4px 16px 18px 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-color: #95c8c1 transparent;
  }

  .screenshot-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 520px) {
  .site-nav a {
    padding: 8px 9px;
    font-size: 0.9rem;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

.manual-page {
  background:
    linear-gradient(180deg, var(--brand-soft) 0, rgba(227, 246, 243, 0) 420px),
    var(--surface);
}

.manual-document {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 96px;
}

.manual-hero {
  padding: 54px 0 42px;
}

.manual-hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.8rem);
  line-height: 1.05;
}

.manual-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.manual-meta span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 750;
}

.manual-toc {
  margin: 22px 0 54px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.manual-toc h2 {
  font-size: 1.45rem;
}

.manual-toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin: 22px 0 0;
  padding-left: 1.5rem;
}

.manual-toc a {
  color: var(--brand-dark);
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.65;
}

.manual-section {
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.manual-section h2 {
  margin-bottom: 24px;
}

.manual-section h3 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.manual-section > p,
.manual-card p,
.manual-list,
.manual-steps,
.manual-section details {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.9;
}

.manual-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.manual-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.manual-card h3 {
  margin-top: 0;
}

.manual-warning,
.manual-note {
  margin: 26px 0;
  padding: 20px 22px;
  border-radius: 12px;
}

.manual-warning {
  border: 2px solid #d18b23;
  background: #fff8e8;
}

.manual-note {
  border-left: 5px solid var(--brand);
  background: var(--brand-soft);
}

.manual-warning h3,
.manual-note h3 {
  margin-top: 0;
}

.manual-warning p,
.manual-note p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.85;
}

.manual-table-wrap {
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.manual-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.manual-table th,
.manual-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.65;
}

.manual-table th {
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 0.95rem;
}

.manual-table th:first-child {
  width: 140px;
  white-space: nowrap;
}

.manual-table td:first-child {
  width: 140px;
  font-size: 1.2rem;
  font-weight: 800;
  white-space: nowrap;
}

.manual-ui-icon {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.manual-ui-icon-record {
  width: 72px;
  height: 72px;
}

.manual-voice-button-preview {
  display: grid;
  width: 96px;
  height: 96px;
  box-sizing: border-box;
  place-items: center;
  border: 5px solid #5f6a6d;
  border-radius: 50%;
  background: linear-gradient(145deg, #59c8c2, #3caaa5);
  box-shadow:
    inset 0 0 0 3px #a5e8e3,
    0 0 0 3px rgba(255, 255, 255, 0.88),
    0 0 0 7px rgba(89, 200, 194, 0.28),
    0 5px 12px rgba(40, 83, 80, 0.24);
}

.manual-control-grid {
  margin-top: 24px;
}

.manual-table tr:last-child td {
  border-bottom: 0;
}

.manual-screenshot {
  display: grid;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  margin: 30px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-alt);
}

.manual-screenshot img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 33, 31, 0.16);
}

.manual-screenshot figcaption {
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.8;
}

.manual-steps {
  display: grid;
  gap: 14px;
  padding-left: 1.8rem;
}

.manual-steps li {
  padding-left: 6px;
}

.manual-steps strong,
.manual-steps span {
  display: block;
}

.manual-steps strong {
  color: var(--ink);
  font-size: 1.08em;
}

.manual-list {
  display: grid;
  gap: 8px;
  padding-left: 1.5rem;
}

.manual-section details {
  margin: 12px 0;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.manual-section summary {
  padding: 18px 0;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.manual-section details p,
.manual-section details ol {
  margin-top: 0;
  padding-bottom: 18px;
}

.manual-contact {
  text-align: center;
}

.manual-contact p {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 700px) {
  .manual-document {
    width: min(100% - 24px, 920px);
    padding-top: 10px;
  }

  .manual-toc {
    padding: 22px 20px;
  }

  .manual-toc ol,
  .manual-card-grid,
  .manual-screenshot {
    grid-template-columns: 1fr;
  }

  .manual-section {
    padding: 42px 0;
  }

  .manual-section > p,
  .manual-card p,
  .manual-list,
  .manual-steps,
  .manual-section details {
    font-size: 1rem;
  }

  .manual-screenshot img {
    width: min(100%, 320px);
    margin: 0 auto;
  }
}

@page {
  size: A4;
  margin: 16mm 15mm 18mm;
}

@media print {
  :root {
    --ink: #111111;
    --muted: #333333;
  }

  body,
  .manual-page {
    background: #ffffff;
  }

  .no-print {
    display: none !important;
  }

  .manual-document {
    width: auto;
    padding: 0;
  }

  .manual-hero {
    padding: 0 0 12mm;
  }

  .manual-hero h1 {
    font-size: 30pt;
  }

  .manual-hero .lead {
    font-size: 16pt;
  }

  .manual-meta span {
    background: #ffffff;
  }

  .manual-toc {
    margin: 0 0 10mm;
    padding: 7mm;
    box-shadow: none;
  }

  .manual-section {
    padding: 10mm 0 0;
    break-before: page;
  }

  .manual-section h2 {
    font-size: 22pt;
  }

  .manual-section h3 {
    break-after: avoid-page;
  }

  .manual-card,
  .manual-warning,
  .manual-note,
  .manual-table-wrap,
  .manual-screenshot,
  .manual-section details,
  .manual-steps li {
    break-inside: avoid;
    box-shadow: none;
  }

  .manual-table-wrap {
    break-inside: auto;
  }

  .manual-table thead {
    display: table-header-group;
  }

  .manual-table tr {
    break-inside: avoid;
  }

  .manual-table tbody tr:nth-child(7) {
    break-before: page;
  }

  .manual-section details:not([open]) > *:not(summary) {
    display: block;
  }

  .manual-section details {
    font-size: 10.5pt;
  }

  .manual-section summary {
    list-style: none;
  }

  .manual-screenshot {
    grid-template-columns: 46mm minmax(0, 1fr);
  }

  .manual-screenshot img {
    max-height: 110mm;
  }

  .manual-voice-button-preview {
    width: 80px;
    height: 80px;
    border-width: 4px;
    box-shadow:
      inset 0 0 0 2px #a5e8e3,
      0 0 0 2px rgba(255, 255, 255, 0.88),
      0 0 0 5px rgba(89, 200, 194, 0.28);
  }

  .manual-voice-button-preview .manual-ui-icon-record {
    width: 60px;
    height: 60px;
  }

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