:root {
  color-scheme: light;
  --ink: #10231d;
  --muted: #5e6f68;
  --paper: #f5f2eb;
  --paper-deep: #e8e2d4;
  --forest: #103b31;
  --forest-2: #0a2a24;
  --mint: #57d6a3;
  --sage: #a4c8b4;
  --clay: #c46f45;
  --amber: #e9b95b;
  --blue: #7395b8;
  --white: #fffdf8;
  --line: rgba(16, 35, 29, 0.14);
  --shadow: 0 28px 70px rgba(16, 35, 29, 0.14);
  --radius: 8px;
  font-family:
    "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 59, 49, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 59, 49, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

main {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(245, 242, 235, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(16, 59, 49, 0.18);
}

.brand strong {
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 0.15rem;
}

.nav,
.header-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 0;
}

.nav a,
.header-cta,
.language-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  color: rgba(16, 35, 29, 0.74);
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
}

.header-actions {
  justify-content: flex-end;
}

.language-toggle {
  display: inline-flex;
  gap: 0.35rem;
  cursor: pointer;
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.language-toggle span:first-child {
  color: var(--forest);
}

.header-cta,
.primary-action,
.contact-form button {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 14px 30px rgba(16, 59, 49, 0.18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(2rem, 6vw, 6rem);
  min-height: calc(100vh - 84px);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem) 4rem;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.9rem);
  font-weight: 500;
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  max-width: 13ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero-lead,
.section p,
.contact p {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

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

.app-download {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
  background:
    radial-gradient(circle at 12% 10%, rgba(87, 214, 163, 0.16), transparent 30%),
    var(--forest-2);
  color: var(--white);
}

.app-download h2 {
  max-width: 14ch;
}

.app-download .download-copy > p:not(.section-kicker) {
  color: rgba(255, 253, 248, 0.72);
}

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

.download-actions.is-downloading .download-apk {
  cursor: progress;
  opacity: 0.82;
}

.download-apk {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--forest-2);
  box-shadow: 0 18px 42px rgba(87, 214, 163, 0.2);
}

.download-meta {
  max-width: 25ch;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.83rem;
  line-height: 1.45;
}

.download-progress {
  flex: 1 1 100%;
  max-width: min(100%, 31rem);
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(2, 17, 14, 0.42);
  color: rgba(255, 253, 248, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.download-progress__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
  font-size: 0.86rem;
}

.download-progress__header strong {
  color: var(--mint);
  font-variant-numeric: tabular-nums;
}

.download-progress__track {
  position: relative;
  overflow: hidden;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.download-progress__track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), #f8d66d);
  transition: width 180ms ease;
}

.download-progress__track.is-indeterminate span {
  width: 42%;
  animation: download-indeterminate 1.1s ease-in-out infinite;
}

@keyframes download-indeterminate {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(240%);
  }
}

.download-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.download-card img {
  border-radius: 18px;
}

.download-card strong,
.download-card span {
  display: block;
}

.download-card strong {
  margin-top: 0.65rem;
  font-size: 1.25rem;
}

.download-card span,
.download-card p {
  color: rgba(255, 253, 248, 0.65);
}

.download-card ol,
.download-card p {
  grid-column: 1 / -1;
}

.download-card ol {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.55;
}

.download-card p {
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  line-height: 1.55;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--line);
  font-weight: 800;
}

.secondary-action {
  color: var(--forest);
  background: rgba(255, 253, 248, 0.7);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 720px;
  margin: 2.7rem 0 0;
}

.trust-strip div {
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}

.trust-strip dt {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--forest);
}

.trust-strip dd {
  margin: 0.22rem 0 0;
  color: var(--muted);
}

.signal-panel {
  position: relative;
  min-height: min(680px, 78vh);
  border: 1px solid rgba(16, 35, 29, 0.12);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 72% 22%, rgba(233, 185, 91, 0.2), transparent 18%),
    radial-gradient(circle at 28% 72%, rgba(87, 214, 163, 0.2), transparent 22%),
    linear-gradient(135deg, #173d34, #081f1c 55%, #152f2a);
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle, black, transparent 75%);
}

.map-stage {
  position: absolute;
  inset: 8%;
}

.coordinate {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 12px rgba(87, 214, 163, 0.14);
}

.c-one {
  left: 16%;
  top: 24%;
}

.c-two {
  right: 18%;
  top: 48%;
  background: var(--amber);
}

.c-three {
  left: 46%;
  bottom: 14%;
  background: var(--blue);
}

.route-line {
  position: absolute;
  left: 18%;
  top: 28%;
  width: 64%;
  height: 46%;
  border: 1px solid rgba(255, 253, 248, 0.42);
  border-left: 0;
  border-bottom: 0;
  transform: skew(-18deg);
}

.status-card {
  position: absolute;
  width: min(280px, 62%);
  padding: 1.1rem;
  color: var(--white);
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 16px;
  backdrop-filter: blur(14px);
}

.status-card span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.status-card strong {
  display: block;
  font-size: 1.2rem;
}

.status-card small {
  display: block;
  margin-top: 0.45rem;
  color: rgba(255, 253, 248, 0.78);
}

.case-card {
  left: 4%;
  top: 12%;
}

.sos-card {
  right: 0;
  top: 42%;
}

.weather-card {
  left: 18%;
  bottom: 2%;
}

.brand-system,
.section,
.contact {
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
}

.brand-system {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.brand-grid,
.workflow-grid,
.audience-grid,
.risk-board {
  display: grid;
  gap: 1rem;
}

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

.brand-grid article,
.workflow-grid article,
.audience-grid article,
.risk-board article,
.capability-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(255, 253, 248, 0.7);
}

.brand-mark {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 1.2rem;
  border-radius: 50%;
}

.forest {
  background: var(--forest);
}

.mint {
  background: var(--mint);
}

.amber {
  background: var(--amber);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.capability-list {
  display: grid;
  gap: 0.9rem;
}

.capability-list span,
.workflow-grid span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow {
  background: var(--forest);
  color: var(--white);
}

.workflow .section-kicker,
.workflow-grid span {
  color: var(--amber);
}

.workflow h2 {
  color: var(--white);
}

.workflow p,
.workflow-grid p {
  color: rgba(255, 253, 248, 0.72);
}

.workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
}

.workflow-grid article {
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.16);
}

.intelligence {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3rem;
  background: linear-gradient(135deg, rgba(232, 226, 212, 0.8), rgba(255, 253, 248, 0.72));
}

.risk-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.risk-board strong {
  display: block;
  margin-bottom: 0.65rem;
}

.risk-board span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.voice-samples {
  display: grid;
  gap: 1rem;
}

blockquote {
  margin: 0;
  padding: 1.5rem;
  border-left: 4px solid var(--clay);
  background: rgba(232, 226, 212, 0.55);
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.45;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--forest);
  font-weight: 800;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1rem;
  font-weight: 900;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  background: var(--forest-2);
  color: var(--white);
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: rgba(255, 253, 248, 0.68);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 253, 248, 0.8);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .brand-system,
  .split,
  .intelligence,
  .proof,
  .app-download,
  .contact {
    grid-template-columns: 1fr;
  }

  .signal-panel {
    min-height: 560px;
  }

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

@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    position: static;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0.8rem 1rem;
  }

  .brand {
    width: 100%;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand small {
    max-width: 22ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-actions {
    justify-content: flex-start;
    gap: 0.35rem;
  }

  .header-cta {
    display: none;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
    gap: 0.25rem;
    margin-inline: 0;
    overflow: visible;
  }

  .nav a {
    padding: 0.64rem 0.25rem;
    font-size: 0.92rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
    overflow: hidden;
  }

  .hero-copy,
  .hero-lead {
    max-width: 100%;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    line-height: 1.5;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.25rem, 10.8vw, 2.9rem);
    line-height: 1;
  }

  h2 {
    max-width: 11ch;
  }

  .trust-strip,
  .brand-grid,
  .workflow-grid,
  .audience-grid,
  .risk-board {
    grid-template-columns: 1fr;
  }

  .hero-actions a {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .signal-panel {
    min-height: 500px;
    border-radius: 18px;
  }

  .status-card {
    width: 78%;
  }

  .case-card {
    left: 0;
  }

  .sos-card {
    right: 0;
    top: 38%;
  }

  .weather-card {
    left: 5%;
  }

  .section-heading,
  .site-footer {
    display: grid;
  }

  blockquote {
    font-size: 1.12rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .coordinate {
    animation: pulse 3.4s ease-in-out infinite;
  }

  .c-two {
    animation-delay: 0.8s;
  }

  .c-three {
    animation-delay: 1.4s;
  }

  .status-card {
    animation: float 6s ease-in-out infinite;
  }

  .sos-card {
    animation-delay: 1.2s;
  }

  .weather-card {
    animation-delay: 2s;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 10px rgba(87, 214, 163, 0.12);
  }

  50% {
    box-shadow: 0 0 0 22px rgba(87, 214, 163, 0.02);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}
