/* Desmos Life — site styles. Brand: ink black + white (from the logo), Aegean blue accent. */
:root {
  --ink: #0e1116;
  --ink-2: #1b2029;
  --ink-3: #2a313d;
  --paper: #fafaf7;
  --white: #ffffff;
  --line: #e6e4dd;
  --muted: #5d6470;
  --muted-2: #8a909b;
  --accent: #1e5aa8;
  --accent-2: #174a8c;
  --accent-soft: #e8eff8;
  --ok: #1d7a4f;
  --err: #b42318;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(14 17 22 / 0.06), 0 8px 28px rgb(14 17 22 / 0.08);
  --shadow-lg: 0 2px 4px rgb(14 17 22 / 0.08), 0 24px 60px rgb(14 17 22 / 0.18);
  --max: 1180px;
  --head: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--accent);
}
h1,
h2,
h3,
h4 {
  font-family: var(--head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
}
h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
p {
  margin: 0 0 1em;
}
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgb(30 90 168 / 0.3);
}
.btn-primary:hover {
  background: var(--accent-2);
}
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-ghost {
  border-color: rgb(255 255 255 / 0.35);
  color: var(--white);
}
.btn-ghost:hover {
  border-color: var(--white);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 250 247 / 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img.mark {
  height: 30px;
  width: auto;
}
.brand img.word {
  height: 15px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav .btn {
  padding: 11px 20px;
  font-size: 0.92rem;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  /* Interlocking rings: the "bond" in Δεσμός */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgb(30 90 168 / 0.45), transparent 42%),
    radial-gradient(circle at 8% 92%, rgb(30 90 168 / 0.25), transparent 40%);
}
.hero-rings {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 720px;
  opacity: 0.07;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero h1 {
  color: var(--white);
}
.hero .lead {
  color: rgb(255 255 255 / 0.78);
}
.hero .eyebrow {
  color: #8db5ea;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgb(255 255 255 / 0.85);
  font-size: 0.95rem;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points svg {
  color: #8db5ea;
  flex: none;
}
.greek {
  font-family: var(--head);
  letter-spacing: 0.4em;
  color: rgb(255 255 255 / 0.45);
  font-size: 0.85rem;
  margin-top: 36px;
}

/* Quote card */
.quote-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
}
.quote-card h2 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}
.quote-card .sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
}
.field input,
.field select {
  font: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgb(30 90 168 / 0.12);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 6px;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}
.consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--accent);
}
.form-legal {
  font-size: 0.74rem;
  color: var(--muted-2);
  margin: 8px 0 16px;
}
.quote-card .btn {
  width: 100%;
}
.hp {
  position: absolute;
  left: -5000px;
}
.form-msg {
  font-size: 0.9rem;
  margin-top: 12px;
}
.form-msg.err {
  color: var(--err);
}
.form-done {
  text-align: center;
  padding: 30px 10px;
}
.form-done .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e7f4ec;
  color: var(--ok);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

/* Trust strip */
.trust {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 30px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-right: 1px solid var(--line);
}
.trust-item:last-child {
  border-right: 0;
}
.trust-item .ico {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.trust-item strong {
  display: block;
  font-family: var(--head);
  font-size: 1rem;
  margin-bottom: 2px;
}
.trust-item span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Sections */
section {
  scroll-margin-top: 84px;
}
.section {
  padding: 104px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center .eyebrow::before {
  display: none;
}
.section-head.center .lead {
  margin: 0 auto;
}

/* Coverage cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card .ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card p {
  color: var(--muted);
  font-size: 0.98rem;
  flex: 1;
}
.card .tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}
.card.cta-card {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  justify-content: space-between;
}
.card.cta-card p {
  color: rgb(255 255 255 / 0.75);
}

/* How it works */
.steps-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 64px;
}
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
}
.step::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 76px;
  right: -14px;
  height: 2px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.step:last-child::after {
  display: none;
}
.step p {
  color: var(--muted);
}

/* Meaning / about */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-visual img {
  width: 62%;
  margin: 0 auto 30px;
}
.about-visual .greek-big {
  font-family: var(--head);
  font-size: 1.6rem;
  letter-spacing: 0.45em;
  margin-left: 0.45em;
}
.about-visual .def {
  color: rgb(255 255 255 / 0.6);
  font-size: 0.95rem;
  margin-top: 8px;
}
.values {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.value {
  display: flex;
  gap: 14px;
}
.value .ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.value strong {
  font-family: var(--head);
}
.value p {
  color: var(--muted);
  margin: 2px 0 0;
  font-size: 0.97rem;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--head);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 26px 22px;
  margin: 0;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 8px;
}
.cta-band p {
  color: rgb(255 255 255 / 0.85);
  margin: 0;
}
.cta-band img {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 280px;
  opacity: 0.06;
  pointer-events: none;
}
.cta-band > div,
.cta-band .btn {
  position: relative;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.contact-card a {
  font-weight: 600;
  text-decoration: none;
}
.contact-card p {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgb(255 255 255 / 0.7);
  padding: 72px 0 32px;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand img {
  width: 190px;
  margin-bottom: 18px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  color: rgb(255 255 255 / 0.8);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--white);
}
.footer-legal {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  margin-top: 56px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.5);
  line-height: 1.6;
}
.footer-legal p {
  margin-bottom: 10px;
}

/* Legal pages */
.legal-hero {
  background: var(--ink);
  color: var(--white);
  padding: 72px 0 56px;
}
.legal-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
}
.legal-hero p {
  color: rgb(255 255 255 / 0.65);
  margin: 0;
}
.legal {
  max-width: 820px;
  padding: 64px 24px 96px;
}
.legal h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
}
.legal h3 {
  font-size: 1.05rem;
  margin-top: 1.6em;
}
.legal p,
.legal li {
  color: var(--ink-3);
}
.legal .box {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
}
.legal .box p:last-child {
  margin: 0;
}
.toc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding-top: 56px;
    padding-bottom: 64px;
    gap: 40px;
  }
  .cards {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item:nth-child(2) {
    border-right: 0;
  }
  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .nav-links,
  .nav .btn {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav.open {
    flex-wrap: wrap;
    height: auto;
    padding: 14px 0 20px;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    order: 3;
  }
  .nav.open .nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 1.05rem;
  }
  .nav.open .btn {
    display: inline-flex;
    order: 4;
    width: 100%;
    margin-top: 8px;
  }
  .steps,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .step::after {
    display: none;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
  }
}
@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 0 18px;
  }
  .section {
    padding: 72px 0;
  }
  .cards,
  .trust-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .quote-card {
    padding: 22px;
  }
  .brand img.word {
    display: none;
  }
}

#quote-form {
  scroll-margin-top: 100px;
}
