/* Landing page (conversion layout). Tokens only (tokens.css). */
.tressle-landing * { box-sizing: border-box; margin: 0; }
.tressle-landing { position: relative; overflow: hidden; color: var(--text); font-family: var(--font-body); line-height: 1.6; }
.tressle-landing::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 980px; z-index: 0; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 0%, var(--green-100), transparent 70%), radial-gradient(35% 45% at 0% 30%, var(--green-50), transparent 70%), radial-gradient(35% 45% at 100% 30%, var(--green-50), transparent 70%);
}
.tressle-landing > section { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; padding: var(--s-16) var(--s-6); }
.tressle-landing .center { text-align: center; }
.tressle-landing h2 { font-size: var(--text-3xl); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: var(--s-3); }
.tressle-landing h3 { font-size: var(--text-lg); font-weight: 700; }
.tressle-landing .subtitle { max-width: 640px; margin: 0 auto; font-size: var(--text-lg); color: var(--text-2); line-height: 1.55; }
.tressle-landing .cta { text-align: center; margin-top: var(--s-10); }
.tressle-landing .hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.tressle-landing .btn i { font-size: 0.8em; transition: transform var(--t-med) var(--ease); }
.tressle-landing .btn:hover .fa-arrow-right { transform: translateX(4px); }
.tressle-landing .btn:hover .fa-plus { transform: rotate(90deg); }

/* ───────────── hero (centred, calm) ───────────── */
.tressle-landing > #hero { max-width: 980px; padding-top: var(--s-20); padding-bottom: var(--s-10); text-align: center; }
#hero .hero-copy { position: relative; z-index: 1; }
#hero h1 { max-width: 15ch; margin: 0 auto var(--s-5); font-size: clamp(2.5rem, 1.5rem + 4.2vw, 4.5rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
#hero .hl { color: var(--green-600); background: linear-gradient(var(--green-100), var(--green-100)) no-repeat 0 90% / 100% 0.26em; border-radius: 2px; }
#hero .lead { max-width: 40ch; margin: 0 auto var(--s-8); font-size: var(--text-xl); color: var(--text-2); line-height: 1.45; text-wrap: balance; }
#hero .hero-actions { justify-content: center; }
#hero .hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); color: var(--text-2); font-size: var(--text-sm); }
#hero .hero-note span, #hero .hero-note a { display: inline-flex; align-items: center; gap: var(--s-2); }
#hero .hero-note a { color: var(--green-700); font-weight: 600; text-decoration: none; }
#hero .hero-note a:hover { text-decoration: underline; }
#hero .hero-note i { color: var(--green-600); font-size: 0.75rem; }
#hero .hero-copy > * { animation: t-fade-up var(--t-slow) var(--ease) backwards; }
#hero .hero-copy > :nth-child(2) { animation-delay: 80ms; }
#hero .hero-copy > :nth-child(3) { animation-delay: 160ms; }
#hero .hero-copy > :nth-child(4) { animation-delay: 240ms; }

/* six study-tool bubbles drifting around the headline */
.hero-float { position: absolute; inset: 0; pointer-events: none; }
.hero-float i {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--c); color: var(--surface); font-size: 1.15rem; box-shadow: var(--shadow-2);
  animation: hf-in 0.6s var(--ease-spring) backwards, hf-bob 6s ease-in-out infinite;
  animation-delay: calc(300ms + var(--i) * 90ms), calc(var(--i) * -1s);
}
.hero-float i:nth-child(1) { left: -4%; top: 22%; }
.hero-float i:nth-child(2) { left: 4%; top: 58%; width: 44px; height: 44px; font-size: 1rem; }
.hero-float i:nth-child(3) { left: -9%; top: 84%; width: 40px; height: 40px; font-size: 0.9rem; }
.hero-float i:nth-child(4) { right: -4%; top: 20%; }
.hero-float i:nth-child(5) { right: 5%; top: 56%; width: 44px; height: 44px; font-size: 1rem; }
.hero-float i:nth-child(6) { right: -9%; top: 82%; width: 40px; height: 40px; font-size: 0.9rem; }
@keyframes hf-in { from { opacity: 0; transform: scale(0.4); } }
@keyframes hf-bob { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -12px; rotate: 4deg; } }

/* ───────────── explainer video ───────────── */
.tressle-landing > #video { max-width: 1040px; padding-top: 0; padding-bottom: var(--s-12); }
.vp {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-xl);
  background: var(--green-800); box-shadow: var(--shadow-3), 0 0 0 8px var(--surface);
  animation: t-pop 0.6s var(--ease) backwards 300ms;
}
.vp-video { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--text); }
.vp-cover { position: absolute; inset: 0; transition: opacity var(--t-slow) var(--ease); }
.vp.is-playing .vp-cover { opacity: 0; pointer-events: none; }
.vp-art {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-4);
  color: var(--surface); text-align: center; overflow: hidden;
  background: radial-gradient(70% 90% at 15% 10%, var(--green-500), transparent 60%), linear-gradient(135deg, var(--green-600), var(--green-800));
}
.vp-blob { position: absolute; border-radius: 50%; background: var(--green-400); opacity: 0.22; }
.vp-blob-1 { width: 46%; aspect-ratio: 1; top: -24%; right: -10%; }
.vp-blob-2 { width: 32%; aspect-ratio: 1; bottom: -18%; left: -8%; }
.vp-logo { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--surface); box-shadow: var(--shadow-3); }
.vp-title { position: relative; font: 800 clamp(1.25rem, 0.8rem + 2.2vw, 2.4rem)/1.15 var(--font-display); letter-spacing: -0.02em; }
.vp-dots { position: relative; display: flex; gap: var(--s-2); }
.vp-dots i {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); color: var(--surface);
  font-size: 0.8rem; box-shadow: 0 0 0 3px color-mix(in srgb, var(--surface) 35%, transparent);
  animation: vp-hop 3.6s var(--ease) infinite; animation-delay: calc(var(--i) * 0.15s);
}
@keyframes vp-hop { 0%, 30%, 100% { transform: none; } 12% { transform: translateY(-8px); } }
.vp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-play {
  position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 96px; height: 96px; margin: -48px 0 0 -48px;
  border: 0; border-radius: 50%; background: var(--surface); color: var(--green-700); font-size: 2rem; cursor: pointer;
  box-shadow: var(--shadow-3), 0 0 0 10px color-mix(in srgb, var(--surface) 30%, transparent);
  transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med) var(--ease);
}
.vp-play i { margin-left: 6px; }
.vp-play:hover { transform: scale(1.08); box-shadow: var(--shadow-3), 0 0 0 16px color-mix(in srgb, var(--surface) 30%, transparent); }
.vp-play:focus-visible { outline: none; box-shadow: var(--ring), var(--shadow-3); }
.vp-play:not([hidden]) ~ .vp-soon { display: none; }
/* with the play button the CSS poster moves its title down to make room */
.vp-play:not([hidden]) { animation: vp-pulse 2.4s var(--ease) infinite 1s; }
@keyframes vp-pulse { 0%, 100% { box-shadow: var(--shadow-3), 0 0 0 10px color-mix(in srgb, var(--surface) 30%, transparent); } 50% { box-shadow: var(--shadow-3), 0 0 0 20px color-mix(in srgb, var(--surface) 12%, transparent); } }
.vp-soon {
  position: absolute; left: 50%; bottom: var(--s-5); transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-4); border-radius: var(--r-pill); background: color-mix(in srgb, var(--surface) 18%, transparent);
  color: var(--surface); font: 600 var(--text-sm)/1.7 var(--font-body); white-space: nowrap;
}
.vp:has(.vp-play:not([hidden])) .vp-art { gap: var(--s-3); justify-content: flex-end; padding-bottom: 8%; }
.vp:has(.vp-play:not([hidden])) .vp-logo { position: absolute; top: var(--s-6); left: var(--s-6); width: 56px; height: 56px; border-radius: 16px; }
.vp:has(.vp-play:not([hidden])) .vp-logo img { width: 34px; height: 34px; }
.vp:has(.vp-play:not([hidden])) .vp-title { font-size: clamp(1rem, 0.7rem + 1.4vw, 1.6rem); }

/* ───────────── examples: sample classes + tools ───────────── */
.classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-10); text-align: left; }
.class-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: var(--s-6);
  border-radius: var(--r-xl); overflow: hidden; background-color: var(--surface-3); background-size: cover; background-position: center;
  color: var(--surface); text-decoration: none; box-shadow: var(--shadow-2);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), background-size 0.6s var(--ease);
}
.class-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 20%, color-mix(in srgb, var(--text) 85%, transparent)); transition: opacity var(--t-med) var(--ease); opacity: 0.9; }
.class-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); color: var(--surface); }
.class-card:hover::before { opacity: 1; }
.class-card:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }
.class-card > * { position: relative; z-index: 1; }
.class-card h3 { color: var(--surface); font-size: var(--text-xl); margin-bottom: var(--s-1); }
.class-card p { color: var(--surface); opacity: 0.9; font-size: var(--text-sm); max-width: 80%; }
.class-tag { position: absolute !important; top: var(--s-4); left: var(--s-4); padding: 2px var(--s-3); border-radius: var(--r-pill); background: var(--surface); color: var(--text); font: 600 var(--text-xs)/1.7 var(--font-body); }
.class-go { position: absolute !important; right: var(--s-5); bottom: var(--s-5); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--green-700); transition: transform var(--t-med) var(--ease-spring), background-color var(--t-med) var(--ease), color var(--t-med) var(--ease); }
.class-card:hover .class-go { transform: translateX(4px) scale(1.08); background: var(--green-600); color: var(--surface); }

.try-label { margin: var(--s-10) 0 var(--s-4); color: var(--text-2); font: 600 var(--text-sm)/1.4 var(--font-body); }
.try-tools { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); text-align: left; }
.try-tool {
  display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4); color: var(--text); text-decoration: none;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.try-tool:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); border-color: var(--c); color: var(--text); }
.try-tool:focus-visible { outline: none; box-shadow: var(--ring); }
.try-ico { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--c); color: var(--surface); transition: transform var(--t-med) var(--ease-spring); }
.try-tool:hover .try-ico { transform: rotate(-8deg) scale(1.1); }
.try-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.try-text strong { font: 700 var(--text-sm)/1.3 var(--font-display); }
.try-text small { color: var(--text-2); font-size: var(--text-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.try-arrow { margin-left: auto; color: var(--text-3); font-size: 0.75rem; transition: transform var(--t-med) var(--ease), color var(--t-med) var(--ease); }
.try-tool:hover .try-arrow { transform: translateX(3px); color: var(--c); }

/* ───────────── how it works (animated scenes, one 9 s cycle, each step in its own third) ───────────── */
.tressle-landing > #how-it-works { max-width: none; background: var(--green-50); border-block: 1px solid var(--green-100); }
#how-it-works > * { max-width: 1112px; margin-left: auto; margin-right: auto; }
.how-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: var(--s-10); }
.how-step {
  --d: 0s; position: relative; padding: var(--s-5) var(--s-5) var(--s-6); text-align: center;
  background: var(--surface); border: 2px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-1);
}
.how-step-2 { --d: -6s; }
.how-step-3 { --d: -3s; }
.how-step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 1; top: 50%; right: calc(var(--s-6) * -1); width: var(--s-6); height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-400) 0 6px, transparent 6px 10px);
}
.how-num {
  display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: var(--s-2); border-radius: 50%;
  background: var(--green-600); color: var(--surface); font: 800 var(--text-sm)/1 var(--font-display);
}
.how-step h3 { margin-bottom: var(--s-1); font-size: var(--text-xl); }
.how-step p { color: var(--text-2); font-size: var(--text-sm); line-height: 1.5; }
.how-scene { position: relative; display: grid; place-items: center; height: 150px; margin-bottom: var(--s-5); border-radius: var(--r-lg); background: var(--surface-2); overflow: hidden; }
.sc-line { display: block; height: 6px; border-radius: var(--r-pill); background: var(--surface-3); }
.sc-line.w70 { width: 70%; }
.sc-line.w45 { width: 45%; }

/* 1 · create a class: cursor clicks "+", a new tab pops in */
.scene-class { align-content: start; justify-items: start; gap: var(--s-3); padding: var(--s-5); }
.sc-tabs { display: flex; align-items: center; gap: var(--s-2); }
.sc-tab { display: inline-flex; align-items: center; height: 28px; padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); color: var(--text-2); font: 600 var(--text-xs)/1 var(--font-body); }
.sc-tab-new { background: var(--green-600); border-color: var(--green-600); color: var(--surface); transform-origin: left center; }
.sc-plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px dashed var(--green-400); color: var(--green-700); font-size: 0.7rem; }
.sc-page { display: grid; gap: var(--s-2); width: 100%; padding: var(--s-4); border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.sc-cursor { position: absolute; left: 62%; top: 62%; color: var(--text); font-size: 1.2rem; filter: drop-shadow(0 2px 2px rgba(28, 36, 32, .25)); opacity: 0; }

/* 2 · add documents: a PDF drops into the drop zone, then a check pops */
.sc-drop { position: relative; display: grid; place-items: center; width: 70%; height: 104px; border: 2px dashed var(--green-400); border-radius: var(--r-md); background: var(--surface); }
.sc-file { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: var(--s-1) var(--s-2); width: 70%; padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-2); }
.sc-file i { grid-row: span 2; color: var(--danger); font-size: 1.5rem; }
.sc-check { position: absolute; top: -12px; right: -12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-600); color: var(--surface); font-size: 0.8rem; box-shadow: 0 0 0 4px var(--surface-2); }

/* 3 · Study Path: six tool dots light up along a line */
.sc-path { position: relative; display: grid; grid-template-columns: repeat(3, 44px); gap: var(--s-3) var(--s-5); }
.sc-path i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c); color: var(--surface); font-size: 1rem; box-shadow: var(--shadow-1); }

.is-playing .how-step { animation: how-active 9s var(--ease) infinite var(--d); }
.is-playing .sc-cursor { animation: sc-cursor 9s var(--ease) infinite var(--d); }
.is-playing .sc-plus { animation: sc-press 9s var(--ease) infinite var(--d); }
.is-playing .sc-tab-new { animation: sc-tab 9s var(--ease-spring) infinite var(--d); }
.is-playing .sc-file { animation: sc-drop 9s var(--ease) infinite var(--d); }
.is-playing .sc-check { animation: sc-pop 9s var(--ease-spring) infinite var(--d); }
.is-playing .sc-path i { animation: sc-dot 9s var(--ease-spring) infinite; animation-delay: calc(var(--d) - var(--i) * -0.36s); }
@keyframes how-active {
  0%, 30% { border-color: var(--green-400); box-shadow: var(--shadow-3); transform: translateY(-6px); }
  36%, 100% { border-color: var(--border); box-shadow: var(--shadow-1); transform: none; }
}
@keyframes sc-cursor {
  0% { opacity: 0; left: 70%; top: 85%; }
  4% { opacity: 1; }
  10% { left: 48%; top: 22%; transform: none; }
  12% { transform: scale(0.85); }
  14% { left: 48%; top: 22%; transform: none; opacity: 1; }
  24%, 100% { left: 66%; top: 70%; opacity: 0; }
}
@keyframes sc-press { 0%, 10% { transform: none; } 12% { transform: scale(0.82); background: var(--green-100); } 16%, 100% { transform: none; } }
@keyframes sc-tab { 0%, 12% { opacity: 0; transform: scale(0.3); max-width: 0; padding: 0; margin-right: -8px; } 18% { max-width: 120px; padding: 0 var(--s-3); margin-right: 0; } 22%, 94% { opacity: 1; transform: none; max-width: 120px; } 100% { opacity: 0; transform: none; } }
@keyframes sc-drop { 0%, 4% { opacity: 0; transform: translateY(-90px) rotate(-8deg); } 14% { opacity: 1; transform: translateY(6px) rotate(2deg); } 18%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes sc-pop { 0%, 20% { opacity: 0; transform: scale(0); } 26%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: none; } }
@keyframes sc-dot { 0%, 2% { opacity: 0; transform: scale(0.2); } 7%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(0.8); } }

/* ───────────── benefits ───────────── */
.benefits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); margin-top: var(--s-10); }
.benefit { padding: var(--s-6) var(--s-5); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); border-color: var(--c); }
.benefit-ico {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s-4); border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--c) 16%, var(--surface)); color: var(--c); font-size: 1.4rem;
  transition: transform var(--t-med) var(--ease-spring), background-color var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.benefit:hover .benefit-ico { transform: rotate(-8deg) scale(1.1); background: var(--c); color: var(--surface); }
.benefit h3 { margin-bottom: var(--s-1); }
.benefit p { color: var(--text-2); font-size: var(--text-sm); line-height: 1.5; }

/* ───────────── 7 tool tiles ───────────── */
.features { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-10); }
.features .card {
  display: flex; flex-direction: column; align-items: center; gap: var(--s-1); padding: var(--s-6) var(--s-2) var(--s-5);
  border: 0; border-radius: var(--r-lg); background: var(--c); color: var(--surface); text-align: center; text-decoration: none;
  box-shadow: var(--shadow-1); transition: transform var(--t-med) var(--ease-spring), box-shadow var(--t-med) var(--ease);
}
.features .card:hover { transform: translateY(-8px) rotate(-1.5deg); box-shadow: var(--shadow-3); color: var(--surface); }
.features .card:nth-child(even):hover { transform: translateY(-8px) rotate(1.5deg); }
.features .card:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
.features .card img { width: 46px; height: 46px; object-fit: contain; margin-bottom: var(--s-2); animation: tile-bob 4.2s ease-in-out infinite; transition: transform var(--t-slow) var(--ease-spring); }
.features .card:nth-child(2) img { animation-delay: -0.6s; }
.features .card:nth-child(3) img { animation-delay: -1.2s; }
.features .card:nth-child(4) img { animation-delay: -1.8s; }
.features .card:nth-child(5) img { animation-delay: -2.4s; }
.features .card:nth-child(6) img { animation-delay: -3s; }
.features .card:nth-child(7) img { animation-delay: -3.6s; }
.features .card:hover img { transform: scale(1.18) rotate(-4deg); }
@keyframes tile-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.features .card span { font: 700 var(--text-sm)/1.3 var(--font-display); }
.features .card small { font-size: var(--text-xs); line-height: 1.3; opacity: 0.92; }
.card-upload { --c: var(--tool-docs); }
.card-podcast { --c: var(--tool-podcast); }
.card-flash { --c: var(--tool-flashcards); }
.card-quiz { --c: var(--tool-quiz); }
.card-memory { --c: var(--tool-memory); }
.card-short { --c: var(--tool-short); }
.card-explain { --c: var(--tool-teach); }

/* ───────────── pricing ───────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); max-width: 960px; margin: var(--s-10) auto 0; text-align: left; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--s-8) var(--s-6) var(--s-6); border-radius: var(--r-xl); transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-3); }
.plan-power { border: 2px solid var(--green-600); box-shadow: var(--shadow-2); }
.plan-current { border: 2px solid var(--green-400); }
.plan-badge { position: absolute; top: calc(var(--s-3) * -1); left: 50%; transform: translateX(-50%); padding: 2px var(--s-3); border-radius: var(--r-pill); background: var(--green-600); color: var(--surface); font: 700 var(--text-xs)/1.8 var(--font-body); white-space: nowrap; }
.plan h3 { font-size: var(--text-xl); }
.plan-price { margin: var(--s-2) 0 var(--s-5); color: var(--text-2); font-size: var(--text-sm); }
.plan-price strong { color: var(--text); font: 800 var(--text-3xl)/1 var(--font-display); letter-spacing: -0.02em; }
.plan ul { list-style: none; padding: 0; display: grid; gap: var(--s-3); margin-bottom: var(--s-6); flex: 1; }
.plan li { display: flex; align-items: center; gap: var(--s-3); font-size: var(--text-sm); }
.plan li i { display: grid; place-items: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--green-50); color: var(--green-600); font-size: 0.75rem; }
.plan .btn { min-height: 48px; }

/* ───────────── FAQ ───────────── */
.tressle-landing > #faq { max-width: 800px; }
.faq { display: grid; gap: var(--s-3); margin-top: var(--s-8); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.faq details:hover { border-color: var(--border-strong); }
.faq details[open] { border-color: var(--green-200); box-shadow: var(--shadow-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); list-style: none; cursor: pointer; font: 700 var(--text-md)/1.4 var(--font-display); border-radius: var(--r-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: none; box-shadow: var(--ring); }
.faq summary i { flex: 0 0 auto; color: var(--green-600); font-size: 0.8rem; transition: transform var(--t-med) var(--ease); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { padding: 0 var(--s-5) var(--s-5); color: var(--text-2); font-size: var(--text-md); line-height: 1.6; }
.faq details[open] p { animation: t-fade-up var(--t-slow) var(--ease) both; }

/* ───────────── closing CTA ───────────── */
.tressle-landing > #final-cta { padding-top: var(--s-4); padding-bottom: var(--s-20); }
.final-card { position: relative; overflow: hidden; padding: var(--s-16) var(--s-6); border-radius: var(--r-xl); text-align: center; color: var(--surface); background: linear-gradient(135deg, var(--green-600), var(--green-800)); box-shadow: var(--shadow-3); }
.final-card::before, .final-card::after { content: ''; position: absolute; border-radius: 50%; background: var(--green-400); opacity: 0.25; pointer-events: none; }
.final-card::before { width: 320px; height: 320px; top: -160px; right: -80px; }
.final-card::after { width: 220px; height: 220px; bottom: -120px; left: -60px; }
.final-card > * { position: relative; z-index: 1; }
.final-card h2 { color: var(--surface); }
.final-card p { font-size: var(--text-lg); opacity: 0.92; margin-bottom: var(--s-8); }
.final-card .hero-actions { justify-content: center; }
.btn-invert { background: var(--surface); color: var(--green-800); }
.btn-invert:hover { background: var(--green-50); color: var(--green-800); }
.btn-outline-invert { background: transparent; color: var(--surface); border-color: color-mix(in srgb, var(--surface) 60%, transparent); }
.btn-outline-invert:hover { background: color-mix(in srgb, var(--surface) 14%, transparent); color: var(--surface); border-color: var(--surface); }

/* ───────────── scroll reveal (only armed by landing.js, so content shows with JS off) ───────────── */
[data-reveal].reveal-init { opacity: 0; transform: translateY(28px); }
[data-reveal].reveal-init.is-visible { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-init.is-visible :is(.features .card, .class-card, .try-tools li, .benefit, .plan) { animation: t-fade-up 0.5s var(--ease) backwards; }
.reveal-init.is-visible :is(.features .card, .class-card, .try-tools li, .benefit, .plan):nth-child(2) { animation-delay: 70ms; }
.reveal-init.is-visible :is(.features .card, .class-card, .try-tools li, .benefit, .plan):nth-child(3) { animation-delay: 140ms; }
.reveal-init.is-visible :is(.features .card, .try-tools li, .benefit):nth-child(4) { animation-delay: 210ms; }
.reveal-init.is-visible .features .card:nth-child(5) { animation-delay: 280ms; }
.reveal-init.is-visible .features .card:nth-child(6) { animation-delay: 350ms; }
.reveal-init.is-visible .features .card:nth-child(7) { animation-delay: 420ms; }

/* ───────────── responsive ───────────── */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .try-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-float i:nth-child(3), .hero-float i:nth-child(6) { display: none; }
  .hero-float i:nth-child(1), .hero-float i:nth-child(4) { top: 6%; }
}
@media (max-width: 900px) {
  .tressle-landing > section { padding: var(--s-12) var(--s-5); }
  .tressle-landing > #hero { padding-top: var(--s-16); padding-bottom: var(--s-8); }
  .tressle-landing > #video { padding-top: 0; }
  .how-steps { grid-template-columns: 1fr; gap: var(--s-5); max-width: 480px; margin-left: auto; margin-right: auto; }
  .how-step:not(:last-child)::after { top: auto; bottom: calc(var(--s-5) * -1); right: auto; left: 50%; width: 2px; height: var(--s-5); background: repeating-linear-gradient(180deg, var(--green-400) 0 6px, transparent 6px 10px); }
  .classes { grid-template-columns: 1fr; gap: var(--s-4); }
  .class-card { min-height: 170px; }
  .plans { grid-template-columns: 1fr; max-width: 440px; gap: var(--s-6); }
  .plan { padding: var(--s-6) var(--s-5) var(--s-5); }
  .plan ul { gap: var(--s-2); margin-bottom: var(--s-5); }
}
@media (max-width: 600px) {
  .tressle-landing > section { padding: var(--s-10) var(--s-4); }
  .tressle-landing > #hero { padding-top: var(--s-12); padding-bottom: var(--s-8); }
  .tressle-landing .subtitle { font-size: var(--text-md); }
  #hero .lead { font-size: var(--text-lg); margin-bottom: var(--s-6); }
  .tressle-landing .hero-actions .btn { width: 100%; }
  .hero-float { display: none; }
  .vp { border-radius: var(--r-lg); box-shadow: var(--shadow-3), 0 0 0 5px var(--surface); }
  .vp-play { top: 42%; width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 1.3rem; }
  .vp:has(.vp-play:not([hidden])) .vp-art { padding-bottom: 5%; }
  .vp-logo { width: 54px; height: 54px; border-radius: 16px; }
  .vp-logo img { width: 32px; height: 32px; }
  .vp-dots { display: none; }
  .vp-art { gap: var(--s-2); }
  .vp:has(.vp-play:not([hidden])) .vp-logo { top: var(--s-3); left: var(--s-3); width: 40px; height: 40px; border-radius: 12px; }
  .vp:has(.vp-play:not([hidden])) .vp-logo img { width: 24px; height: 24px; }
  .vp-soon { bottom: var(--s-3); font-size: var(--text-xs); }
  .try-tools { grid-template-columns: 1fr; gap: var(--s-3); }
  .try-label { margin-top: var(--s-8); }
  .how-scene { height: 132px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: var(--s-3); }
  .benefit { padding: var(--s-5) var(--s-3); }
  .benefit-ico { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: var(--s-3); }
  .benefit h3 { font-size: var(--text-md); }
  .benefit p { font-size: var(--text-xs); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-8); }
  .features .card:last-child { grid-column: 1 / -1; }
  .faq summary { padding: var(--s-4); font-size: var(--text-md); }
  .faq details p { padding: 0 var(--s-4) var(--s-4); font-size: var(--text-sm); }
  .final-card { padding: var(--s-12) var(--s-5); }
  .tressle-landing > #final-cta { padding-bottom: var(--s-12); }
}
@media (prefers-reduced-motion: reduce) {
  .tressle-landing *, .tressle-landing *::before, .tressle-landing *::after { animation: none !important; }
}
