/* Thadian sales homepage — marine blue / turquoise / pine green */
:root {
  --ink: #0b1f2a;
  --ink-soft: #2a4a58;
  --fog: #e4f2f4;
  --paper: #f2f8f9;
  --marine: #0a3d4d;
  --marine-deep: #062833;
  --turquoise: #1aa6a6;
  --turquoise-soft: #5ec8c5;
  --pine: #1b5c45;
  --pine-deep: #0e3a2c;
  --line: rgba(10, 61, 77, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(26, 166, 166, 0.12), transparent 55%),
    radial-gradient(900px 420px at 0% 20%, rgba(27, 92, 69, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: #fff; padding: 0.5rem 0.75rem; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #eef9f8;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 28s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 40, 51, 0.45) 0%, rgba(10, 61, 77, 0.78) 46%, rgba(14, 58, 44, 0.94) 100%),
    linear-gradient(115deg, rgba(26, 166, 166, 0.28), transparent 52%);
}
.hero-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0 3.5rem;
}
.brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  animation: rise 0.9s ease both;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.15;
  max-width: 16ch;
  margin: 0 0 0.85rem;
  animation: rise 0.9s ease 0.08s both;
}
.hero-support {
  max-width: 38rem;
  margin: 0 0 1.75rem;
  color: rgba(238, 249, 248, 0.9);
  font-size: 1.05rem;
  animation: rise 0.9s ease 0.16s both;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: rise 0.9s ease 0.24s both;
}
.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 0.35rem;
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--turquoise);
  color: #04242b;
}
.btn-primary:hover { background: var(--turquoise-soft); }
.btn-ghost {
  background: transparent;
  border-color: rgba(238, 249, 248, 0.45);
  color: #eef9f8;
}
.btn-ghost:hover { border-color: #eef9f8; }

.section {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--turquoise);
  margin: 0 0 0.65rem;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 18ch;
  color: var(--marine-deep);
}
.section-lead {
  max-width: 40rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}
.proof {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(26, 166, 166, 0.12), transparent 60%),
    var(--fog);
  border-block: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
.price-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.55rem;
  padding: 1.35rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover,
.price-card:focus-visible {
  border-color: var(--turquoise);
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 10px 28px rgba(10, 61, 77, 0.08);
}
.price-card.is-featured {
  border-color: var(--pine);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(228, 242, 244, 0.95));
}
.price-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin: 0;
  color: var(--marine);
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.price-row .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--pine-deep);
}
.price-row .period { color: var(--ink-soft); font-size: 0.95rem; }
.price-card .blurb { margin: 0; color: var(--ink-soft); min-height: 3.2em; }
.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}
.price-card li {
  padding: 0.4rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.price-card .btn-primary {
  color: #04242b;
  justify-content: center;
  margin-top: 0.5rem;
}
.price-note {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact {
  background:
    linear-gradient(135deg, var(--marine-deep), var(--pine-deep) 55%, #0a4a4a);
  color: #eef9f8;
}
.contact .section { padding-block: 4rem; }
.contact h2 { color: #eef9f8; }
.contact p { color: rgba(238, 249, 248, 0.9); max-width: 36rem; }
.contact .btn-primary { color: #04242b; }
.contact-eyebrow { color: var(--turquoise-soft); }
.contact-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.05fr; align-items: start; }
}
.contact-alt { margin-top: 1.25rem; font-size: 0.95rem; }
.contact-alt a { color: var(--turquoise-soft); text-underline-offset: 3px; }

.intake-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid rgba(238, 249, 248, 0.22);
  border-radius: 0.55rem;
  background: rgba(6, 40, 51, 0.35);
}
.field-row { display: grid; gap: 0.35rem; }
.field-row label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }
.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  border: 1px solid rgba(238, 249, 248, 0.28);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.8rem;
}
.field-row textarea { resize: vertical; min-height: 6rem; }
.intake-form .btn-primary { justify-content: center; margin-top: 0.25rem; }
.form-status { margin: 0; min-height: 1.25rem; font-size: 0.9rem; color: rgba(238, 249, 248, 0.85); }
.form-status.is-ok { color: #9ee6c8; }
.form-status.is-err { color: #ffc9b8; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.chat-widget {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  display: grid;
  justify-items: end;
  gap: 0.65rem;
}
.chat-toggle {
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: var(--turquoise);
  color: #04242b;
  box-shadow: 0 10px 28px rgba(6, 40, 51, 0.28);
}
.chat-panel {
  width: min(360px, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #f7fbfc;
  color: var(--ink);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(6, 40, 51, 0.22);
  animation: rise 0.35s ease both;
}
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(120deg, var(--marine), var(--pine));
  color: #eef9f8;
}
.chat-close {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.chat-log {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  max-height: 280px;
  overflow: auto;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(26, 166, 166, 0.08), transparent 55%),
    #f7fbfc;
}
.chat-bubble {
  max-width: 92%;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.chat-bubble.assistant {
  justify-self: start;
  background: #e7f3f4;
  border: 1px solid var(--line);
}
.chat-bubble.user {
  justify-self: end;
  background: var(--marine);
  color: #eef9f8;
}
.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
}
.chat-form input {
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.65rem 0.7rem;
  font: inherit;
}
.chat-form .btn-primary { padding-inline: 0.95rem; }

.site-foot {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.82rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
