/* Clinidanth marketing site */
:root {
  --teal: #0E4F4A; --teal-2: #146159; --teal-deep: #0A3834; --mint: #8FCFC2; --mint-soft: #DDEFEA;
  --ivory: #FAF7F1; --sand: #F1ECE2; --ink: #1B2624; --muted: #52615D; --line: #DCE5E1; --white: #FFFFFF;
  --coral: #E0795B; --good: #1E6B4E;
  --f-display: "Marcellus", Georgia, serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding-inline: 20px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--teal); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
  background: var(--teal); color: #fff; font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--teal-2); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-ghost:hover { background: var(--mint-soft); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(250, 247, 241, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-deep); text-decoration: none; font: 400 26px/1 var(--f-display); }
.wm-mark { width: 34px; height: 34px; }
.wm-mark rect { fill: var(--teal); }
.wm-mark path { fill: var(--ivory); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav-links a:not(.btn):hover { color: var(--teal); }
.nav-toggle { display: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--teal); background: transparent; color: var(--teal); font: 600 15px var(--f-body); }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(56px, 8vw, 104px); background:
  radial-gradient(900px 480px at 88% 10%, rgba(143, 207, 194, .35), transparent 70%),
  radial-gradient(700px 400px at 0% 100%, rgba(224, 121, 91, .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.eyebrow-light { color: var(--mint); }
.hero h1 { font-family: var(--f-display); font-size: clamp(38px, 5.4vw, 62px); line-height: 1.08; color: var(--teal-deep); letter-spacing: -.01em; }
.lead { margin: 22px 0 0; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { margin: 18px 0 0; font-size: 14.5px; color: var(--muted); }

.hero-visual { position: relative; }
.mock { background: var(--white); border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(10, 56, 52, .28), 0 0 0 1px var(--line); padding: 18px; transform: rotate(-1.2deg); }
.mock-bar { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mock-dot { width: 30px; height: 30px; border-radius: 9px; background: var(--mint); }
.mock-title { font: 400 22px/1 var(--f-display); color: var(--teal-deep); }
.mock-date { margin-left: auto; font-size: 13px; color: var(--muted); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.mock-stats div { background: var(--ivory); border-radius: 12px; padding: 12px; }
.mock-stats b { display: block; font: 400 28px/1 var(--f-display); color: var(--teal); }
.mock-stats span { font-size: 12.5px; color: var(--muted); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-top: 1px solid var(--line); }
.mock-time { font-weight: 700; font-size: 14px; color: var(--teal); width: 44px; }
.mock-line { display: grid; flex: 1; min-width: 0; }
.mock-line b { font-size: 14.5px; font-weight: 600; }
.mock-line small { font-size: 12.5px; color: var(--muted); }
.chip { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--teal); white-space: nowrap; }
.chip-new { background: #FCE7DF; color: #A2472C; }
.mock-float { position: absolute; right: -18px; bottom: -34px; display: grid; gap: 2px; background: var(--teal-deep); color: #fff; padding: 14px 18px; border-radius: 16px; box-shadow: 0 18px 40px -12px rgba(10, 56, 52, .5); transform: rotate(2deg); }
.float-label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.mock-float b { font: 400 26px/1.1 var(--f-display); }
.mock-float small { font-size: 12.5px; color: #CFE6E1; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tint { background: var(--sand); }
.section-dark { background: var(--teal-deep); color: #EAF4F1; }
.section-title { font-family: var(--f-display); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; color: var(--teal-deep); max-width: 24ch; }
.section-dark .section-title { color: #fff; }
.section-lead { margin: 14px 0 0; color: var(--muted); max-width: 62ch; }
.section-dark .section-lead { color: #CFE6E1; }

.features { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.features li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.features h3 { font: 600 17px/1.3 var(--f-body); color: var(--teal-deep); }
.features p { margin: 8px 0 0; font-size: 15px; color: var(--muted); }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.option { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: 0 1px 0 var(--line); }
.option-tag { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.option h3 { font: 400 24px/1.2 var(--f-display); color: var(--teal-deep); }
.option-url { display: inline-block; margin: 12px 0 4px; padding: 6px 12px; border-radius: 10px; background: var(--mint-soft); color: var(--teal); font: 600 14px/1.3 ui-monospace, "Cascadia Mono", monospace; overflow-wrap: anywhere; }
.option p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

.data-grid, .khata, .demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding: 16px 18px 16px 52px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230E4F4A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks b { color: var(--ink); font-weight: 600; }

.khata-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.khata-list li { padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }

.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: step; position: relative; padding: 60px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 20px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; font-size: 15px; }
.steps b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* Demo form */
.lead-form, .lead-done { background: var(--white); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 20px 50px -24px rgba(10, 56, 52, .3); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin: 0 0 14px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--muted); font-size: 13.5px; }
input[type=text], input[type=tel], textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--white); }
textarea { resize: vertical; }
input:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(20, 97, 89, .18); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.roles { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.roles legend { margin-bottom: 6px; }
.roles label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 15px; color: var(--muted); }
.consent input, .roles input { width: 18px; height: 18px; accent-color: var(--teal); margin-top: 3px; flex: none; }
.privacy { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.form-status { display: none; margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #FBE9E7; color: #A4261D; font-weight: 600; font-size: 15px; }
.form-status.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-done h3 { font: 400 28px/1.2 var(--f-display); color: var(--teal-deep); }
.lead-done p { color: var(--muted); }

.footer { padding-block: 28px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14.5px; }
.footer p { margin: 0; }

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .data-grid, .khata, .demo-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 12px auto 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 20px 20px; background: var(--ivory); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; }
  .options, .steps { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .mock-float { right: 8px; bottom: -28px; }
  .mock { transform: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .mock-stats b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
