:root {
  --bg: #f6f7f2;
  --ink: #151713;
  --muted: #62685e;
  --line: #dfe3d8;
  --panel: #ffffff;
  --white: #ffffff;
  --accent: #2f6f3e;
  --accent-ink: #ffffff;
  --soft: #edf2e7;
  --dark: #11140f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.coming-soon-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 20%, rgba(47, 111, 62, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(246, 247, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.coming-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 64px);
}

.brand img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.main-nav a,
.login-link,
.hero-actions a,
.site-footer a {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

.admin-login-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.coming-main {
  min-height: calc(100vh - 96px);
  display: grid;
  place-items: center;
  padding: 40px 20px 80px;
}

.coming-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(820px, 100%);
  text-align: center;
}

.coming-panel img {
  width: clamp(120px, 18vw, 190px);
  height: clamp(120px, 18vw, 190px);
  object-fit: contain;
}

.coming-panel h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 86px);
}

.admin-dialog {
  width: min(420px, calc(100vw - 40px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(36, 42, 31, 0.2);
}

.admin-dialog::backdrop {
  background: rgba(17, 20, 15, 0.35);
  backdrop-filter: blur(4px);
}

.admin-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
}

.admin-form h2 {
  margin-bottom: 0;
  font-size: 30px;
}

.admin-form p {
  color: var(--muted);
}

.admin-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.admin-form input {
  width: 100%;
  border: 1px solid #cfd6c7;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.admin-form button[type="submit"] {
  min-height: 46px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.admin-error {
  margin: 0;
  color: #9a3412;
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
  padding: clamp(56px, 9vw, 108px) clamp(20px, 5vw, 72px) 52px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 111, 62, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  max-width: 720px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.demo-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
}

.primary-action,
.demo-form button {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(36, 42, 31, 0.12);
}

.panel-row {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--panel);
}

.panel-row span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.panel-row strong {
  font-size: 20px;
}

.content-section,
.demo-section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

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

.section-heading p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(36, 42, 31, 0.05);
}

.process-list p {
  max-width: 920px;
  color: var(--muted);
  font-size: 18px;
}

.badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
}

.feature-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid article,
.use-case-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 14px 40px rgba(36, 42, 31, 0.06);
}

.feature-grid p,
.use-case-grid p,
.security-list p,
.demo-section p {
  color: var(--muted);
}

.dark-band {
  background: var(--dark);
  color: var(--white);
}

.dark-band .section-heading h2,
.dark-band .section-heading p:not(.eyebrow),
.dark-band h3 {
  color: var(--white);
}

.security-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.security-list > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  padding: 26px;
  background: #171a14;
}

.use-case-grid span {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-weight: 800;
}

.evidence-panel {
  margin-top: 18px;
  padding: 28px;
  border: 1px solid #d8c06d;
  border-radius: 8px;
  background: #f5e7ae;
}

.evidence-panel h3 {
  margin-bottom: 8px;
}

.evidence-panel p {
  margin-bottom: 0;
  color: #272313;
  font-size: 18px;
}

.demo-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: start;
  background: var(--soft);
}

.demo-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 55px rgba(36, 42, 31, 0.09);
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.demo-form input,
.demo-form textarea {
  width: 100%;
  border: 1px solid #cfd6c7;
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.demo-form textarea {
  resize: vertical;
}

.demo-form button {
  cursor: pointer;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 30px;
  text-align: center;
}

.not-found img {
  width: 132px;
  height: 132px;
  object-fit: contain;
}

.not-found h1 {
  margin-bottom: 0;
  font-size: clamp(38px, 8vw, 72px);
}

.not-found p {
  color: var(--muted);
}

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

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

  .hero,
  .demo-section {
    grid-template-columns: 1fr;
  }

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

  .process-list article {
    grid-template-columns: 1fr;
  }

  .security-list > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 14px 18px;
    gap: 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .login-link {
    min-height: 38px;
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-text {
    font-size: 18px;
  }
}
