:root {
  --sp-row: 56px;
  --sp-portrait: 4 / 5;
  --sp-portrait-w: 280px;
  --sp-portrait-s: 112px;
  --sp-measure: 640px;
  --sp-person-w: 520px;
  --sp-stat-note: 240px;
  --sp-stat-col: 128px;
  --sp-fact-w: 260px;
}

.ef-plan, .ef-prices__g li, .ef-int, .ef-article, .ef-panel {
  border: 0; border-radius: var(--radius-2); background: var(--fill-soft); box-shadow: none;
}

.ef-plans-sec .ef-pricing { gap: var(--space-40); }
.ef-plans { gap: var(--space-8); }
.ef-plan { padding: var(--space-28) var(--space-24) var(--space-32); }
.ef-plan--rec { background: var(--card); box-shadow: var(--sys-lift); }
.ef-plan h3 { font-family: var(--font-display); font-size: var(--text-display-4); font-weight: 500; line-height: 1.2; }
.ef-plan__rec { font-size: var(--text-label); letter-spacing: var(--track-small); font-weight: 500; color: var(--muted-foreground); }
.ef-plan__p b { font-weight: 400; }
.ef-plan > p:not([class]) { color: var(--body); }
.ef-plan .ef-btn { width: 100%; }
@supports (grid-template-rows: subgrid) {
  .ef-plans > .ef-plan { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: var(--space-12); align-content: start; }
  .ef-plans > .ef-plan > * { align-self: start; }
  .ef-plans > .ef-plan > .ef-btn { margin: var(--space-8) 0; }
}
.ef-plan--wide { padding: var(--space-28) var(--space-32); }
.ef-plan--wide h3 { font-size: var(--text-display-4); }
.ef-plan--wide .ef-btn { width: auto; }
.ef-seg label small { color: var(--muted-foreground); }

.ef-table-wrap { background: none; box-shadow: none; border-radius: 0; }
.ef-table { border-collapse: separate; border-spacing: 0; }
.ef-table th, .ef-table td { border-top: 0; height: var(--sp-row); }
.ef-table tbody tr:nth-child(even of :not(.ef-table__g)) > * { background: var(--fill-soft); }
.ef-table tbody tr:not(.ef-table__g) > :first-child { border-radius: var(--radius-2) 0 0 var(--radius-2); }
.ef-table tbody tr:not(.ef-table__g) > :last-child { border-radius: 0 var(--radius-2) var(--radius-2) 0; }
.ef-table thead th { height: auto; padding-bottom: var(--space-8); font-family: var(--font-display); font-size: var(--text-display-4); font-weight: 500; }
.ef-table :is(th, td):first-child { background: var(--background); }
.ef-table tbody tr:nth-child(odd of :not(.ef-table__g)) > :first-child { background: transparent; }
.ef-table tbody tr:nth-child(even of :not(.ef-table__g)) > :first-child { background: var(--fill-soft); }
.ef-table__g th { height: auto; padding: var(--space-40) var(--space-20) var(--space-8); background: var(--background); }
.ef-table tbody tr:first-child th { padding-top: var(--space-8); }
.ef-table tbody th { color: var(--foreground); }
@media (max-width: 640px) { .ef-table__g th { padding-inline: var(--space-12); } }

.ef-prices { gap: var(--space-32); }
.ef-prices__g { padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ef-prices__g h3 { margin: 0 0 var(--space-12); font-size: var(--text-label); letter-spacing: var(--track-small); font-weight: 500; line-height: 1.4; color: var(--muted-foreground); }
.ef-prices__g ul { display: grid; gap: var(--space-4); }
.ef-prices__g li, .ef-prices__g li:first-child { align-items: center; min-height: var(--sys-row); padding: var(--space-14) var(--space-20); border-top: 0; }
.ef-prices__g b { font-family: var(--font-display); font-size: var(--text-display-4); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.ef-prices__p { font-size: var(--text-body-lg); }
@media (max-width: 760px) {
  .ef-prices__g b { font-size: var(--text-display-4-sm); }
}

.ef-about-story { grid-template-columns: minmax(0, 1fr); gap: var(--space-80); }
.ef-about-story .ef-prose { max-width: var(--sp-measure); margin-left: calc((100% - 2 * var(--space-32)) / 3 + var(--space-32)); font-size: var(--text-body-lg); }
.ef-about-story .ef-prose > p:nth-child(2), .ef-about-story .ef-prose > p:nth-child(4), .ef-about-story .ef-prose > p:nth-child(5) {
  font-family: var(--font-display); font-size: var(--text-display-4); line-height: 1.35; color: var(--foreground); text-wrap: balance;
}
.ef-about-story .ef-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-32); }
.ef-about-story .ef-stats__row { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); border-top: 0; padding: 0; }
.ef-about-story .ef-stats__row p { max-width: var(--sp-stat-note); padding-top: 0; font-size: var(--text-small); color: var(--muted-foreground); }
.ef-about-story .ef-stat { font-weight: 300; }
.ef-about-story .ef-stat__u { color: var(--foreground); }
@media (max-width: 1100px) { .ef-about-story { gap: var(--space-64); } .ef-about-story .ef-prose { margin-left: 0; } }
@media (max-width: 640px) {
  .ef-about-story { gap: var(--space-48); }
  .ef-about-story .ef-stats { grid-template-columns: minmax(0, 1fr); gap: var(--space-20); }
  .ef-about-story .ef-stats__row { grid-template-columns: var(--sp-stat-col) minmax(0, 1fr); align-items: center; gap: var(--space-16); }
}

.ef-people--open { gap: var(--space-48); }
.ef-people--open .ef-person { gap: var(--space-32); padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ef-people--open .ef-person img { width: 100%; height: auto; aspect-ratio: var(--sp-portrait); border-radius: var(--radius-2); }
.ef-people--open .ef-person h3 { font-family: var(--font-display); font-size: var(--text-display-4); font-weight: 500; }
.ef-people--open .ef-person p:not(.ef-person__r) { color: var(--body); line-height: 1.6; }
@media (min-width: 641px) {
  .ef-people--open { gap: var(--space-64); }
  .ef-people--open .ef-person { display: flex; flex-direction: column; gap: var(--space-24); }
  .ef-people--open .ef-person img { width: var(--sp-portrait-w); }
  .ef-people--open .ef-person > div { display: flex; flex-direction: column; gap: var(--space-4); max-width: var(--sp-person-w); }
  .ef-people--open .ef-person p:not(.ef-person__r) { margin-top: var(--space-12); }
}
@media (min-width: 641px) and (max-width: 1100px) { .ef-people--open { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-40); } .ef-people--open .ef-person img { width: min(var(--sp-portrait-w), 100%); } }
@media (max-width: 640px) {
  .ef-people--open { gap: var(--space-40); }
  .ef-people--open .ef-person { grid-template-columns: var(--sp-portrait-s) minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: var(--space-4) var(--space-20); align-items: start; }
  .ef-people--open .ef-person p:last-child { margin-top: var(--space-16); }
  .ef-people--open .ef-person > div { display: contents; }
  .ef-people--open .ef-person img { grid-row: 1 / span 2; }
  .ef-people--open .ef-person p:last-child { grid-column: 1 / -1; }
}

.ef-setup--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-40); }
@media (max-width: 1100px) { .ef-setup--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ef-setup--4 { grid-template-columns: minmax(0, 1fr); gap: var(--space-32); } }

.ef-search .ef-input { background: var(--fill-soft); box-shadow: none; }
.ef-search .ef-input:hover { background: var(--fill); box-shadow: none; }

.ef-ints { gap: var(--space-8); }
.ef-int { padding: var(--space-24); }
.ef-int__mono { background: var(--card); font: 500 var(--text-label)/1 var(--font-sans); letter-spacing: 0; }
.ef-int h3 { font-family: var(--font-display); font-size: var(--text-display-4); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; }
.ef-int__s { font-size: var(--text-label); letter-spacing: var(--track-small); font-weight: 500; color: var(--muted-foreground); white-space: nowrap; }
.ef-int__s--live { color: var(--foreground); }
.ef-int p:last-child { color: var(--body); }
@media (max-width: 640px) {
  .ef-int { padding: var(--space-14) var(--space-16); }
  .ef-int__s { grid-area: s; }
  .ef-int h3 { font-family: var(--font-sans); font-size: var(--text-body); font-weight: 500; }
}

.ef-route { border-radius: var(--radius-2); background: var(--fill-soft); box-shadow: none; }

.ef-index--plain { margin-inline: 0; }
.ef-index--plain .ef-index__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--fill-soft); }
@media (max-width: 760px) { .ef-index--plain { margin-inline: 0; } .ef-index--plain .ef-index__row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "d"; } }
.ef-facts4 h3 { max-width: var(--sp-fact-w); text-wrap: balance; }
.ef-sec-checks { margin-top: var(--space-48); gap: var(--space-12) var(--space-32); color: var(--body); font-weight: 400; }
@media (max-width: 640px) { .ef-sec-checks { flex-direction: column; } }

.ef-articles { gap: var(--space-8); }
.ef-article { padding: var(--space-28) var(--space-24) var(--space-24); }
.ef-article .ef-label { margin-bottom: var(--space-8); }
.ef-article h3 { font-family: var(--font-display); font-size: var(--text-display-4); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.ef-article p { color: var(--body); }
.ef-article--feature { padding: var(--space-40) var(--space-32) var(--space-32); }
.ef-article--feature h3 { max-width: var(--sp-measure); font-weight: 500; font-size: var(--text-display-sub); line-height: 1.12; }

.ef-gl dl, .ef-gl__teaser { display: grid; gap: var(--space-4); }
.ef-gl__t { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "t d" "k d"; grid-template-rows: auto 1fr; align-content: start; column-gap: var(--space-32); padding: var(--space-20) var(--space-24); border-top: 0; border-radius: var(--radius-2); background: var(--fill-soft); }
.ef-gl__t dt { grid-area: t; font-family: var(--font-display); font-size: var(--text-display-4); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; }
.ef-gl__t dd { grid-area: d; margin-top: 0; }
.ef-gl__t dd.ef-gl__k { grid-area: k; align-self: start; margin-top: var(--space-6); font-size: var(--text-label); letter-spacing: var(--track-small); font-weight: 500; color: var(--muted-foreground); }
.ef-gl__teaser .ef-gl__t { grid-template-areas: "t d"; }
@media (max-width: 900px) {
  .ef-gl__t, .ef-gl__teaser .ef-gl__t { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "k" "d"; padding: var(--space-16); }
  .ef-gl__t dd:not(.ef-gl__k) { margin-top: var(--space-10); }
  .ef-gl__t dt { font-size: var(--text-display-4-sm); }
}
.ef-az { position: static; justify-content: flex-start; margin-bottom: var(--space-56); padding: 0; border-radius: 0; background: none; box-shadow: none; }
.ef-gl__g h2 { padding-top: var(--space-20); }

.ef-contact__l .ef-badge { align-self: flex-start; }
.ef-contact__l .ef-route { margin-top: var(--space-8); }
.ef-contact__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24) var(--space-32); margin-top: var(--space-8); }
.ef-contact__rows li { display: block; padding: 0; border-top: 0; }
.ef-contact__rows li > span:last-child { gap: var(--space-4); }
@media (max-width: 640px) { .ef-contact__rows { grid-template-columns: minmax(0, 1fr); gap: var(--space-20); } }
@media (max-width: 640px) { .ef-contact__rows a { position: relative; } .ef-contact__rows a::after { content: ""; position: absolute; inset: calc((var(--control-lg) - 23px) / -2) 0; } }
.ef-panel { padding: var(--space-40); }
.ef-panel .ef-input { background: var(--card); }
@media (max-width: 640px) { .ef-panel { padding: var(--space-20); } }
