/* Dydaltix homepage (Care Plans). Standalone, scoped to .hp and .hp-header. No build step. */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/home/fraunces-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/home/manrope-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --hp-bg: #faf8f4;
  --hp-surface: #f3efe7;
  --hp-white: #ffffff;
  --hp-ink: #1c1917;
  --hp-muted: #57534e;
  --hp-faint: #6b645a;
  --hp-rule: #e2dccf;
  --hp-rule-strong: #cfc7b6;
  --hp-accent: #1f6f54;
  --hp-accent-dark: #17543f;
  --hp-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --hp-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hp-wrap: 1180px;
  --hp-gutter: 20px;
}

.hp,
.hp-header {
  font-family: var(--hp-sans);
  color: var(--hp-ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.hp *,
.hp-header * { box-sizing: border-box; }
.hp-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hp-wrap { width: 100%; max-width: var(--hp-wrap); margin: 0 auto; padding: 0 var(--hp-gutter); }

:where(.hp) :is(h1, h2, h3, p, ul, ol, figure, dl, dd) { margin: 0; padding: 0; }
:where(.hp) :is(ul, ol) { list-style: none; }
:where(.hp) :is(h1, h2, h3) { font-family: var(--hp-serif); font-weight: 500; color: var(--hp-ink); letter-spacing: -0.015em; }
:where(.hp) h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.05; letter-spacing: -0.025em; }
:where(.hp) h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); line-height: 1.1; }
:where(.hp) h3 { font-size: 1.3rem; line-height: 1.25; }
:where(.hp) a { color: inherit; }
.hp a:focus-visible, .hp button:focus-visible, .hp input:focus-visible, .hp textarea:focus-visible, .hp summary:focus-visible,
.hp-header a:focus-visible, .hp-header button:focus-visible {
  outline: 2px solid var(--hp-accent); outline-offset: 3px; border-radius: 3px;
}
.hp-skip { position: absolute; left: -999px; top: 8px; background: var(--hp-ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 4px; }
.hp-skip:focus { left: 8px; }

.hp-eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hp-accent); }
.hp-section { padding: 72px 0; }
.hp-rule-top { border-top: 1px solid var(--hp-rule); }

/* Buttons */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--hp-sans); font-size: 0.97rem; font-weight: 700; line-height: 1;
  padding: 15px 22px; border-radius: 6px; border: 1.5px solid var(--hp-accent);
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.hp-btn--primary { background: var(--hp-accent); color: #fff; }
.hp-btn--primary:hover { background: var(--hp-accent-dark); border-color: var(--hp-accent-dark); }
.hp-btn--ghost { background: transparent; color: var(--hp-accent); }
.hp-btn--ghost:hover { background: var(--hp-accent); color: #fff; }
.hp-btn--small { padding: 11px 16px; font-size: 0.9rem; }

/* Header */
.hp-header { position: sticky; top: 0; z-index: 50; background: var(--hp-bg); border-bottom: 1px solid var(--hp-rule); }
.hp-header__bar { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.hp-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--hp-serif); font-size: 1.35rem; font-weight: 600; color: var(--hp-ink); letter-spacing: -0.01em; }
.hp-logo__mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: var(--hp-accent); color: #fff; font-size: 1.05rem; font-weight: 600; }
.hp-nav { display: none; }
.hp-nav a { text-decoration: none; font-size: 0.95rem; font-weight: 600; color: var(--hp-muted); padding: 6px 0; }
.hp-nav a:hover { color: var(--hp-ink); }
.hp-header__right { display: flex; align-items: center; gap: 14px; }
.hp-lang { display: none; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; color: var(--hp-faint); }
.hp-lang a { text-decoration: none; padding: 2px 3px; }
.hp-lang [aria-current="true"] { color: var(--hp-ink); }
.hp-lang span[aria-disabled="true"] { opacity: .55; padding: 2px 3px; }
.hp-header__cta { display: none; }
.hp-menu-btn { font-family: var(--hp-sans); font-weight: 700; font-size: 0.9rem; background: transparent; border: 1.5px solid var(--hp-rule-strong); color: var(--hp-ink); border-radius: 6px; padding: 9px 14px; cursor: pointer; }
.hp-mobile { display: none; border-top: 1px solid var(--hp-rule); background: var(--hp-bg); }
.hp-mobile.is-open { display: block; }
.hp-mobile a { display: block; padding: 14px var(--hp-gutter); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--hp-rule); color: var(--hp-ink); }
.hp-mobile__foot { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--hp-gutter); gap: 12px; }

/* Hero */
.hp-hero { padding: 56px 0 64px; }
.hp-hero__grid { display: grid; gap: 44px; }
.hp-hero__sub { margin-top: 24px; font-size: 1.15rem; color: var(--hp-muted); max-width: 34em; }
.hp-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hp-trust { margin-top: 22px; font-size: 0.9rem; font-weight: 600; color: var(--hp-faint); }
.hp-trust span + span::before { content: "\00b7"; margin: 0 9px; color: var(--hp-rule-strong); }

/* Framed image (browser / portrait) */
.hp-frame { border: 1px solid var(--hp-rule-strong); border-radius: 10px; background: var(--hp-white); overflow: hidden; box-shadow: 0 1px 0 rgba(28,25,23,.04), 0 18px 40px -28px rgba(28,25,23,.35); }
.hp-frame__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--hp-rule); background: var(--hp-bg); }
.hp-frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--hp-rule-strong); display: block; }
.hp-frame__bar b { margin-left: 10px; height: 8px; flex: 1; max-width: 220px; border-radius: 4px; background: var(--hp-rule); display: block; }
.hp-frame__body { background: var(--hp-surface); aspect-ratio: 16 / 11; }
.hp-frame__body img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hp-portrait { border: 1px solid var(--hp-rule-strong); border-radius: 10px; overflow: hidden; background: var(--hp-surface); aspect-ratio: 4 / 5; }
.hp-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Logo strip */
.hp-clients { border-top: 1px solid var(--hp-rule); border-bottom: 1px solid var(--hp-rule); padding: 26px 0; }
.hp-clients__inner { display: grid; gap: 14px; align-items: center; }
.hp-clients__label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-faint); }
.hp-clients__list { display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; }
.hp-clients__list li { font-family: var(--hp-serif); font-size: 1.2rem; font-weight: 500; color: #7a7268; letter-spacing: -0.01em; }
.hp-clients__list img { display: block; height: 28px; width: auto; filter: grayscale(1); opacity: .7; }

/* Problem */
.hp-problem { padding: 88px 0; }
.hp-problem__lead { font-family: var(--hp-serif); font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; max-width: 20em; }
.hp-problem__mid { margin-top: 28px; font-family: var(--hp-serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.3; color: var(--hp-muted); max-width: 26em; }
.hp-problem__end { margin-top: 12px; font-family: var(--hp-serif); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.3; color: var(--hp-accent); font-weight: 600; }

/* What you get */
.hp-get__grid { display: grid; gap: 36px; }
.hp-get__intro p { margin-top: 16px; color: var(--hp-muted); max-width: 22em; }
.hp-list { display: grid; }
.hp-list li { border-top: 1px solid var(--hp-rule); padding: 22px 0 24px; }
.hp-list h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.hp-list p { margin-top: 6px; color: var(--hp-muted); font-size: 0.98rem; }
.hp-tag { font-family: var(--hp-sans); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-accent); }

/* Plans */
.hp-plans { background: var(--hp-surface); border-top: 1px solid var(--hp-rule); border-bottom: 1px solid var(--hp-rule); }
.hp-plans__head p { margin-top: 14px; color: var(--hp-muted); max-width: 34em; }
.hp-plans__row { margin-top: 44px; display: grid; gap: 0; border: 1px solid var(--hp-rule-strong); border-radius: 10px; background: var(--hp-bg); overflow: hidden; }
.hp-plan { padding: 30px 26px 32px; display: flex; flex-direction: column; border-top: 1px solid var(--hp-rule-strong); position: relative; }
.hp-plan:first-child { border-top: 0; }
.hp-plan--pop { background: var(--hp-white); box-shadow: inset 0 3px 0 var(--hp-accent); }
.hp-plan__flag { position: absolute; top: 14px; right: 18px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-accent); }
.hp-plan__name { font-family: var(--hp-serif); font-size: 1.5rem; font-weight: 500; }
.hp-plan__price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.hp-plan__price strong { font-family: var(--hp-serif); font-size: 3.1rem; line-height: 1; font-weight: 500; letter-spacing: -0.03em; }
.hp-plan__price span { color: var(--hp-faint); font-weight: 600; font-size: 0.95rem; }
.hp-plan__lead { margin-top: 14px; font-size: 0.95rem; color: var(--hp-muted); }
.hp-plan ul { margin-top: 20px; display: grid; gap: 11px; flex: 1; }
.hp-plan li { position: relative; padding-left: 26px; font-size: 0.97rem; }
.hp-plan li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 11px; height: 6px; border-left: 2px solid var(--hp-accent); border-bottom: 2px solid var(--hp-accent); transform: rotate(-45deg); }
.hp-plan .hp-btn { margin-top: 28px; width: 100%; }

.hp-compare-wrap { margin-top: 56px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hp-compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.hp-compare th, .hp-compare td { padding: 13px 14px; border-bottom: 1px solid var(--hp-rule-strong); text-align: center; }
.hp-compare thead th { font-family: var(--hp-serif); font-size: 1.05rem; font-weight: 600; border-bottom: 2px solid var(--hp-ink); }
.hp-compare th:first-child, .hp-compare td:first-child { text-align: left; padding-left: 0; font-weight: 600; }
.hp-compare tbody th { font-family: var(--hp-sans); font-weight: 600; font-size: 0.95rem; }
.hp-compare .is-pop { background: rgba(31, 111, 84, 0.06); }
.hp-tick { display: inline-block; width: 18px; height: 18px; vertical-align: middle; }
.hp-dash { color: var(--hp-rule-strong); font-weight: 700; }
.hp-note { margin-top: 22px; font-size: 0.92rem; color: var(--hp-muted); }

/* Steps */
.hp-steps { display: grid; gap: 0; margin-top: 44px; counter-reset: s; }
.hp-step { border-top: 1px solid var(--hp-ink); padding: 22px 0 28px; }
.hp-step__n { font-family: var(--hp-serif); font-size: 2.6rem; line-height: 1; color: var(--hp-accent); font-weight: 400; }
.hp-step h3 { margin-top: 14px; }
.hp-step p { margin-top: 8px; color: var(--hp-muted); max-width: 22em; }

/* Other services */
.hp-other { padding: 64px 0; }
.hp-other__grid { margin-top: 30px; display: grid; gap: 0; border-top: 1px solid var(--hp-rule); }
.hp-other__item { padding: 26px 0; border-bottom: 1px solid var(--hp-rule); }
.hp-other__item p { margin-top: 8px; color: var(--hp-muted); max-width: 30em; }
.hp-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--hp-accent); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.hp-link:hover { color: var(--hp-accent-dark); }

/* Work */
.hp-work__item { display: grid; gap: 26px; padding: 40px 0; border-top: 1px solid var(--hp-rule); }
.hp-work__meta { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-faint); }
.hp-work__item h3 { margin-top: 8px; font-size: 1.7rem; }
.hp-work__item p { margin-top: 10px; color: var(--hp-muted); max-width: 30em; }

/* About */
.hp-about__grid { display: grid; gap: 34px; align-items: center; }
.hp-about__text p { margin-top: 16px; font-size: 1.12rem; max-width: 30em; }
.hp-about__text h2 { max-width: 12em; }
.hp-about__sign { margin-top: 22px; font-family: var(--hp-serif); font-size: 1.35rem; font-style: italic; color: var(--hp-accent); }

/* Reviews */
.hp-reviews__list { margin-top: 36px; display: grid; gap: 0; }
.hp-quote { border-top: 1px solid var(--hp-rule); padding: 28px 0; }
.hp-quote blockquote { margin: 0; font-family: var(--hp-serif); font-size: 1.3rem; line-height: 1.4; font-weight: 400; }
.hp-quote figcaption { margin-top: 14px; font-size: 0.92rem; color: var(--hp-muted); }
.hp-quote figcaption strong { color: var(--hp-ink); }

/* FAQ */
.hp-faq__list { margin-top: 32px; border-bottom: 1px solid var(--hp-rule); }
.hp-faq details { border-top: 1px solid var(--hp-rule); }
.hp-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-family: var(--hp-serif); font-size: 1.2rem; font-weight: 500; position: relative; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--hp-sans); font-size: 1.5rem; font-weight: 300; color: var(--hp-accent); }
.hp-faq details[open] summary::after { content: "\2212"; }
.hp-faq details p { padding: 0 40px 22px 0; color: var(--hp-muted); max-width: 40em; }

/* Form */
.hp-check { background: var(--hp-accent-dark); color: #f3efe7; }
.hp-check h2 { color: #fff; }
.hp-check .hp-eyebrow { color: #8fd0b4; }
.hp-check__grid { display: grid; gap: 36px; }
.hp-check__intro p { margin-top: 16px; color: #d6d0c4; max-width: 26em; }
.hp-form { display: grid; gap: 16px; }
.hp-fld label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 6px; color: #f3efe7; }
.hp-fld label small { font-weight: 500; color: #d6d0c4; }
.hp-fld input, .hp-fld textarea { width: 100%; font-family: var(--hp-sans); font-size: 1rem; color: var(--hp-ink); background: #faf8f4; border: 1.5px solid transparent; border-radius: 6px; padding: 13px 14px; }
.hp-fld textarea { min-height: 120px; resize: vertical; }
.hp-fld input:focus-visible, .hp-fld textarea:focus-visible { outline: 2px solid #8fd0b4; outline-offset: 2px; }
.hp-fld .hp-err { display: none; margin-top: 6px; font-size: 0.86rem; color: #ffb4a8; }
.hp-fld.has-error .hp-err { display: block; }
.hp-fld.has-error input, .hp-fld.has-error textarea { border-color: #ffb4a8; }
.hp-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp-form__fine { font-size: 0.84rem; color: #d6d0c4; }
.hp-form__fine a { color: #fff; }
.hp-check .hp-btn--primary { background: #faf8f4; color: var(--hp-ink); border-color: #faf8f4; }
.hp-check .hp-btn--primary:hover { background: #fff; }
.hp-form__status { display: none; padding: 16px 18px; border-radius: 6px; font-weight: 600; }
.hp-form__status.is-ok { display: block; background: #e6f2ec; color: #123f2f; }
.hp-form__status.is-bad { display: block; background: #fbe9e5; color: #6f1d12; }
.hp-btn[disabled] { opacity: .65; cursor: progress; }

@media (min-width: 700px) {
  :root { --hp-gutter: 32px; }
  .hp-section { padding: 96px 0; }
  .hp-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .hp-other__grid { grid-template-columns: 1fr 1fr; gap: 0 56px; }
  .hp-reviews__list { grid-template-columns: repeat(3, 1fr); gap: 0 36px; }
  .hp-quote { border-top: 1px solid var(--hp-ink); }
  .hp-clients__inner { grid-template-columns: 200px 1fr; }
  .hp-plans__row { grid-template-columns: repeat(3, 1fr); }
  .hp-plan { border-top: 0; border-left: 1px solid var(--hp-rule-strong); }
  .hp-plan:first-child { border-left: 0; }
  .hp-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 960px) {
  .hp-nav { display: flex; gap: 26px; }
  .hp-lang { display: inline-block; }
  .hp-header__cta { display: inline-flex; }
  .hp-menu-btn, .hp-mobile { display: none !important; }
  .hp-hero { padding: 88px 0 96px; }
  .hp-hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 72px; align-items: center; }
  .hp-get__grid { grid-template-columns: 4fr 8fr; gap: 64px; }
  .hp-work__item { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
  .hp-work__item:nth-child(even) { grid-template-columns: 1fr 1.3fr; }
  .hp-work__item:nth-child(even) .hp-work__media { order: 2; }
  .hp-about__grid { grid-template-columns: 5fr 7fr; gap: 80px; }
  .hp-check__grid { grid-template-columns: 5fr 6fr; gap: 80px; }
}
@media (prefers-reduced-motion: reduce) { .hp *, .hp-header * { transition: none !important; scroll-behavior: auto !important; } }
html { scroll-padding-top: 76px; }

/* Clip visually-hidden text inside the scrolling table, and never allow sideways page scroll */
.hp-compare-wrap { position: relative; }
.hp { overflow-x: clip; }

/* Hero photo (no browser bar) and photo-free About section */
.hp-photo { border: 1px solid var(--hp-rule-strong); border-radius: 10px; overflow: hidden; background: var(--hp-surface); box-shadow: 0 1px 0 rgba(28,25,23,.04), 0 18px 40px -28px rgba(28,25,23,.35); aspect-ratio: 16 / 11; }
.hp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hp-clients__list img { height: 32px; }
.hp-facts { margin-top: 30px; border-top: 1px solid var(--hp-rule); }
.hp-facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--hp-rule); }
.hp-facts dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hp-faint); }
.hp-facts dd { font-family: var(--hp-serif); font-size: 1.3rem; line-height: 1.3; }
.hp-about__head .hp-about__sign { margin-top: 18px; }
@media (min-width: 700px) { .hp-facts > div { grid-template-columns: 190px 1fr; gap: 24px; align-items: baseline; } }
@media (min-width: 960px) { .hp-about__grid { align-items: start; } .hp-about__text { padding-top: 6px; } }
