:root {
  --bg: #eef1f4;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --line: #d8dee5;
  --brand: #0f766e;
  --brand-strong: #115e59;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top right, #f8fafc 0%, var(--bg) 60%);
  color: var(--ink);
  font-family: Arial;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238, 241, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: none;
}

.header-wrap {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: Arial;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--brand);
}

.brand img {
  display: block;
  width: auto;
  height: 30px;
  max-width: none;
  object-fit: fill;
  border-radius: 0;
  box-shadow: none;
}

.brand span {
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--ink);
  background: #ffffff;
  box-shadow: var(--shadow);
}

main {
  flex: 1;
  padding: 18px 0 16px;
}

.home-hero {
  min-height: calc(100vh - 56px - 56px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

body[data-page="home"] main {
  padding: 0;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("site-assets/two hands.png") center center / cover no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.home-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  gap: 4px;
  position: relative;
  z-index: 1;
}

.home-intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.home-app-logo {
  width: auto;
  height: 98px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin-bottom: 0;
}

.home-app-name {
  margin: -2px 0 0;
  color: var(--brand);
  font-family: Arial;
  font-size: clamp(1.14rem, 2vw, 1.74rem);
  line-height: 1.05;
}

.home-tagline {
  margin: 22px 0 0;
  color: #111111;
  font-size: clamp(1.72rem, 3.3vw, 2.45rem);
  font-weight: 700;
  line-height: 1.15;
}

.home-description {
  margin: 6px 0 0;
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.home-actions {
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-actions .btn {
  min-width: 190px;
}

.hero-grid,
.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
}

.eyebrow {
  margin: 0;
  font-family: Arial;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--brand);
}

h1 {
  margin: 12px 0;
  font-family: Arial;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

h2 {
  margin: 0 0 8px;
  font-family: Arial;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.panel,
.card,
.form-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 24px;
}

ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  color: #ffffff;
  background: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  border-color: var(--line);
  background: #ffffff;
}

.feature-list,
.about-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.feature-item,
.about-item {
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

.legal-doc {
  padding: 24px;
}

.legal-doc h1 {
  margin-top: 0;
  margin-bottom: 12px;
}

.legal-doc h2 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.legal-doc h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-family: Arial;
  font-size: 1rem;
  color: #1f2937;
}

.legal-doc p,
.legal-doc li {
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-doc ul {
  margin-top: 6px;
  margin-bottom: 10px;
}

.legal-doc a {
  color: var(--brand);
}

body[data-page="features"] .feature-scroll-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
  overflow: visible;
}

body[data-page="features"] .feature-scroll-row .feature-item {
  background: #edf2f5;
  border: 1px solid #d5dfe7;
  border-radius: 8px;
  padding: 14px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body[data-page="features"] .card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body[data-page="features"] .card > h1 {
  margin: 0;
}

body[data-page="features"] .feature-intro {
  margin: 0;
}

body[data-page="features"] .feature-item h2 {
  color: var(--brand);
  font-size: calc(0.98rem + 3px);
  margin: 0 0 5px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 6px;
}

body[data-page="features"] .feature-item p {
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0;
  display: block;
  overflow: visible;
  padding-bottom: 0;
}

body[data-page="features"] .feature-icon {
  width: 1.18rem;
  height: 1.18rem;
  border-radius: 999px;
  background: transparent;
  border: 1.4px solid var(--brand);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex: 0 0 1.18rem;
  font-weight: 700;
}

body[data-page="features"] .feature-icon.icon-check::before {
  content: "\2713";
}

body[data-page="features"] .feature-icon.icon-email::before {
  content: "\2709";
}

body[data-page="features"] .feature-icon.icon-note::before {
  content: "\270E";
}

body[data-page="features"] .feature-icon.icon-time::before {
  content: "\23F2";
}

body[data-page="about"] .card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body[data-page="about"] .card > h1 {
  margin: 0;
}

body[data-page="about"] .about-intro {
  margin: 0;
}

body[data-page="about"] .about-mission,
body[data-page="about"] .about-full-rect {
  background: #e8f3fb;
  border: 1px solid #cddfeb;
  border-radius: 8px;
  padding: 18px;
}

body[data-page="about"] .about-mission h2 {
  color: #111111;
  display: flex;
  align-items: center;
  gap: 8px;
}

body[data-page="about"] .about-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  border: 1.4px solid var(--brand);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.2rem;
  font-size: 0.7rem;
  font-weight: 700;
}

body[data-page="about"] .about-icon::before {
  content: "\2726";
}

body[data-page="about"] .about-mission p {
  margin: 0 0 12px;
  color: #111111;
}

body[data-page="about"] .about-mission p:last-child {
  margin-bottom: 0;
}

body[data-page="about"] .about-full-rect p {
  margin: 0;
  color: #111111;
  font-weight: 700;
}

body[data-page="contact"] h2,
body[data-page="contact"] p,
body[data-page="contact"] label,
body[data-page="contact"] input,
body[data-page="contact"] textarea,
body[data-page="contact"] button {
  font-family: Arial;
}

@media (max-width: 760px) {
  body[data-page="features"] .feature-scroll-row {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

label {
  font-weight: 600;
  color: #1f2937;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cdd5df;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #ffffff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.submit-status {
  margin-top: 10px;
  min-height: 20px;
  color: var(--brand-strong);
  font-weight: 500;
}

.site-footer {
  border-top: none;
  background: #f4f6f8;
}

.footer-wrap {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #344054;
  font-size: 0.95rem;
}

.footer-wrap p {
  margin: 0;
  color: #344054;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .header-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .home-app-logo {
    height: 84px;
  }

  .home-actions .btn {
    min-width: 0;
  }

  .home-actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 14px 0;
  }
}