:root {
  --bg: #f4f6f3;
  --bg-elevated: #ffffff;
  --ink: #152028;
  --ink-muted: #4a5a66;
  --line: #d5ddd6;
  --brand: #0d4f4a;
  --brand-deep: #083833;
  --brand-soft: #e4f0ed;
  --accent: #b85c2e;
  --accent-soft: #f8ebe3;
  --ok: #1f6b4a;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(21, 32, 40, 0.08);
  --max: 1180px;
  --font: "Onest", "Segoe UI", sans-serif;
  --display: "Literata", "Georgia", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(13, 79, 74, 0.08), transparent 40%),
    radial-gradient(circle at 88% 0%, rgba(184, 92, 46, 0.07), transparent 35%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(244, 246, 243, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  padding: 3.2rem 0 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: 1.75rem;
  align-items: start;
}

.hero-copy {
  max-width: none;
  min-width: 0;
}

.hero-visual {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.hero-intro {
  grid-column: 1 / -1;
}

.hero-intro h1 {
  margin-bottom: 0;
}

.hero-meta {
  grid-column: 1 / -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0.7rem 0 0 var(--accent),
    1.4rem 0 0 var(--accent);
  margin-right: 1.5rem;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-muted);
  max-width: 42rem;
  margin: 0 0 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.chip-accent {
  background: var(--accent-soft);
  color: #7a3a18;
}

.hero-visual,
.screen-frame,
.legal-docs figure {
  margin: 0;
  background: #1d3447;
  border: none;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(21, 49, 72, 0.18);
  overflow: hidden;
  padding: 3px;
}

.hero-visual img,
.screen-frame img,
.legal-docs img {
  width: 100%;
  border-radius: 7px;
  display: block;
}

.hero-caption,
.screen-frame > figcaption {
  display: none;
}

.legal-docs .screen-frame > figcaption {
  display: block;
  padding: 0.75rem 0.5rem 0.35rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

section {
  padding: 2.4rem 0;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 46rem;
}

.section-head p + p {
  margin-top: 0.65rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  height: 100%;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.card h3 {
  margin-bottom: 0.45rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.wrap > .panel + .panel {
  margin-top: 1rem;
}

.two-col > .panel,
.price-box > .panel,
.contact-grid > .panel,
.price-box > .price-main {
  height: 100%;
  margin-top: 0;
}

.two-col > .panel + .panel,
.price-box > .panel + .panel,
.contact-grid > .panel + .panel {
  margin-top: 0;
}

.list {
  margin: 0;
  padding-left: 1.15rem;
}

.list li {
  margin: 0.4rem 0;
}

.list li::marker {
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elevated);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 650;
  width: 38%;
}

tr:last-child td {
  border-bottom: none;
}

.price-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: stretch;
}

.price-box > * {
  height: 100%;
}

.price-main {
  background: linear-gradient(145deg, var(--brand) 0%, #14665f 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 2px);
  padding: 1.6rem 1.7rem;
}

.price-main h2,
.price-main p {
  color: inherit;
}

.price-value {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  margin: 0.4rem 0 0.2rem;
}

.price-note {
  opacity: 0.9;
  margin: 0;
}

.docs-list {
  display: grid;
  gap: 0.75rem;
}

.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
}

.doc-item:hover {
  border-color: var(--brand);
}

.doc-item strong {
  display: block;
}

.doc-item span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1rem;
}

.gallery-wide {
  grid-template-columns: repeat(2, 1fr);
}

.gallery figure {
  margin: 0;
  background: #1d3447;
  border: none;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(21, 49, 72, 0.18);
  overflow: hidden;
  padding: 3px;
}

.gallery img {
  width: 100%;
  border-radius: 7px;
  display: block;
}

.gallery figcaption {
  display: none;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.strip article {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.strip strong {
  display: block;
  margin-bottom: 0.25rem;
}

.strip span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
}

.flow div {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border-radius: 999px;
  text-align: center;
  padding: 0.7rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.legal-docs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.legal-docs img {
  background: #fff;
}

.interface-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.interface-legend li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.interface-legend .mark {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff4d6;
  color: #7a5a00;
  font-size: 0.85rem;
  font-weight: 650;
}

.blockquote {
  margin: 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}

.note {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  padding: 0.9rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.contact-card dt {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.contact-card dd {
  margin: 0 0 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-card dd:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #eef2ef;
  padding: 1.8rem 0 2.2rem;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid strong {
  color: var(--ink);
  display: block;
  margin-bottom: 0.45rem;
}

.footer-grid a {
  display: inline-block;
  margin: 0.15rem 0;
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--brand);
}

.page-title {
  padding: 2.4rem 0 0.5rem;
}

.page-title .lead {
  margin-bottom: 0;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-bottom: 0.8rem;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 0 0 1.2rem 1.3rem;
  border-left: 2px solid var(--line);
}

.timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.4rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--brand);
}

.timeline strong {
  display: block;
  margin-bottom: 0.2rem;
}

@media (max-width: 920px) {
  .hero-grid,
  .card-grid,
  .two-col,
  .price-box,
  .gallery,
  .gallery-wide,
  .strip,
  .flow,
  .legal-docs,
  .interface-legend,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
