:root {
  --ink: #162028;
  --muted: #5c6975;
  --line: #d8e0e6;
  --paper: #ffffff;
  --soft: #f5f7f2;
  --panel: #edf4f8;
  --coral: #e45f45;
  --coral-dark: #bd442f;
  --blue: #2766a7;
  --teal: #168a8b;
  --green: #487c47;
  --shadow: 0 18px 45px rgba(22, 32, 40, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--coral-dark);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid rgba(216, 224, 230, 0.86);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

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

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

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-links a[aria-current="page"] {
  color: var(--coral-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.55rem 0.7rem;
  font-weight: 800;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  border: 1px solid var(--coral);
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.72rem 1rem;
  box-shadow: 0 8px 22px rgba(228, 95, 69, 0.18);
}

.button:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
}

.button.small {
  min-height: 36px;
  padding: 0.45rem 0.75rem;
}

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

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 3rem;
  padding: 5.5rem 0 4rem;
}

.page-hero {
  padding: 4.5rem 0 2.2rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--coral-dark);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  font-size: 4.85rem;
  max-width: 980px;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0;
  overflow-wrap: anywhere;
}

.lead {
  margin-top: 1.35rem;
  max-width: 780px;
  color: var(--muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.product-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  min-width: 0;
}

.visual-top {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.visual-top img {
  border-radius: 18px;
}

.visual-top strong {
  display: block;
  font-size: 1.55rem;
}

.visual-top span,
.task-row span,
.site-footer span {
  color: var(--muted);
}

.visual-board {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.task-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.9rem;
  background: #fff;
}

.task-row.urgent {
  background: #fff5f1;
  border-color: #f0b5a7;
}

.task-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.task-row em {
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
}

.dot.teal {
  background: var(--teal);
}

.dot.green {
  background: var(--green);
}

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.assurance-strip div {
  padding: 1.3rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.assurance-strip strong {
  display: block;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.assurance-strip span {
  display: block;
  margin-top: 0.25rem;
  color: #d8e0e6;
}

.section {
  padding: 4.8rem max(16px, calc((100% - 1180px) / 2));
}

.section.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  margin-bottom: 1.5rem;
}

.section-heading p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid,
.safeguard-grid,
.sample-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.feature-card,
.sample-card,
.contact-card,
.safeguard-grid article,
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
}

.feature-card p,
.sample-card p,
.contact-card p,
.safeguard-grid p,
.review-card p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.icon-block {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  color: #fff;
  font-weight: 900;
}

.icon-block.coral { background: var(--coral); }
.icon-block.blue { background: var(--blue); }
.icon-block.teal { background: var(--teal); }
.icon-block.green { background: var(--green); }

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--panel);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

td {
  color: var(--muted);
  overflow-wrap: anywhere;
}

td:first-child {
  color: var(--ink);
  font-weight: 800;
}

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

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.56fr);
  gap: 2rem;
  align-items: start;
}

.two-column p {
  color: var(--muted);
}

.check-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  margin: 0.65rem 0;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--green);
}

.review-card {
  background: var(--panel);
}

.review-card h2,
.review-card h3 {
  font-size: 1.35rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 900;
}

.policy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 1fr);
  gap: 2rem;
  align-items: center;
  background: var(--panel);
}

.policy-band p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.policy-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.policy-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  padding: 1rem;
}

.page {
  min-height: 70vh;
}

.answer-box,
.copy-block,
.source-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
}

.answer-box p + p {
  margin-top: 0.85rem;
}

.copy-block {
  overflow-x: auto;
  white-space: pre-wrap;
  color: #24323d;
  overflow-wrap: anywhere;
}

.copy-block code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.source-list p {
  margin-top: 0.8rem;
  color: var(--muted);
}

.source-list ul,
.legal-content ul {
  margin: 1rem 0 0;
}

.source-list li,
.legal-content li {
  margin: 0.55rem 0;
  color: var(--muted);
}

.check-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.legal-content {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1rem 0 4.5rem;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.45rem;
}

.legal-content p {
  margin-top: 0.75rem;
  color: var(--muted);
}

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

.contact-card .button {
  margin-top: 1rem;
  width: 100%;
  overflow-wrap: anywhere;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--ink);
  font-weight: 900;
}

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

.form-field input,
.form-field select {
  min-height: 44px;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(39, 102, 167, 0.16);
}

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

.form-status {
  flex: 1;
  min-width: 220px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }

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

  .hero,
  .two-column,
  .policy-band,
  .contact-form-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 3.5rem;
  }

  .assurance-strip,
  .feature-grid,
  .safeguard-grid,
  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.35rem;
  }
}

@media (max-width: 820px) {
  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
    min-width: 0;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 0.85rem;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  tr {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
  }

  td {
    display: grid;
    grid-template-columns: minmax(8.5rem, 0.42fr) 1fr;
    gap: 0.8rem;
    align-items: start;
    border-bottom: 1px solid var(--line);
    padding: 0.9rem;
  }

  td::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 900;
  }

  td:first-child {
    background: var(--panel);
  }

  td:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .page-hero {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    gap: 2rem;
    padding-bottom: 2.5rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .lead {
    font-size: 1.04rem;
  }

  .product-visual {
    padding: 0.85rem;
  }

  .assurance-strip,
  .feature-grid,
  .safeguard-grid,
  .sample-grid,
  .policy-links,
  .check-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .form-status {
    min-width: 0;
  }

  .assurance-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .section {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    top: 64px;
  }

  .brand span {
    max-width: 9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .visual-top {
    align-items: flex-start;
  }

  .visual-top img {
    width: 64px;
    height: 64px;
  }

  .task-row {
    grid-template-columns: auto 1fr;
  }

  .task-row em {
    grid-column: 2;
  }

  td {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  h1 {
    font-size: 2.12rem;
  }

  h2 {
    font-size: 1.72rem;
  }
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

.app-screenshots {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scroll-snap-type: x mandatory;
}
.app-screenshots::-webkit-scrollbar {
  height: 6px;
}
.app-screenshots::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 4px;
}
.app-screenshots img {
  height: 380px;
  width: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  scroll-snap-align: center;
  border: 1px solid var(--line);
  object-fit: contain;
  background: var(--paper);
}

.app-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.app-gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-gallery-item img {
  max-width: 100%;
  height: auto;
  max-height: 520px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  margin-bottom: 1.25rem;
  object-fit: contain;
  background: var(--paper);
}

.app-gallery-item h3 {
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.app-gallery-item p {
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 280px;
}
