/* ==========================================================
   Focus127 site.css
   Palette sampled directly from the brand mark:
   background #05060A, blue #3588E9, violet #8C7BF8.
   One typeface. Nothing under 15px. No decorative noise.
   ========================================================== */

@font-face{
  font-family:"Jakarta";
  src:url("/assets/fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight:400 800; font-style:normal; font-display:swap;
}

:root{
  --bg:        #05060A;
  --surface:   #0C0F17;
  --surface-2: #111623;
  --line:      #1D2333;
  --line-soft: #151A28;

  --fg:        #FFFFFF;
  --fg-2:      #AFB7C7;
  --fg-3:      #8A93A6;

  --blue:      #3588E9;
  --violet:    #8C7BF8;
  --blue-deep: #1F6FD0;
  --grad:      linear-gradient(100deg, #3588E9 0%, #8C7BF8 100%);

  --light:     #F2F4F9;
  --light-2:   #FFFFFF;
  --dark:      #0A0D14;
  --dark-2:    #3F4757;
  --light-line:#DFE4EE;

  --wrap:      1200px;
  --pad:       clamp(20px, 5vw, 64px);
  --ease:      cubic-bezier(.22,.85,.3,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:88px; }

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:"Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size:1.125rem;          /* 18px */
  line-height:1.62;
  font-weight:450;
  letter-spacing:-.005em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

img{ display:block; max-width:100%; height:auto; }
h1,h2,h3,p,ul,ol,dl,dd,figure{ margin:0; }
ul,ol{ padding:0; list-style:none; }
a{ color:inherit; }
button{ font:inherit; color:inherit; }
::selection{ background:var(--violet); color:#fff; }

[data-d="1"]{ --d:1 } [data-d="2"]{ --d:2 } [data-d="3"]{ --d:3 } [data-d="4"]{ --d:4 }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--pad); }

/* ---------- accessibility ---------- */
.skip{
  position:fixed; top:12px; left:12px; z-index:200;
  transform:translateY(-180%);
  background:var(--fg); color:var(--bg);
  padding:.7rem 1.1rem; border-radius:10px;
  font-size:1rem; font-weight:700; text-decoration:none;
  transition:transform .2s var(--ease);
}
.skip:focus-visible{ transform:none; }

:where(a,button,[tabindex]):focus-visible{
  outline:3px solid var(--violet);
  outline-offset:3px;
  border-radius:8px;
}
.band--light :where(a,button):focus-visible{ outline-color:var(--blue-deep); }
.contact :where(a,button):focus-visible{ outline-color:#fff; }

/* ---------- shared type ---------- */
.grad{
  background:var(--grad);
  -webkit-background-clip:text; background-clip:text;
  color:transparent;
}
.h2{
  font-size:clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight:600; line-height:1.06; letter-spacing:-.032em;
}
.lead{
  font-size:clamp(1.125rem, .5vw + 1rem, 1.3rem);
  line-height:1.6; color:var(--fg-2); max-width:60ch;
}
.tag{
  font-size:.9375rem;          /* 15px */
  font-weight:700; letter-spacing:.02em;
  color:var(--fg-3);
  margin-bottom:clamp(1.6rem, 3vw, 2.6rem);
}
.tag--on{ color:rgba(255,255,255,.82); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  min-height:52px; padding:0 1.6rem;
  border:2px solid transparent; border-radius:12px;
  background:var(--grad); color:#fff;
  font-size:1.0625rem; font-weight:700; letter-spacing:-.005em;
  text-decoration:none; cursor:pointer; white-space:nowrap;
  transition:filter .2s var(--ease), transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover{ filter:brightness(1.13); transform:translateY(-2px); }
.btn:active{ transform:none; }

.btn--sm{ min-height:44px; padding:0 1.15rem; font-size:1rem; border-radius:10px; }

.btn--line{
  background:none; color:var(--fg); border-color:var(--line);
}
.btn--line:hover{ filter:none; border-color:var(--violet); color:#fff; background:rgba(140,123,248,.1); }

.band--light .btn--line{ color:var(--dark); border-color:var(--light-line); }
.band--light .btn--line:hover{ background:rgba(31,111,208,.08); border-color:var(--blue-deep); color:var(--blue-deep); }

.btn--dark{ background:var(--bg); color:#fff; }
.btn--dark:hover{ filter:none; background:#12141c; }

/* ---------- header ---------- */
.bar{
  position:sticky; top:0; z-index:60;
  background:var(--bg);
  border-bottom:1px solid transparent;
  transition:border-color .25s, background-color .25s;
}
.bar.is-stuck{ border-bottom-color:var(--line-soft); }

/* Over a light band the bar inverts, so it never reads as a black slab
   floating on white. The logo art is dark-on-dark, so it gets a matching
   dark plate rather than being knocked out. */
.bar.is-light{ background:var(--light); border-bottom-color:var(--light-line); }
.bar.is-light .bar__nav > a:not(.btn){ color:var(--dark-2); }
.bar.is-light .bar__nav > a:not(.btn):hover{ color:var(--dark); }
.bar__logo--dark{ display:none; }
.bar.is-light .bar__logo--light{ display:none; }
.bar.is-light .bar__logo--dark{ display:block; }
.bar__in{
  max-width:var(--wrap); margin-inline:auto; padding:.9rem var(--pad);
  display:flex; align-items:center; justify-content:space-between; gap:1.25rem;
}
.bar__logo{ display:block; flex:none; }
.bar__logo img{ width:auto; height:30px; }
.bar__nav{ display:flex; align-items:center; gap:clamp(.35rem,1.6vw,1.6rem); }
.bar__nav > a:not(.btn){
  font-size:1.0625rem; font-weight:600; color:var(--fg-2);
  text-decoration:none; padding:.55rem .3rem;
  transition:color .2s;
}
.bar__nav > a:not(.btn):hover{ color:#fff; }

/* Below 680px the four nav items cannot share a row with the logo, so the
   bar becomes two rows and Contact is marked out with the brand gradient
   instead of a filled button. No menu to open, nothing hidden. */
@media (max-width:680px){
  .bar__in{ flex-direction:column; align-items:stretch; gap:.35rem; padding-block:.7rem; }
  .bar__logo img{ height:26px; }
  .bar__nav{ justify-content:space-between; gap:.35rem; }
  .bar__nav > a:not(.btn){ font-size:.9375rem; padding:.5rem .15rem; }
  .bar__nav .btn{
    min-height:38px; padding:.5rem .15rem;
    background:var(--grad); -webkit-background-clip:text; background-clip:text;
    color:transparent; border:0; border-radius:0;
    font-size:.9375rem; font-weight:800;
  }
  .bar__nav .btn:hover{ filter:none; transform:none; }
}

/* ---------- hero ---------- */
.hero{ padding:clamp(48px,8vh,104px) 0 clamp(56px,9vh,120px); }
.hero__in{
  display:grid; gap:clamp(2.5rem,5vw,4rem);
  grid-template-columns:minmax(0,1fr);
  align-items:center;
}
.hero__logo{ width:min(100%, 430px); height:auto; margin-bottom:clamp(1.5rem,3vw,2.2rem); }
.hero__h1{
  font-size:clamp(2.6rem, 6.2vw, 4.9rem);
  font-weight:600; line-height:1.02; letter-spacing:-.04em;
  margin-bottom:1.1rem;
}
.hero__p{
  font-size:clamp(1.125rem,.6vw + 1rem,1.375rem);
  line-height:1.55; color:var(--fg-2); max-width:34ch;
}
.hero__cta{ display:flex; flex-wrap:wrap; gap:.85rem; margin-top:clamp(1.8rem,3.4vw,2.5rem); }
.hero__mark{ justify-self:center; width:min(74vw,340px); }

@media (min-width:940px){
  .hero__in{ grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); }
  .hero__mark{ justify-self:end; width:min(34vw,380px); }
}

.mark{ width:100%; height:auto; overflow:visible; }
.mark__r{ fill:none; stroke:var(--line); stroke-width:1.5; }
.mark__ring{ fill:none; stroke:url(#g1); stroke-width:3; }
.mark__t{ stroke:var(--line); stroke-width:2; stroke-linecap:round; }
.mark__dot{ fill:url(#g1); }
.mark__sat{
  fill:var(--violet);
  offset-path:path("M 160 86 A 74 74 0 1 1 159.9 86");
  animation:orbit 14s linear infinite;
}
@keyframes orbit{ to{ offset-distance:100% } }

/* ---------- bands ---------- */
.band{ padding:clamp(64px,9vh,120px) 0; }
.band--tight{ padding:clamp(48px,6vh,80px) 0; }
.band--line{ border-top:1px solid var(--line-soft); }

.band--light{
  background:var(--light);
  color:var(--dark);
}
.band--light .tag{ color:var(--dark-2); }
.band--light .lead{ color:var(--dark-2); }

/* ---------- work ---------- */
.work__head{ margin-bottom:clamp(2.2rem,4vw,3.2rem); }
.work__claim{
  font-size:clamp(1.35rem,2.6vw,2.1rem);
  font-weight:600; letter-spacing:-.025em; line-height:1.2;
  margin-top:.5rem; color:var(--blue-deep);
  max-width:22ch;
}
.work__grid{ display:grid; gap:clamp(2.5rem,4vw,3.5rem); grid-template-columns:minmax(0,1fr); }
@media (min-width:960px){
  .work__grid{ grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:start; }
  .shot{ position:sticky; top:100px; }
}
.work__copy{ min-width:0; }

.feat{ margin-top:clamp(1.8rem,3vw,2.4rem); display:grid; gap:0; }
.feat li{
  padding:1.3rem 0;
  border-top:1px solid var(--light-line);
}
.feat li:last-child{ border-bottom:1px solid var(--light-line); }
.feat h3{ font-size:1.25rem; font-weight:700; letter-spacing:-.018em; }
.feat p{ margin-top:.3rem; font-size:1.0625rem; color:var(--dark-2); line-height:1.55; }

.work__eng{ margin:1.8rem 0 1.6rem; font-size:1.0625rem; color:var(--dark-2); }
.work__eng a, .lab a, .contact__alt a{
  color:var(--blue-deep); font-weight:700; text-decoration:underline;
  text-underline-offset:3px; text-decoration-thickness:2px;
}
.lab a{ color:var(--violet); }
.contact__alt a{ color:#fff; }

.shot{ min-width:0; margin:0; }
.shot img{
  width:100%; border-radius:14px; border:1px solid var(--light-line);
  box-shadow:0 24px 60px -30px rgba(10,13,20,.45);
}
.shot figcaption{ margin-top:.9rem; font-size:.9375rem; color:var(--dark-2); }

/* ---------- loop ---------- */
.loop__head{ max-width:60ch; margin-bottom:clamp(2rem,3.6vw,2.8rem); }
.loop__head .lead{ margin-top:1rem; }
.loop__try{
  margin-top:1.1rem; font-size:1.0625rem; font-weight:700;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}

.demo{
  display:grid; gap:0;
  grid-template-columns:minmax(0,1fr);
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--surface);
  overflow:hidden;
}
@media (min-width:900px){
  .demo{ grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
  .demo__stage{ border-right:1px solid var(--line); border-bottom:0 !important; }
}

/* the card you actually answer */
.demo__stage{
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  padding:clamp(1.6rem,3.4vw,2.6rem);
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(53,136,233,.10), transparent 62%),
    var(--surface-2);
  min-height:300px;
}
.demo__kicker{
  font-size:.9375rem; font-weight:700; color:var(--fg-3); letter-spacing:.02em;
}
.demo__prompt{
  margin-top:.5rem;
  font-size:clamp(2rem,4.6vw,3rem); font-weight:700;
  letter-spacing:-.035em; line-height:1.08; color:#fff;
}
.demo__answer{
  margin-top:.35rem;
  font-size:clamp(1.2rem,2.4vw,1.6rem); font-weight:600;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.demo__answer[hidden]{ display:none; }
.demo__acts{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:1.6rem; }
.demo__acts .btn[hidden]{ display:none; }
.btn--good{ background:#1F9D68; }
.btn--miss{ background:#B8503A; }
.demo__say{
  margin-top:1.4rem; font-size:1.0625rem; color:var(--fg-2); min-height:3.2em;
}
.demo__say b{ color:#fff; font-weight:700; }

/* the live state of every word */
.demo__side{ padding:clamp(1.4rem,3vw,2rem); min-width:0; }
.demo__meter{
  height:8px; border-radius:99px; background:var(--surface-2);
  overflow:hidden; border:1px solid var(--line);
}
.demo__fill{
  display:block; height:100%; width:0;
  background:var(--grad);
  transition:width .45s var(--ease);
}
.demo__stat{ margin-top:.7rem; font-size:1.0625rem; font-weight:700; color:#fff; }

.demo__grid{
  margin-top:1.2rem;
  display:grid; gap:.55rem;
  grid-template-columns:repeat(auto-fill, minmax(146px, 1fr));
}
.word{
  position:relative; display:flex; flex-direction:column; align-items:flex-start;
  width:100%; text-align:left; gap:.1rem;
  padding:.7rem .8rem;
  border:1px solid var(--line);
  border-left:4px solid var(--fg-3);
  border-radius:10px;
  background:var(--surface-2);
  cursor:pointer;
  transition:border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease), opacity .2s;
}
.word:hover{ transform:translateY(-2px); background:#182034; }
.word__es{ font-size:1rem; font-weight:700; color:#fff; }
.word__en{ font-size:.9375rem; color:var(--fg-3); }
.word[data-state="learn"]{ border-left-color:#E8A93C; }
.word[data-state="solid"]{ border-left-color:#2FBB7E; }
.word[data-state="free"]{ border-left-color:var(--violet); opacity:.5; cursor:default; }
.word[data-state="free"]:hover{ transform:none; background:var(--surface-2); }
.word[data-state="free"] .word__es{ text-decoration:line-through; text-decoration-thickness:2px; }
.word.is-active{
  border-color:var(--violet); background:#1C2440;
  box-shadow:0 0 0 3px rgba(140,123,248,.25);
}

.demo__foot{
  margin-top:1.2rem; display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:.9rem;
}
.demo__legend{ display:flex; flex-wrap:wrap; gap:.5rem .9rem; }
.key{ display:inline-flex; align-items:center; gap:.4rem; font-size:.9375rem; font-weight:600; color:var(--fg-2); }
.key::before{ content:""; width:10px; height:10px; border-radius:50%; background:currentColor; }
.key--new{ color:var(--fg-3); }
.key--learn{ color:#E8A93C; }
.key--solid{ color:#2FBB7E; }
.key--free{ color:var(--violet); }
.demo__note{ margin-top:1rem; font-size:.9375rem; color:var(--fg-3); }

/* ---------- principles ---------- */
.tenets{
  margin-top:clamp(1.8rem,3.2vw,2.6rem);
  display:grid; gap:0;
  grid-template-columns:minmax(0,1fr);
}
@media (min-width:760px){
  .tenets{ grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:clamp(2rem,5vw,4.5rem); }
}
.tenets li{
  display:grid; grid-template-columns:auto minmax(0,1fr);
  column-gap:1.1rem; align-content:start;
  padding:1.5rem 0;
  border-top:1px solid var(--line);
}
.tenets__n{
  grid-row:1 / span 2;
  font-size:1rem; font-weight:800; letter-spacing:.02em; padding-top:.28rem;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.tenets h3{ font-size:1.3rem; font-weight:700; letter-spacing:-.022em; line-height:1.25; }
.tenets p{ margin-top:.4rem; font-size:1.0625rem; color:var(--fg-2); line-height:1.5; }

/* ---------- lab ---------- */
.lab__in{ display:flex; flex-wrap:wrap; align-items:baseline; gap:.6rem 1.8rem; }
.lab__in .tag{ margin-bottom:0; }
.lab__line{
  font-size:clamp(1.125rem,1.6vw,1.4rem); font-weight:600;
  color:var(--fg-2); letter-spacing:-.015em; max-width:62ch;
}
.lab__line a{ color:var(--violet); font-weight:700; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:2px; }

/* ---------- contact ---------- */
.contact{
  background:var(--grad);
  color:#fff;
}
.contact__h{
  font-size:clamp(2.2rem,5.4vw,4.2rem);
  font-weight:700; line-height:1.03; letter-spacing:-.036em;
  max-width:16ch;
}
.contact__p{
  margin-top:1.1rem; font-size:clamp(1.125rem,.5vw + 1rem,1.3rem);
  color:rgba(255,255,255,.92); max-width:46ch;
}
.contact__row{
  margin-top:clamp(1.8rem,3.4vw,2.6rem);
  display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.4rem;
}
.contact__mail{
  font-size:clamp(1.5rem,4.4vw,3rem);
  font-weight:700; letter-spacing:-.035em; color:#fff;
  text-decoration:none; word-break:break-word;
  border-bottom:3px solid rgba(255,255,255,.42);
  transition:border-color .2s;
}
.contact__mail:hover{ border-bottom-color:#fff; }
.contact__alt{ margin-top:1.6rem; font-size:1.0625rem; color:rgba(255,255,255,.92); }

/* ---------- footer ---------- */
.foot{ border-top:1px solid var(--line-soft); padding:clamp(48px,6vh,72px) 0 2rem; }
.foot__in{ display:grid; gap:2.5rem; grid-template-columns:minmax(0,1fr); }
@media (min-width:860px){ .foot__in{ grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); } }
.foot__brand img{ width:230px; height:auto; }
.foot__brand p{ margin-top:.9rem; font-size:1.0625rem; color:var(--fg-2); }

.foot__cols{ display:grid; gap:2.2rem; grid-template-columns:minmax(0,1fr); }
@media (min-width:560px){ .foot__cols{ grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); } }

.foot__meta{ display:grid; gap:.15rem; font-size:1.0625rem; }
.foot__meta dt{ font-weight:700; color:var(--fg-3); }
.foot__meta dd{ margin:0 0 .9rem; color:var(--fg-2); }
.foot__meta dd:last-child{ margin-bottom:0; }

.foot__nav{ display:grid; gap:.7rem; justify-items:start; align-content:start; }
.foot__nav a{
  font-size:1.0625rem; color:var(--fg-2); text-decoration:none;
  min-height:32px; display:inline-flex; align-items:center;
  transition:color .2s;
}
.foot__nav a:hover{ color:#fff; }

.foot__legal{ margin-top:clamp(2.4rem,5vh,3.4rem); }
.foot__legal p{
  padding-top:1.5rem; border-top:1px solid var(--line-soft);
  font-size:.9375rem; color:var(--fg-3);
}

/* ---------- 404 ---------- */
.nf{
  min-height:74svh; display:flex; flex-direction:column; justify-content:center;
  padding:clamp(56px,10vh,120px) 0;
}
.nf__code{
  font-size:clamp(4rem,15vw,9rem); font-weight:700; line-height:1; letter-spacing:-.05em;
}
.nf__h{ margin-top:.6rem; font-size:clamp(1.6rem,4vw,2.6rem); font-weight:600; letter-spacing:-.03em; }
.nf__p{ margin-top:1.1rem; font-size:1.1875rem; color:var(--fg-2); max-width:48ch; }
.nf__cta{ display:flex; flex-wrap:wrap; gap:.85rem; margin-top:2.2rem; }

/* ---------- toast ---------- */
.toast{
  position:fixed; left:50%; bottom:24px; z-index:120;
  transform:translate(-50%,150%);
  background:#fff; color:var(--bg);
  padding:.85rem 1.3rem; border-radius:12px;
  font-size:1rem; font-weight:700;
  box-shadow:0 20px 44px -20px rgba(0,0,0,.8);
  opacity:0; pointer-events:none;
  max-width:calc(100vw - 2rem);
  transition:transform .3s var(--ease), opacity .25s;
}
.toast.is-on{ transform:translate(-50%,0); opacity:1; }

/* ---------- entrance ---------- */
.reveal{
  opacity:0; transform:translateY(14px);
  transition:opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay:calc(var(--d,0) * 90ms);
}
.reveal.is-in{ opacity:1; transform:none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .reveal{ opacity:1 !important; transform:none !important; }
  .mark__sat{ display:none; }
}

/* ---------- print ---------- */
@media print{
  .bar,.hero__mark,.demo,.toast{ display:none !important; }
  body{ background:#fff; color:#000; }
  .contact{ background:#fff; color:#000; }
}
