/* src/styles/efflow.css */
/* efflow — component stylesheet.
   Color, font, --text-* and --space-* tokens come from the Instatic framework. */

:root {
  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --nav-h: 60px;
  --r-pill: 999px;
  --r-card: 22px;
  --r-panel: 16px;
  --r-chip: 7px;
  --display: clamp(46px, 20px + 6.4vw, 108px);
  --h2: clamp(34px, 21px + 3.2vw, 64px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --line: 1px solid var(--border-primary);
  --chrome: #141210;
  --chrome-bar: #1A1816;
  --chrome-side: #110F0E;
  --orange-ink: #FF9A62;
  --red: #F2665A;
  --amber: #E8A94A;
}

/* ---------- Base ---------- */
html {
  font-size: 62.5%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 48px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg-body);
}
body {
  margin: 0;
  background: var(--bg-body);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--text-title);
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: rgba(255, 122, 51, .3); color: #fff; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.ef-skip {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  padding: 10px 16px; border-radius: 10px;
  background: var(--text-title); color: #12100E;
  font-size: var(--text-s); font-weight: 500;
}
.ef-skip:focus { top: 16px; }

.ef-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* ---------- Type ---------- */
.ef-display {
  font-size: var(--display);
  line-height: .95;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.ef-h2 {
  font-size: var(--h2);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 500;
}
.ef-line { display: block; }
.ef-serif {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.ef-display .ef-serif, .ef-h2 .ef-serif { font-size: 1.07em; line-height: .96; color: #EFE8DE; }
.ef-lead {
  font-size: var(--text-l);
  line-height: 1.55;
  color: var(--text-body);
  max-width: 30em;
  text-wrap: pretty;
}

.ef-intro { display: grid; gap: 24px; margin-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 960px) {
  .ef-intro--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: 64px; }
}

/* ---------- Buttons ---------- */
.ef-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 48px; padding: 0 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-m);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .3s var(--ease);
}
.ef-btn--light { background: var(--text-title); color: #12100E; }
.ef-btn--light:hover { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .07); }
.ef-btn--ghost { background: rgba(255, 255, 255, .02); color: var(--text-title); border-color: var(--border-strong); }
.ef-btn--ghost:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .26); }
.ef-btn--sm { height: 38px; padding: 0 17px; font-size: var(--text-s); }

/* Letter-swap hover (built by animations.js) */
.ef-swap-word { display: inline-block; white-space: nowrap; }
.ef-swap-letter { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: top; }
.ef-swap-track { display: flex; flex-direction: column; }
.ef-swap-track > span { display: block; line-height: 1.2; }

/* ---------- Store buttons ---------- */
.ef-stores { display: flex; flex-wrap: wrap; gap: 10px; }
.ef-store {
  display: inline-flex; align-items: center; gap: 11px;
  height: 54px; padding: 0 20px 0 15px;
  border-radius: 14px;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.ef-store:hover { border-color: rgba(255, 255, 255, .45); background: #000; }
.ef-store svg { width: 24px; height: 24px; flex: none; }
.ef-store-txt { display: flex; flex-direction: column; gap: 2px; line-height: 1.05; }
.ef-store-top { font-size: 11px; color: rgba(255, 255, 255, .72); letter-spacing: .01em; }
.ef-store-main { font-size: 17px; font-weight: 600; letter-spacing: -.015em; }

/* ---------- Navigation (liquid glass pill) ---------- */
.ef-header {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding-inline: 14px;
  pointer-events: none;
}
.lg-nav {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%; max-width: 980px;
  height: var(--nav-h);
  padding: 0 10px 0 20px;
  box-sizing: border-box;
  border-radius: var(--r-pill);
  background: rgba(22, 20, 18, .5);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 16px 40px -16px rgba(0, 0, 0, .7);
  transition: background-color .3s var(--ease);
}
.lg-nav.is-scrolled { background: rgba(22, 20, 18, .74); }
.lg-nav-brand {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-heading);
  font-size: 19px; font-weight: 600; letter-spacing: -.035em;
  color: var(--text-title);
}
.ef-logo { width: 22px; height: 22px; flex: none; color: var(--primary); }
.lg-nav-links {
  justify-self: center;
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.lg-nav-links a {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 17px;
  border-radius: var(--r-pill);
  font-size: 16px; font-weight: 450; letter-spacing: -.012em;
  color: var(--text-body);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.lg-nav-links a:hover { color: var(--text-title); background: rgba(255, 255, 255, .05); }
.lg-nav-end { justify-self: end; display: flex; align-items: center; gap: 10px; }

/* Official Apple App Store badge (unaltered artwork, DE/EN by html[lang]) */
.ef-badge-link {
  display: inline-flex; flex: none;
  border-radius: 8px;
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
.ef-badge-link:hover { transform: translateY(-1px); filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .45)); }
.ef-badge { display: block; height: 40px; width: auto; }
.ef-badge--en { display: none; }
html[lang^="en"] .ef-badge--en { display: block; }
html[lang^="en"] .ef-badge--de { display: none; }

.ef-lang {
  display: inline-flex; align-items: center;
  padding: 3px;
  border-radius: var(--r-pill);
  border: var(--line);
}
.ef-lang-btn {
  appearance: none; border: 0; background: transparent;
  height: 28px; min-width: 34px; padding: 0 8px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 500; letter-spacing: .03em;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.ef-lang-btn:hover { color: var(--text-title); }
.ef-lang-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .1); color: var(--text-title); }

.ef-burger {
  display: none;
  position: relative;
  width: 42px; height: 42px;
  border: 0; border-radius: var(--r-pill);
  background: transparent;
  cursor: pointer;
}
.ef-burger::before, .ef-burger::after {
  content: "";
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  border-radius: 2px;
  background: var(--text-title);
  transition: transform .3s var(--ease);
}
.ef-burger::before { top: 17px; }
.ef-burger::after { top: 24px; }
.ef-burger[aria-expanded="true"]::before { transform: translateY(3.5px) rotate(45deg); }
.ef-burger[aria-expanded="true"]::after { transform: translateY(-3.5px) rotate(-45deg); }
.ef-sr {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.ef-menu { display: none; }

@media (max-width: 860px) {
  .lg-nav { grid-template-columns: 1fr auto; height: 56px; padding: 0 6px 0 18px; }
  .lg-nav-links, .lg-nav-end .lg-nav-cta { display: none; }
  .ef-burger { display: inline-block; }
  .ef-menu {
    pointer-events: auto;
    position: absolute; top: calc(100% + 8px); left: 14px; right: 14px;
    display: grid; gap: 2px;
    padding: 10px;
    border-radius: 24px;
    background: rgba(22, 20, 18, .96);
    border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .ef-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .ef-menu a {
    display: flex; align-items: center;
    min-height: 54px; padding: 0 16px;
    border-radius: 14px;
    font-size: var(--text-l);
    color: var(--text-title);
  }
  .ef-menu a:hover { background: rgba(255, 255, 255, .05); }
  .ef-menu .ef-btn { margin-top: 8px; justify-content: center; }
  .ef-menu a.ef-menu-badge { justify-content: center; min-height: 0; margin-top: 10px; padding: 8px 0 4px; background: none; }
  .ef-menu-badge .ef-badge { height: 48px; }
}

/* ---------- Hero ---------- */
.ef-hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-top: calc(var(--nav-h) + clamp(80px, 11vw, 150px));
}
.ef-hero::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 980px; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 28%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse 55% 50% at 50% 28%, #000 20%, transparent 72%);
}
.ef-hero-gl {
  position: absolute; inset: 0 0 auto 0; z-index: -1;
  display: block; width: 100%; height: 980px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.ef-hero-gl.is-ready { opacity: 1; }
.ef-hero--gl::before { opacity: 0; transition: opacity 1.8s var(--ease); }
.ef-hero-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ef-hero-sub {
  margin-top: 30px;
  max-width: 33em;
  font-size: var(--text-l);
  line-height: 1.55;
  color: var(--text-body);
  text-wrap: balance;
}
.ef-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.ef-hero-stage { position: relative; margin-top: clamp(64px, 8vw, 104px); }
.ef-hero-glow {
  position: absolute; left: 50%; top: -12%; z-index: 0;
  width: min(1400px, 118%); height: 58%;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 55%, rgba(255, 122, 51, .42), rgba(255, 122, 51, .1) 45%, transparent 70%);
  filter: blur(56px);
  pointer-events: none;
}
.ef-hero-stage::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 2;
  background: linear-gradient(to bottom, rgba(14, 13, 12, 0), var(--bg-body) 92%);
  pointer-events: none;
}

/* ---------- App chrome (hero window) ---------- */
.ef-app {
  position: relative; z-index: 1;
  max-width: 1140px; margin-inline: auto;
  border-radius: 16px;
  background: var(--chrome);
  border: 1px solid rgba(255, 255, 255, .11);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07) inset, 0 60px 120px -40px rgba(0, 0, 0, .85);
  overflow: hidden;
  text-align: left;
  font-family: var(--font-body);
  color: var(--text-body);
}
.ef-app-bar {
  display: flex; align-items: center; gap: 14px;
  height: 46px; padding: 0 14px;
  background: var(--chrome-bar);
  border-bottom: var(--line);
}
.ef-lights { display: flex; gap: 8px; flex: none; }
.ef-lights > div { width: 12px; height: 12px; border-radius: 50%; background: #3B3733; }
.ef-lights > div:nth-child(1) { background: #FF5F57; }
.ef-lights > div:nth-child(2) { background: #FEBC2E; }
.ef-lights > div:nth-child(3) { background: #28C840; }
.ef-app-name { font-size: 13px; font-weight: 600; color: var(--text-title); letter-spacing: -.01em; }
.ef-app-search {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
  width: 220px; height: 28px; padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  font-size: 12px; color: var(--text-muted);
}
.ef-app-search svg, .ef-app-add svg { width: 14px; height: 14px; flex: none; }
.ef-app-add {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
  color: var(--text-body);
}
.ef-app-body {
  display: grid;
  grid-template-columns: 212px minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: 540px;
}
.ef-app-side {
  display: flex; flex-direction: column; gap: 1px;
  padding: 14px 10px;
  background: var(--chrome-side);
  border-right: var(--line);
}
.ef-side-h { padding: 16px 10px 6px; font-size: 11px; font-weight: 500; color: var(--text-muted); }
.ef-side-h:first-child { padding-top: 4px; }
.ef-side-item {
  display: flex; align-items: center; gap: 9px;
  height: 30px; padding: 0 10px;
  border-radius: 7px;
  font-size: 13px; color: var(--text-body);
  white-space: nowrap;
}
.ef-side-item svg { width: 15px; height: 15px; flex: none; color: var(--text-muted); }
.ef-side-item.is-active { background: rgba(255, 255, 255, .07); color: var(--text-title); }
.ef-side-item.is-active svg { color: var(--primary); }
.ef-side-sub { padding-left: 33px; color: var(--text-muted); }
.ef-count { margin-left: auto; font-size: 11px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ef-swatch { width: 9px; height: 9px; margin: 0 3px; border-radius: 3px; flex: none; background: #999; }
.ef-swatch--a { background: #E0A06B; }
.ef-swatch--b { background: #8DB3A0; }
.ef-swatch--c { background: #9BA6CC; }

.ef-app-list {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
  padding: 16px 14px;
  border-right: var(--line);
}
.ef-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 2px 8px 10px; }
.ef-list-title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; letter-spacing: -.025em; color: var(--text-title); }
.ef-list-sub { font-size: 12px; color: var(--text-muted); }
.ef-list-group { padding: 12px 8px 6px; font-size: 11px; font-weight: 500; color: var(--text-muted); }
.ef-row {
  display: flex; align-items: center; gap: 11px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 9px;
}
.ef-row.is-selected { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.ef-row-main { flex: 1; min-width: 0; }
.ef-row-title {
  font-size: 13.5px; font-weight: 500; color: var(--text-title);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ef-row-meta {
  margin-top: 1px;
  font-size: 12px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ef-check {
  position: relative;
  width: 16px; height: 16px; flex: none;
  box-sizing: border-box;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .24);
}
.ef-check.is-done { background: var(--primary); border-color: var(--primary); }
.ef-check.is-done::after {
  content: "";
  position: absolute; left: 4.5px; top: 1.5px;
  width: 3.5px; height: 7px;
  border: solid var(--on-primary); border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.ef-chip {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  height: 22px; padding: 0 8px;
  border-radius: var(--r-chip);
  background: rgba(255, 255, 255, .06);
  font-size: 11.5px; font-weight: 500; color: var(--text-body);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.ef-chip svg { width: 11px; height: 11px; flex: none; }
.ef-chip--follow { background: rgba(255, 122, 51, .14); color: var(--orange-ink); }
.ef-chip--late { background: rgba(242, 102, 90, .15); color: #F58E84; }
.ef-prio { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.ef-prio--high { background: var(--red); }
.ef-prio--mid { background: var(--amber); }
.ef-prio--low { background: rgba(255, 255, 255, .28); }

.ef-app-detail { min-width: 0; padding: 22px 26px; background: #151311; }
.ef-crumb { font-size: 12px; color: var(--text-muted); }
.ef-detail-title {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2;
  color: var(--text-title);
}
.ef-props {
  display: grid; gap: 2px;
  margin-top: 18px; padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  border: var(--line);
}
.ef-prop {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px;
  height: 34px; padding: 0 10px;
  border-radius: 8px;
  font-size: 13px; color: var(--text-muted);
}
.ef-prop svg { width: 14px; height: 14px; }
.ef-prop > div { justify-self: center; }
.ef-prop strong { font-weight: 500; color: var(--text-title); }
.ef-prop--follow { background: rgba(255, 122, 51, .1); }
.ef-prop--follow svg, .ef-prop--follow strong { color: var(--orange-ink); }
.ef-note { margin-top: 20px; font-size: 13.5px; line-height: 1.65; color: var(--text-body); }
.ef-todo { display: flex; align-items: center; gap: 10px; margin-top: 11px; font-size: 13.5px; color: var(--text-title); }
.ef-todo.is-done > span { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }

@media (max-width: 1080px) {
  .ef-app-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ef-app-side { display: none; }
}
@media (max-width: 720px) {
  .ef-app-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ef-app-detail { display: none; }
  .ef-app-list { border-right: 0; }
  .ef-app-search { width: auto; flex: 1; max-width: 150px; }
}

/* ---------- Proof strip ---------- */
.ef-proof { padding-block: clamp(36px, 5vw, 60px); }
.ef-proof-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 44px;
  list-style: none; margin-block: 0;
}
.ef-proof-list li { display: flex; align-items: center; gap: 10px; font-size: var(--text-s); color: var(--text-body); }
.ef-proof-list svg { width: 18px; height: 18px; flex: none; color: var(--text-muted); }

/* ---------- Panels (compact app windows) ---------- */
.ef-panel {
  position: relative;
  border-radius: var(--r-panel);
  background: var(--chrome);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 40px 90px -36px rgba(0, 0, 0, .85);
  overflow: hidden;
  text-align: left;
}
.ef-panel-bar {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 14px;
  background: var(--chrome-bar);
  border-bottom: var(--line);
  font-size: 12.5px; font-weight: 500; color: var(--text-muted);
}
.ef-panel-bar .ef-lights > div { width: 10px; height: 10px; }
.ef-panel-body { padding: 22px; }

/* ---------- Signature spine (4 sticky beats) ---------- */
.ef-spine { padding-block: var(--space-3xl) var(--space-2xl); }
.ef-spine-grid { position: relative; }
.ef-rail { display: none; }
.ef-step { display: grid; gap: 28px; padding-block: 40px; }
.ef-step + .ef-step { border-top: var(--line); }
.ef-step-num { display: flex; gap: 10px; font-size: var(--text-s); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ef-step-num span:first-child { color: var(--text-body); }
.ef-step-title {
  margin-top: 14px;
  font-size: clamp(27px, 18px + 1.9vw, 42px);
  line-height: 1.06; letter-spacing: -.035em;
}
.ef-step-text { margin-top: 16px; max-width: 25em; font-size: var(--text-l); line-height: 1.55; color: var(--text-body); }
.ef-step-visual { position: relative; isolation: isolate; }
.ef-step-visual--glow::before {
  content: "";
  position: absolute; inset: 8% 4% -6%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 55%, rgba(255, 122, 51, .3), transparent 70%);
  filter: blur(34px);
}

@media (min-width: 1024px) {
  .ef-spine-grid {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    column-gap: clamp(48px, 6vw, 104px);
  }
  .ef-rail {
    display: block;
    grid-column: 1; grid-row: 1 / span 4;
    justify-self: start;
    position: relative;
    width: 1px;
    background: var(--border-primary);
  }
  .ef-rail-fill {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(255, 122, 51, 0), var(--primary));
    transform-origin: top;
    transform: scaleY(0);
  }
  .ef-step { display: contents; }
  .ef-step + .ef-step { border-top: 0; }
  .ef-step-copy {
    grid-column: 1;
    position: relative;
    min-height: 76vh;
    display: flex; flex-direction: column; justify-content: center;
    padding-left: 40px;
    opacity: .3;
    transition: opacity .5s var(--ease);
  }
  .ef-step-copy::before {
    content: "";
    position: absolute; left: -4.5px; top: 50%;
    width: 10px; height: 10px; box-sizing: border-box;
    border-radius: 50%;
    background: var(--bg-body);
    border: 1px solid var(--border-strong);
    transform: translateY(-50%);
    transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  }
  .ef-step-copy.is-active { opacity: 1; }
  .ef-step-copy.is-active::before { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 5px rgba(255, 122, 51, .16); }
  .ef-step:nth-child(2) .ef-step-copy { grid-row: 1; }
  .ef-step:nth-child(3) .ef-step-copy { grid-row: 2; }
  .ef-step:nth-child(4) .ef-step-copy { grid-row: 3; }
  .ef-step:nth-child(5) .ef-step-copy { grid-row: 4; }
  .ef-step-visual {
    grid-column: 2; grid-row: 1 / span 4;
    align-self: start;
    position: sticky;
    top: max(calc(var(--nav-h) + 48px), calc(50vh - 250px));
    opacity: 0;
    transform: translateY(18px) scale(.985);
    transition: opacity .55s var(--ease), transform .7s var(--ease);
    pointer-events: none;
  }
  .ef-step-visual.is-active { opacity: 1; transform: none; }
  .ef-step-visual > .ef-panel { min-height: 400px; }
}

/* Beat 1 — editor */
.ef-editor-title { margin-top: 10px; font-family: var(--font-heading); font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: var(--text-title); }
.ef-editor-meta { margin-top: 4px; font-size: 12.5px; color: var(--text-muted); }
.ef-editor-list { margin: 18px 0 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: 14px; color: var(--text-body); }
.ef-editor-list li::marker { color: var(--text-muted); }
.ef-caret { width: 1.5px; height: 17px; background: var(--primary); flex: none; animation: ef-blink 1.1s steps(1) infinite; }
@keyframes ef-blink { 50% { opacity: 0; } }

/* Beat 2 — follow-up popover + notification */
.ef-popover {
  margin-top: 16px;
  width: min(300px, 100%);
  padding: 6px;
  border-radius: 12px;
  background: #1E1B18;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
}
.ef-popover-h { display: flex; align-items: center; gap: 8px; padding: 8px 10px 6px; font-size: 12px; font-weight: 500; color: var(--text-muted); }
.ef-popover-h svg { width: 13px; height: 13px; color: var(--primary); }
.ef-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 34px; padding: 0 10px;
  border-radius: 8px;
  font-size: 13px; color: var(--text-title);
}
.ef-option-meta { font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.ef-option.is-selected { background: rgba(255, 122, 51, .14); color: var(--orange-ink); }
.ef-option.is-selected .ef-option-meta { color: var(--orange-ink); }
.ef-toast {
  position: absolute; top: 58px; right: 18px;
  display: flex; gap: 12px;
  width: min(300px, 70%);
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(40, 36, 32, .86);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .9);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transform: translateY(-10px); opacity: 0;
  transition: opacity .5s var(--ease) .35s, transform .6s var(--ease) .35s;
}
.ef-step-visual.is-active .ef-toast, .ef-toast.is-static { opacity: 1; transform: none; }
.ef-toast-icon {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: #1A1614;
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--primary);
}
.ef-toast-icon svg { width: 18px; height: 18px; }
.ef-toast-top { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: var(--text-muted); }
.ef-toast-top strong { font-weight: 600; color: var(--text-title); }
.ef-toast-title { margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--text-title); line-height: 1.35; }
.ef-toast-meta { margin-top: 1px; font-size: 12px; color: var(--text-muted); }

/* Beat 4 — clients tree + project */
.ef-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.ef-tree { padding: 14px 10px; border-right: var(--line); background: var(--chrome-side); }
.ef-tree-client { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--text-title); }
.ef-tree-client:first-child { margin-top: 0; }
.ef-tree-project { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px 0 28px; border-radius: 7px; font-size: 13px; color: var(--text-muted); }
.ef-tree-project.is-active { background: rgba(255, 255, 255, .07); color: var(--text-title); }
.ef-project { padding: 18px 18px 14px; min-width: 0; }
.ef-project-title { margin-top: 6px; font-family: var(--font-heading); font-size: 20px; font-weight: 600; letter-spacing: -.03em; color: var(--text-title); }
.ef-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }

@media (max-width: 1023px) {
  .ef-step-visual { max-width: 640px; }
}
@media (max-width: 560px) {
  .ef-toast { position: relative; top: auto; right: auto; width: auto; margin: 0 14px 14px; opacity: 1; transform: none; }
  .ef-split { grid-template-columns: 1fr; }
  .ef-tree { border-right: 0; border-bottom: var(--line); }
}

/* ---------- Bento ---------- */
.ef-bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .ef-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .ef-tile--follow { grid-column: span 4; grid-row: span 2; }
  .ef-tile--prio, .ef-tile--tree { grid-column: span 2; }
  .ef-tile--capture, .ef-tile--get { grid-column: span 3; }
}
.ef-tile {
  position: relative;
  display: flex; flex-direction: column; gap: 22px;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 32px);
  border-radius: var(--r-card);
  background: var(--bg-surface);
  border: var(--line);
  overflow: hidden;
}
.ef-tile-copy { display: grid; gap: 8px; max-width: 28em; }
.ef-tile-title { font-size: var(--text-l); font-weight: 500; letter-spacing: -.02em; color: var(--text-title); }
.ef-tile-text { font-size: var(--text-s); line-height: 1.6; color: var(--text-body); }
.ef-tile--follow { justify-content: space-between; }
.ef-tile--follow .ef-tile-title { font-size: var(--text-2xl); letter-spacing: -.03em; line-height: 1.1; }

.ef-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.ef-day {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 0 10px;
  border-radius: 12px;
  border: var(--line);
  background: rgba(255, 255, 255, .015);
}
.ef-day-name { font-size: 11px; color: var(--text-muted); }
.ef-day-num { font-family: var(--font-heading); font-size: 18px; font-weight: 500; color: var(--text-title); font-variant-numeric: tabular-nums; }
.ef-day-dots { display: flex; gap: 3px; height: 5px; }
.ef-day-dots > div { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); opacity: .85; }
.ef-day.is-today { background: rgba(255, 122, 51, .1); border-color: rgba(255, 122, 51, .35); box-shadow: 0 10px 30px -12px rgba(255, 122, 51, .45); }
.ef-day.is-today .ef-day-name, .ef-day.is-today .ef-day-num { color: var(--orange-ink); }
.ef-upcoming { display: grid; gap: 2px; padding: 6px; border-radius: 14px; background: var(--chrome); border: var(--line); }

.ef-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: var(--line); }
.ef-seg-opt { display: flex; align-items: center; justify-content: center; gap: 7px; height: 34px; border-radius: 8px; font-size: 12.5px; color: var(--text-muted); }
.ef-seg-opt.is-on { background: rgba(255, 255, 255, .09); color: var(--text-title); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.ef-due { display: flex; align-items: center; gap: 9px; margin-top: 8px; padding: 10px 12px; border-radius: 11px; border: var(--line); font-size: 12.5px; color: var(--text-muted); }
.ef-due svg { width: 15px; height: 15px; flex: none; }
.ef-due strong { margin-left: auto; font-weight: 500; color: var(--text-title); }

.ef-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ef-path-item { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 9px; border: var(--line); background: rgba(255, 255, 255, .02); font-size: 12.5px; color: var(--text-body); white-space: nowrap; }
.ef-path-item.is-current { color: var(--text-title); border-color: var(--border-strong); background: rgba(255, 255, 255, .06); }
.ef-path-sep { font-size: 14px; color: var(--text-muted); }

.ef-capture {
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 8px 0 16px;
  border-radius: 14px;
  background: var(--chrome);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .025);
  font-size: 14px; color: var(--text-title);
}
.ef-capture > svg { width: 16px; height: 16px; flex: none; color: var(--text-muted); }
.ef-capture-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.ef-key {
  margin-left: auto; flex: none;
  display: grid; place-items: center;
  min-width: 34px; height: 34px; padding: 0 8px; box-sizing: border-box;
  border-radius: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-bottom-width: 2px;
  font-size: 15px; color: var(--text-body);
}
.ef-devices { display: flex; gap: 14px; color: var(--text-muted); }
.ef-devices svg { width: 26px; height: 26px; }
.ef-tile--get { background: linear-gradient(180deg, #1A1714, var(--bg-surface) 70%); }
.ef-tile--get .ef-stores { margin-top: auto; }

/* ---------- Scenes (who it's for) ---------- */
.ef-bento-section { padding-top: var(--space-l); }
.ef-who { padding-top: var(--space-3xl); }
.ef-scenes { border-top: var(--line); }
.ef-scene { display: grid; gap: 20px; padding-block: clamp(30px, 3.6vw, 48px); border-bottom: var(--line); }
@media (min-width: 960px) {
  .ef-scene { grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
}
.ef-scene-who {
  font-family: var(--font-accent); font-style: italic; font-weight: 400;
  font-size: clamp(34px, 22px + 2.5vw, 54px);
  line-height: 1; letter-spacing: -.01em;
  color: var(--text-title);
}
.ef-scene-text { max-width: 25em; font-size: var(--text-l); line-height: 1.5; color: var(--text-body); }
.ef-scene-ui { display: flex; }
@media (min-width: 960px) { .ef-scene-ui { justify-content: flex-end; } }
.ef-mini {
  width: 100%; max-width: 380px;
  padding: 6px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: var(--line);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .9);
}
.ef-mini-head { display: flex; justify-content: space-between; padding: 8px 10px 4px; font-size: 12px; color: var(--text-muted); }
.ef-mini-head strong { font-weight: 600; color: var(--text-title); }

/* ---------- Pricing (with tabbed cut) ---------- */
.ef-pricing {
  position: relative;
  margin-top: clamp(96px, 10vw, 150px);
  padding-block: clamp(80px, 9vw, 140px) clamp(72px, 8vw, 120px);
  background: var(--bg-surface);
}
.ef-pricing::before {
  content: "";
  position: absolute; left: 50%; bottom: 100%;
  width: min(560px, 76vw); height: 46px;
  transform: translateX(-50%);
  background: var(--bg-surface);
  clip-path: polygon(0 100%, 9% 0, 91% 0, 100% 100%);
}
.ef-pricing::after {
  content: "";
  position: absolute; left: 50%; top: -46px;
  width: min(300px, 44vw); height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 122, 51, 0), var(--primary), rgba(255, 122, 51, 0));
  box-shadow: 0 0 18px 1px rgba(255, 122, 51, .55);
}
.ef-pricing-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .ef-pricing-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; } }
.ef-pricing-copy .ef-lead { margin-top: 26px; }
.ef-price-card {
  position: relative;
  padding: clamp(28px, 3.2vw, 44px);
  border-radius: 26px;
  background: var(--bg-body);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 50px 90px -50px rgba(0, 0, 0, .9);
}
.ef-price-card::before {
  content: "";
  position: absolute; top: -1px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 51, 0), rgba(255, 122, 51, .7), rgba(255, 122, 51, 0));
}
.ef-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.ef-price {
  font-family: var(--font-heading);
  font-size: clamp(58px, 38px + 3.4vw, 86px);
  font-weight: 500; letter-spacing: -.055em; line-height: 1;
  color: var(--text-title);
}
.ef-price-note { font-size: var(--text-m); color: var(--text-muted); }
.ef-checklist { list-style: none; margin: 28px 0 0; padding: 26px 0 0; border-top: var(--line); display: grid; gap: 13px; }
.ef-checklist li { position: relative; padding-left: 30px; font-size: var(--text-m); color: var(--text-title); line-height: 1.45; }
.ef-checklist li::before {
  content: "";
  position: absolute; left: 0; top: .15em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 122, 51, .14);
}
.ef-checklist li::after {
  content: "";
  position: absolute; left: 6.5px; top: calc(.15em + 4px);
  width: 4px; height: 8px;
  border: solid var(--primary); border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
}
.ef-price-card .ef-stores { margin-top: 34px; }

/* ---------- FAQ ---------- */
.ef-faq { background: var(--bg-surface); padding-bottom: clamp(88px, 10vw, 150px); }
.ef-faq-grid { display: grid; gap: 40px; padding-top: clamp(64px, 8vw, 112px); border-top: var(--line); }
@media (min-width: 960px) {
  .ef-faq-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 88px; }
  .ef-faq-intro { position: sticky; top: calc(var(--nav-h) + 64px); align-self: start; }
}
.ef-faq-intro .ef-lead { margin-top: 22px; font-size: var(--text-m); }
.ef-faq-intro a { color: var(--text-title); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.ef-faq-intro a:hover { text-decoration-color: var(--primary); }
.ef-faq-list { border-top: var(--line); }
.ef-faq-item { border-bottom: var(--line); }
.ef-faq-q {
  appearance: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; min-height: 68px; padding: 20px 0;
  border: 0; background: none;
  text-align: left; cursor: pointer;
  font-family: var(--font-heading);
  font-size: var(--text-l); font-weight: 500; letter-spacing: -.015em; line-height: 1.35;
  color: var(--text-title);
}
.ef-faq-q::after {
  content: "";
  flex: none;
  width: 30px; height: 30px; box-sizing: border-box;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(var(--text-title), var(--text-title)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--text-title), var(--text-title)) center / 1.5px 11px no-repeat;
  transition: background-size .35s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.ef-faq-q:hover::after { border-color: rgba(255, 255, 255, .32); }
.ef-faq-item.is-open .ef-faq-q::after {
  border-color: var(--primary);
  background:
    linear-gradient(var(--on-primary), var(--on-primary)) center / 11px 1.5px no-repeat,
    linear-gradient(var(--on-primary), var(--on-primary)) center / 1.5px 0 no-repeat,
    var(--primary);
}
.ef-faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .4s var(--ease); }
.ef-js .ef-faq-a { grid-template-rows: 0fr; }
.ef-js .ef-faq-item.is-open .ef-faq-a { grid-template-rows: 1fr; }
.ef-faq-a-inner { min-height: 0; overflow: hidden; }
.ef-faq-a p { max-width: 38em; padding: 0 56px 26px 0; font-size: var(--text-m); line-height: 1.65; color: var(--text-body); }

/* ---------- Footer ---------- */
.ef-footer { position: relative; overflow: hidden; background: var(--bg-body); border-top: var(--line); padding-top: clamp(64px, 7vw, 104px); }
.ef-footer-grid { display: grid; gap: 44px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ef-footer-brand { grid-column: 1 / -1; }
@media (min-width: 860px) {
  .ef-footer-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ef-footer-brand { grid-column: auto; }
}
.ef-footer-brand p { margin-top: 18px; max-width: 24em; font-size: var(--text-s); line-height: 1.6; color: var(--text-body); }
.ef-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.ef-footer-h { margin-bottom: 10px; font-size: var(--text-s); color: var(--text-muted); }
.ef-footer-col a { display: inline-flex; align-items: center; min-height: 40px; font-size: var(--text-s); color: var(--text-body); transition: color .2s var(--ease); }
.ef-footer-col a:hover { color: var(--text-title); }
.ef-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: clamp(56px, 6vw, 88px);
  padding-block: 26px;
  border-top: var(--line);
  font-size: 13px; color: var(--text-muted);
}
.ef-footer-mark {
  margin: clamp(8px, 2vw, 24px) 0 calc(-.2em);
  font-family: var(--font-heading);
  font-size: clamp(88px, 21vw, 300px);
  font-weight: 600; letter-spacing: -.07em; line-height: .8;
  text-align: center;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .075), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}

/* ---------- Support page + form ---------- */
.ef-support {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-top: calc(var(--nav-h) + clamp(88px, 10vw, 150px));
  padding-bottom: clamp(88px, 10vw, 150px);
}
.ef-support::before {
  content: "";
  position: absolute; z-index: -1;
  top: 8%; right: -10%;
  width: min(760px, 90vw); height: 620px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 122, 51, .16), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.ef-support-grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .ef-support-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(56px, 7vw, 104px); align-items: start; }
  .ef-support-intro { position: sticky; top: calc(var(--nav-h) + 64px); }
}
.ef-support-lead { margin-top: 24px; }
.ef-support-points { list-style: none; margin: 40px 0 0; padding: 0; border-top: var(--line); }
.ef-support-points li { display: grid; gap: 4px; padding: 18px 0; border-bottom: var(--line); }
.ef-support-points strong { font-size: var(--text-m); font-weight: 500; color: var(--text-title); }
.ef-support-points span { font-size: var(--text-s); line-height: 1.6; color: var(--text-body); }
.ef-support-link {
  justify-self: start; margin-top: 4px;
  font-size: var(--text-s); color: var(--text-title);
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px;
}
.ef-support-link:hover { text-decoration-color: var(--primary); }

.ef-support-card {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 26px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 50px 90px -50px rgba(0, 0, 0, .9);
}
.ef-support-card::before {
  content: "";
  position: absolute; top: -1px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 51, 0), rgba(255, 122, 51, .7), rgba(255, 122, 51, 0));
}
.ef-form { display: grid; gap: 20px; }
.ef-form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .ef-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ef-field { display: grid; gap: 8px; min-width: 0; }
.ef-field-label { font-size: 14px; font-weight: 500; color: var(--text-body); }
.ef-field input,
.ef-field select,
.ef-field textarea {
  width: 100%; box-sizing: border-box;
  height: 50px; padding: 0 15px;
  border-radius: 12px;
  background: var(--bg-body);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--text-title);
  font-family: var(--font-body); font-size: 16px; line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.ef-field textarea { height: auto; min-height: 168px; padding: 13px 15px; line-height: 1.6; resize: vertical; }
.ef-field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23A39A90' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.ef-field select option { background: #1A1816; color: var(--text-title); }
.ef-field input::placeholder, .ef-field textarea::placeholder { color: var(--text-muted); opacity: 1; }
.ef-field input:hover, .ef-field select:hover, .ef-field textarea:hover { border-color: rgba(255, 255, 255, .2); }
.ef-field input:focus, .ef-field select:focus, .ef-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 122, 51, .16);
}
.ef-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text-title);
  box-shadow: 0 0 0 100px var(--bg-body) inset;
  caret-color: var(--text-title);
}
.ef-form.was-validated :is(input, select, textarea):invalid { border-color: rgba(242, 102, 90, .7); }
.ef-form.was-validated :is(input, select, textarea):invalid:focus { box-shadow: 0 0 0 4px rgba(242, 102, 90, .16); }
.ef-form-note { font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.ef-form-note a { color: var(--text-body); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
.ef-form-note a:hover { text-decoration-color: var(--primary); }
.ef-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ef-form-submit { min-width: 190px; }
.ef-form[aria-busy="true"] .ef-form-submit { opacity: .6; cursor: progress; }
.ef-form-status { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.ef-form-status:empty { display: none; }
.ef-form-status.is-error { color: #F58E84; }

.ef-form-done { display: none; text-align: center; padding: clamp(24px, 4vw, 48px) 4px; outline: none; }
.ef-support-card.is-done .ef-form { display: none; }
.ef-support-card.is-done .ef-form-done { display: grid; justify-items: center; gap: 14px; }
.ef-form-done-icon {
  display: grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 6px;
  border-radius: 50%;
  background: rgba(255, 122, 51, .14);
  box-shadow: 0 0 0 8px rgba(255, 122, 51, .06);
  color: var(--primary);
}
.ef-form-done-icon svg { width: 28px; height: 28px; }
.ef-form-done-title { font-size: var(--text-2xl); letter-spacing: -.03em; }
.ef-form-done-text { max-width: 30em; font-size: var(--text-m); line-height: 1.6; color: var(--text-body); text-wrap: pretty; }
.ef-form-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }

/* ---------- Legal pages ---------- */
.ef-legal { padding-top: calc(var(--nav-h) + clamp(88px, 10vw, 150px)); padding-bottom: clamp(88px, 10vw, 150px); }
.ef-legal-inner { max-width: 740px; }
.ef-legal h1 { font-size: clamp(40px, 26px + 3.2vw, 60px); line-height: 1.02; letter-spacing: -.04em; }
.ef-legal h2 { margin-top: 52px; font-size: var(--text-xl); letter-spacing: -.02em; }
.ef-legal h3 { margin-top: 28px; font-size: var(--text-l); letter-spacing: -.015em; }
.ef-legal p, .ef-legal li { margin-top: 14px; font-size: var(--text-m); line-height: 1.7; color: var(--text-body); }
.ef-legal ul { margin: 0; padding-left: 1.2em; }
.ef-legal strong { font-weight: 500; color: var(--text-title); }
.ef-legal a { color: var(--text-title); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.ef-legal li { margin-top: 6px; }
.ef-legal-lines { margin-top: 14px; }
.ef-legal-lines p { margin-top: 2px; }
.ef-legal-meta { margin-top: 48px; font-size: var(--text-s); color: var(--text-muted); }
.ef-legal-lead { margin-top: 20px; font-size: var(--text-l); }
.ef-legal-note { margin-top: 28px; padding: 14px 18px; border-radius: 12px; background: var(--bg-surface); border: var(--line); font-size: var(--text-s); }
html[lang="de"] .ef-legal-en { display: none; }
.ef-ph { padding: 0 4px; border-radius: 4px; background: rgba(255, 122, 51, .16); color: var(--orange-ink); font-weight: 500; }

/* ---------- Lenis smooth scroll ---------- */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- Motion guards ---------- */
.ef-motion .ef-hero .ef-line,
.ef-motion .ef-hero-sub,
.ef-motion .ef-hero-cta,
.ef-motion .ef-hero-stage { opacity: 0; animation: ef-failsafe .01s 3s forwards; }
@keyframes ef-failsafe { to { opacity: 1; filter: none; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ef-caret { animation: none; }
  html { scroll-behavior: auto; }
}
