/* EduCoreAI landing page — same tokens as the app (styles.css) */
:root {
  --bg: #FBFAF8; --surface: #FFFFFF; --line: #ECEAE6; --line-2: #F3F1ED;
  --text: #1E1B18; --text-2: #5C5854; --muted: #8B8680;
  --coral: #F2634A; --coral-2: #FDECE8; --amber: #F7A94A;
  --green: #22A06B; --green-2: #E6F6EE; --blue: #3B82F6; --blue-2: #E8F0FE;
  --purple: #7C5CE6; --purple-2: #EEE9FC; --cyan: #0EA5C9; --cyan-2: #E3F6FB; --orange-2: #FFF1E0;
  --shadow: 0 1px 2px rgba(20,16,12,.04), 0 8px 24px rgba(20,16,12,.06);
  --shadow-lg: 0 2px 4px rgba(20,16,12,.05), 0 24px 60px rgba(20,16,12,.12);
  --radius: 16px; --ease: cubic-bezier(.2,.7,.2,1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.1; }
h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.grad { background: linear-gradient(100deg, var(--coral), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.eyebrow.light { color: var(--amber); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s, background .18s, border-color .18s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: linear-gradient(135deg, var(--coral), #F98A4B); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(242,99,74,.28); }
.btn.primary:hover { box-shadow: 0 10px 26px rgba(242,99,74,.38); }
.btn.ghost { background: transparent; }
.btn.lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; }

/* background orbs */
.orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orbs i { position: absolute; border-radius: 50%; opacity: .7; animation: drift 18s ease-in-out infinite alternate; will-change: transform; }
.orbs .o1 { width: 520px; height: 520px; left: -140px; top: -120px; background: radial-gradient(circle, #FDECE8, transparent 70%); }
.orbs .o2 { width: 620px; height: 620px; right: -200px; top: 160px; background: radial-gradient(circle, #FFF1E0, transparent 70%); animation-delay: -6s; }
.orbs .o3 { width: 460px; height: 460px; left: 40%; top: 70vh; background: radial-gradient(circle, #EEE9FC, transparent 70%); animation-delay: -12s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.12); } }

/* header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 28px; background: rgba(251,250,248,.78); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-color: var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo b { color: var(--coral); }
.links { display: flex; gap: 6px; }
.links a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 500; font-size: 14.5px; transition: background .15s, color .15s; }
.links a:hover { background: var(--line-2); color: var(--text); }
.cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; flex-direction: column; justify-content: center; gap: 4px; align-items: center; cursor: pointer; }
.burger i { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

/* hero */
.hero { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0 72px; min-height: calc(100vh - 70px); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow); margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,160,107,.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,160,107,.45); } 70% { box-shadow: 0 0 0 10px rgba(34,160,107,0); } 100% { box-shadow: 0 0 0 0 rgba(34,160,107,0); } }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); font-weight: 900; letter-spacing: -.035em; line-height: 1.06; }
.lead { font-size: 18px; color: var(--text-2); margin: 30px 0 32px; max-width: 540px; line-height: 1.6; }
.lead b { color: var(--text); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.type { margin-top: 30px; font-size: 15px; min-height: 24px; }
.typed { font-weight: 600; color: var(--text); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--coral); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.proof { list-style: none; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px; max-width: 540px; }
.proof li { display: flex; flex-direction: column; }
.proof b { font-size: 24px; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(100deg, var(--coral), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* hero art — two staggered columns, never overlapping */
.hero-art { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: 16px; align-items: start; padding: 24px 0; }
.hero-art .glow { position: absolute; inset: -14% -10%; background: radial-gradient(closest-side at 58% 42%, rgba(242,99,74,.16), transparent), radial-gradient(closest-side at 22% 78%, rgba(247,169,74,.16), transparent); z-index: 0; pointer-events: none; }
.hero-art .col { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.hero-art .col.shift { padding-top: 44px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 4px 8px rgba(20,16,12,.06), 0 34px 70px rgba(242,99,74,.16); }
.float { animation: floaty 7s ease-in-out infinite; }
.c2 { animation-delay: -2s; } .c3 { animation-delay: -4s; } .c4 { animation-delay: -5.5s; } .c5 { animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.chead { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.chead b { display: block; font-size: 13.5px; } .chead small { color: var(--muted); font-size: 12px; }
.chead .tag { margin-left: auto; }
.av { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; background: linear-gradient(135deg, var(--coral), var(--amber)); }
.av.p { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.av.s, .av.g { background: linear-gradient(135deg, var(--green), var(--cyan)); }
.av.o { background: linear-gradient(135deg, #E58A1F, var(--amber)); }
.av.i { background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.tag { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--coral-2); color: var(--coral); white-space: nowrap; }
.tag.amber { background: var(--orange-2); color: #C7741A; } .tag.green { background: var(--green-2); color: var(--green); } .tag.purple { background: var(--purple-2); color: var(--purple); }
.ladder { display: flex; gap: 6px; margin: 2px 0 10px; }
.ladder i { height: 5px; flex: 1; border-radius: 3px; background: var(--line); }
.ladder i.on { background: linear-gradient(90deg, var(--coral), var(--amber)); }
.msg { font-size: 13px; line-height: 1.45; padding: 8px 11px; border-radius: 12px; margin-top: 6px; max-width: 92%; }
.msg.u { background: var(--line-2); margin-left: auto; border-bottom-right-radius: 4px; }
.msg.a { background: var(--coral-2); border-bottom-left-radius: 4px; }
.doc { font-size: 13px; line-height: 1.6; color: var(--text-2); }
.doc mark { background: #FFF3C4; border-radius: 4px; padding: 0 3px; }
.chips { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.chips span { font-size: 12px; padding: 4px 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--text-2); }
.bar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; margin: 6px 0 8px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); animation: grow 2.4s var(--ease) both; }
@keyframes grow { from { width: 0 !important; } }
.approve { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.4; }
.approve small { color: var(--muted); white-space: nowrap; }
.approve b { margin-left: auto; background: var(--green); color: #fff; padding: 6px 12px; border-radius: 9px; font-size: 12.5px; flex: none; }
.paper { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.paper span { font-size: 12px; padding: 6px 9px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); color: var(--text-2); }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 14px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: slide 42s linear infinite; }
.track span { font-size: 13.5px; font-weight: 600; color: var(--text-2); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); white-space: nowrap; }
.track span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--amber)); margin-right: 9px; vertical-align: 1px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* band */
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.band p { font-size: 17px; color: var(--text-2); }
.band p b { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.stats div { padding: 16px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--coral); }
.stats span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; margin-top: 4px; }

/* sections */
.sec { padding: 96px 0; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head p { font-size: 17.5px; color: var(--text-2); margin-top: 16px; }
.sec-head.light h2, .sec-head.light p { color: #fff; }
.sec-head.light p { opacity: .8; }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.feat h3 { margin-top: 16px; }
.ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; position: relative; }
.ic::after { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ic.q { background: var(--coral-2); color: var(--coral); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='2'/%3E%3Cpath d='M8 8h8M8 12h8M8 16h5'/%3E%3C/svg%3E"); }
.ic.l { background: var(--blue-2); color: var(--blue); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='13' rx='2'/%3E%3Cpath d='M8 21h8M12 17v4M7 12l3-3 3 3 4-4'/%3E%3C/svg%3E"); }
.ic.n { background: var(--orange-2); color: #C7741A; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4a1 1 0 0 0 1 1h3l8 4V5L7 9H4a1 1 0 0 0-1 1z'/%3E%3Cpath d='M18 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E"); }
.ic.o { background: var(--purple-2); color: var(--purple); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4z'/%3E%3Cpath d='M4 4l8 7 8-7'/%3E%3C/svg%3E"); }
.ic.g { background: var(--green-2); color: var(--green); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.ic.c { background: var(--cyan-2); color: var(--cyan); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V5a2 2 0 0 1 2-2h12v16H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 19a2 2 0 0 0 2 2h12'/%3E%3C/svg%3E"); }

/* tutor showcase */
.tutor { margin-top: 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); }
.tutor-copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.025em; }
.tutor-copy p { color: var(--text-2); margin-top: 14px; font-size: 16px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.steps li { display: flex; align-items: baseline; gap: 12px; padding: 10px 14px; border-radius: 12px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.steps li b { min-width: 118px; font-size: 14.5px; } .steps li span { font-size: 13.5px; color: var(--muted); }
.steps li.on { background: var(--coral-2); border-color: #F9CFC4; } .steps li.on span { color: var(--text-2); }
.phone { background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 14px; box-shadow: var(--shadow); max-width: 380px; margin: 0 auto; width: 100%; }
.phone-top { display: grid; place-items: center; padding: 4px 0 10px; } .phone-top span { width: 60px; height: 5px; border-radius: 3px; background: var(--line); }
.chat { min-height: 330px; display: flex; flex-direction: column; gap: 4px; }
.chat .msg { animation: pop .35s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.phone-in { display: flex; gap: 8px; margin-top: 12px; }
.phone-in span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; padding: 9px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.phone-in span:first-child { background: linear-gradient(135deg, var(--coral), #F98A4B); color: #fff; border-color: transparent; }

/* iris */
.iris { background: linear-gradient(160deg, #1E1B18, #2C2521 60%, #3A2A23); color: #fff; padding: 100px 0; position: relative; overflow: hidden; }
.iris::before { content: ""; position: absolute; width: 700px; height: 700px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(242,99,74,.35), transparent 65%); filter: blur(30px); }
.iris-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.ir { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px 18px; transition: background .25s, transform .25s var(--ease); }
.ir:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.ib { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.ir h3 { margin-top: 10px; font-size: 17px; } .ir p { font-size: 14px; opacity: .78; margin-top: 8px; min-height: 84px; }
.ir em { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(34,160,107,.25); color: #7EE2B0; margin-top: 12px; }
.ir em.soon { background: rgba(247,169,74,.2); color: #FFD08A; }

/* roles */
.roles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.role { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px; transition: transform .25s var(--ease), box-shadow .25s; }
.role:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.role h3 { margin-top: 14px; font-size: 17px; }
.role ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); font-size: 13.5px; display: flex; flex-direction: column; gap: 6px; }

/* tools */
.tools { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 96px 0; }
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool { padding: 20px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.tool:hover { border-color: #F9CFC4; transform: translateY(-3px); }
.tool b { display: block; font-size: 15px; margin-bottom: 6px; } .tool span { font-size: 13.5px; color: var(--text-2); line-height: 1.5; }

/* trust */
.trust { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.trust-copy p { color: var(--text-2); font-size: 17px; margin: 16px 0 24px; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.trust-list li { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: 14.5px; }
.trust-list li b { font-size: 15px; } .trust-list li span { color: var(--text-2); }

/* compare */
.compare { padding: 96px 0; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.cmp td:first-child { font-weight: 600; width: 32%; }
.cmp td:nth-child(2) { color: var(--muted); }
.cmp .us { background: #FFF7F4; color: var(--text); font-weight: 600; }
.cmp th.us { color: var(--coral); }

/* demo */
.demo { background: linear-gradient(160deg, #1E1B18, #2C2521); color: #fff; padding: 100px 0; }
.demo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.demo h2 { color: #fff; } .demo p { opacity: .8; margin-top: 16px; font-size: 17px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; font-size: 15px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
form.lead.reveal { max-width: none; margin: 0; font-size: inherit; }
form.lead { background: var(--surface); color: var(--text); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); }
form.lead h3 { font-size: 22px; margin-bottom: 4px; }
form.lead label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
form.lead input, form.lead select { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); font-size: 15px; font-weight: 400; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
form.lead input:focus, form.lead select:focus { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-2); }
form.lead button { margin-top: 6px; }
form.lead small { font-size: 12.5px; }

/* footer */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.foot .wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot p { flex: 1; font-size: 13px; min-width: 260px; }
.foot-links { display: flex; gap: 18px; font-size: 14px; font-weight: 500; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }   /* hidden only when the script that reveals is running */
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
/* the hero animates from first paint (keyframes, no observer), so it is never blank */
.js .hero .reveal { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; }
.hero .d1 { animation-delay: .08s; } .hero .d2 { animation-delay: .16s; } .hero .d3 { animation-delay: .24s; } .hero .d4 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .js .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .float, .orbs i, .pill .dot, .bar i, .chat .msg, .track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1080px) {
  .feat-grid, .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .roles, .iris-grid { grid-template-columns: repeat(3, 1fr); }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-art { max-width: 700px; margin: 0 auto; width: 100%; }
}
@media (max-width: 860px) {
  .links { display: none; position: absolute; top: 64px; left: 16px; right: 16px; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow-lg); }
  .links.open { display: flex; }
  .burger { display: flex; }
  .band-grid, .tutor, .trust, .demo-grid { grid-template-columns: 1fr; }
  .tutor { padding: 26px; }
  .trust-list li { grid-template-columns: 1fr; gap: 4px; }
  .stats { grid-template-columns: 1fr; }
  .roles, .iris-grid { grid-template-columns: repeat(2, 1fr); }
  .cmp th, .cmp td { padding: 12px 12px; font-size: 13.5px; }
}
@media (max-width: 600px) {
  .wrap, .hero { width: calc(100% - 32px); }
  .top { padding: 12px 16px; }
  .cta .ghost { display: none; }
  .feat-grid, .tool-grid, .roles, .iris-grid { grid-template-columns: 1fr; }
  .hero-art { grid-template-columns: 1fr; }
  .hero-art .col.shift { padding-top: 0; }
  .card { animation: none; }
  .c3, .c5 { display: none; }
  .proof { grid-template-columns: repeat(2, auto); gap: 16px 24px; }
  .sec { padding: 64px 0; }
  .cmp td:nth-child(2) { display: none; } .cmp th:nth-child(2) { display: none; }
}

/* extra polish */
.dots { position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(30,27,24,.075) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); mask: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%); }
.shimmer { background: linear-gradient(100deg, var(--coral) 0%, var(--amber) 35%, #FFD08A 50%, var(--amber) 65%, var(--coral) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s linear infinite; }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.feat { position: relative; overflow: hidden; }
.feat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--coral), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.feat:hover::before { transform: scaleX(1); }
.how { padding-top: 80px; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.how-grid::before { content: ""; position: absolute; left: 12%; right: 12%; top: 44px; height: 2px; background: linear-gradient(90deg, var(--coral-2), #F9CFC4, var(--coral-2)); z-index: 0; }
.how-card { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; transition: transform .25s var(--ease), box-shadow .25s; }
.how-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.how-card .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--coral), var(--amber)); box-shadow: 0 8px 18px rgba(242,99,74,.3); }
.how-card h3 { margin-top: 18px; } .how-card p { color: var(--text-2); font-size: 15px; margin-top: 8px; }
.how-card em { display: inline-block; margin-top: 14px; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral); }
.rings { position: absolute; left: -120px; bottom: -180px; width: 520px; height: 520px; pointer-events: none; }
.rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(247,169,74,.25); animation: ring 9s ease-in-out infinite; }
.rings i:nth-child(2) { inset: 60px; animation-delay: -3s; } .rings i:nth-child(3) { inset: 120px; animation-delay: -6s; }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.08); opacity: 1; } }
.cmp .us::before { content: "✓ "; color: var(--green); font-weight: 800; }
.cmp th.us::before { content: ""; }
@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } .how-grid::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .shimmer, .rings i { animation: none !important; } }
