/* Figma 17:2, desktop reference 1920 × 1080. */
body[data-view=home]{min-height:1080px;background:#f9f9f9}
body[data-view=home] .header{margin:36px auto 0;box-shadow:none}
body[data-view=home]{--home-scene-top:450px}
body[data-view=home] .school-scene{inset:var(--home-scene-top) 0 0;height:auto;min-height:0;background-size:cover;background-position:center top;background-repeat:no-repeat;pointer-events:none}
.single-landing{padding:64px 24px 100px;text-align:center;color:#333;min-height:964px;overflow:clip}
.landing-intro{margin:auto;max-width:804px}
.single-landing h1{font-size:64px;line-height:70px;letter-spacing:-2.56px;font-weight:600;margin:0}
.landing-description{font-size:20px;line-height:24px;color:#333;margin:22px auto 0;max-width:650px;font-weight:400}
.landing-actions{margin:22px auto 0;display:flex;justify-content:center}
.single-landing .landing-primary{background:#0050cf;border-radius:64px;height:50px;min-height:50px;padding:12px 24px;font-size:20px;line-height:24px;font-weight:500;box-shadow:none}
.landing-workspace{width:653px;max-width:calc(100% - 20px);margin:55px auto 0;position:relative;isolation:isolate}
.landing-paper-back{position:absolute;inset:5px 0 -5px;transform:rotate(-3.11deg);border:1px solid #ddd;border-radius:20px;background:#fff;z-index:-1}
.landing-paper-back:after{content:'';position:absolute;bottom:24px;left:24px;right:24px;height:43px;background:#0050cf99;border-radius:12px}
.landing-plan-form{position:relative;display:flex;flex-direction:column;gap:16px;border:1px solid #ddd;border-radius:20px;background:#fff;padding:24px;box-shadow:none;text-align:left;transform:rotate(3deg)}
.landing-plan-form .field{display:flex;gap:8px;margin:0;min-width:0}
.landing-plan-form .field label{font-size:16px;line-height:19px;font-weight:500;color:#333}
.landing-plan-form .required{color:inherit;margin-left:-3px}
.landing-plan-form input,.landing-plan-form select,.select-trigger{font-family:Inter,Arial,sans-serif;font-size:16px;line-height:19px;height:45px;min-height:45px;border:1px solid #ddd;border-radius:12px;padding:12px;color:#808080;min-width:0;background:white}
.landing-plan-form input::placeholder{color:#808080;opacity:1}
.landing-form-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.landing-input-row{display:flex;align-items:center;gap:8px;min-width:0}
.landing-input-row input{flex:1;width:0}
.landing-plan-form .landing-generate{display:flex;align-items:center;justify-content:center;width:100%;height:43px;min-height:43px;font-size:16px;line-height:19px;font-weight:500;background:#0050cf99;border-radius:12px;padding:12px}
.landing-plan-form .landing-generate:hover{background:#0050cf}
.single-demo-link{display:none}
.landing-select{position:relative;min-width:0}
.landing-select .select-native{position:absolute;inset:0 auto auto 0;opacity:0;pointer-events:none;width:1px;height:1px;min-height:0;padding:0}
.select-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;height:44px;width:100%;border:1px solid #ddd;border-radius:12px;padding:11px 12px;color:#7a7a7a;background:white;text-align:left;font-size:16px;line-height:20px;transition:border-color .2s,box-shadow .2s,background .2s}
.select-trigger:hover{background:#fdfefe;border-color:#b7c9e1}
.select-trigger:focus-visible,.select-trigger[aria-expanded=true]{outline:none;border-color:#8aafdf;box-shadow:0 0 0 3px #0050cf08}
.selected-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.select-trigger img{width:19px;height:19px;flex:none;opacity:.75;transition:transform .2s}
.is-open .select-trigger img{transform:rotate(180deg)}
.select-popup{position:absolute;z-index:10;top:calc(100% + 7px);left:0;min-width:100%;max-width:min(310px,80vw);max-height:240px;overflow:auto;overscroll-behavior:contain;border:1px solid #e0e7f1;border-radius:12px;box-shadow:0 14px 40px #20385321;background:white;padding:5px;animation:single-select-enter .16s ease-out;scrollbar-width:thin;scrollbar-color:#d4ddeb transparent}
.select-popup[hidden]{display:none}
.select-popup [role=option]{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;white-space:nowrap;padding:10px 11px;min-height:40px;border-radius:7px;font-size:14px;line-height:22px;color:#64738a;transition:color .12s,background .12s}
.select-popup [role=option]:hover,.select-popup [role=option].is-active{background:#f1f5fc;color:#245797}
.select-popup [role=option][aria-selected=true]{color:#0050cf;background:#edf3ff;font-weight:550}
.select-popup [role=option] svg{width:15px;height:15px;opacity:0;flex:none}
.select-popup [role=option][aria-selected=true] svg{opacity:1}
/* Motion pass: staged page opening, two headline lines and a continuous type/erase loop. */
body[data-view=home] .header{animation:header-arrive .9s cubic-bezier(.16,1,.3,1) both}
.single-landing h1{animation:none}
.hero-line{display:block;overflow:visible;padding:0 .07em .075em;margin:0 -.07em -.075em}
.hero-line-inner{display:block;animation:headline-arrive 1.1s .12s cubic-bezier(.16,1,.3,1) both}
.hero-line:nth-child(2) .hero-line-inner{animation-delay:.3s}
.landing-description{animation:none}
.hero-description-line{display:block;animation:description-arrive .95s .62s cubic-bezier(.16,1,.3,1) both}
.hero-description-line:nth-child(2){animation-delay:.76s}
.landing-actions{animation:button-arrive .95s .94s cubic-bezier(.16,1,.3,1) both}
.single-landing .landing-primary{position:relative;isolation:isolate;overflow:hidden;transition:background .3s,box-shadow .3s,transform .3s}
.single-landing .landing-primary:after{content:'';pointer-events:none;position:absolute;top:-35%;bottom:-35%;left:-60%;width:42%;background:linear-gradient(90deg,transparent,#ffffff32,transparent);transform:translateX(-180%) skewX(-18deg);animation:button-glint 8s 2.1s ease-in-out infinite}
.landing-workspace{animation:card-arrive 1.25s 1.08s cubic-bezier(.16,1,.3,1) both}
.landing-paper-back{animation:back-paper-settle 1.6s 1.1s cubic-bezier(.16,1,.3,1) both}
.single-demo-link{animation:description-arrive .9s 1.65s ease-out both}
.selected-label.example-typing{color:#0050cf}
.selected-label.example-typing:after{content:'';display:inline-block;height:.9em;width:1.5px;background:#0050cf;margin-left:2px;vertical-align:-.09em;animation:example-caret .85s step-end infinite}
.landing-plan-form[data-example-phase=erasing] input.example-typing,.landing-plan-form[data-example-phase=erasing] .selected-label.example-typing{color:#6a87b2}
@keyframes header-arrive{from{opacity:1;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
@keyframes headline-arrive{from{opacity:.8;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@keyframes description-arrive{from{opacity:.8;transform:translateY(10px);filter:blur(0)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@keyframes button-arrive{from{opacity:1;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes card-arrive{from{opacity:1;transform:translateY(18px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes back-paper-settle{from{transform:rotate(-.5deg) translateY(8px)}to{transform:rotate(-3deg) translateY(0)}}
@keyframes button-glint{0%,68%{transform:translateX(-180%) skewX(-18deg)}88%,100%{transform:translateX(530%) skewX(-18deg)}}
@keyframes example-caret{0%,100%{opacity:1}50%{opacity:0}}
@media(max-width:520px){.hero-description-line{display:inline}.hero-description-line:after{content:' '}.landing-paper-back{animation-name:back-paper-settle-mobile}}
@keyframes back-paper-settle-mobile{from{transform:rotate(-.5deg) translateY(6px)}to{transform:rotate(-2.4deg) translateY(0)}}
@media(prefers-reduced-motion:reduce){.single-landing *,.single-landing *:before,.single-landing *:after,body[data-view=home] .header{animation:none!important;transition:none!important;filter:none!important}.hero-line-inner,.hero-description-line,.landing-actions,.landing-workspace,.single-demo-link{opacity:1;transform:none}.single-landing .landing-primary:after,.selected-label.example-typing:after{display:none}}

.landing-paper-back{animation-fill-mode:backwards}

/* Essential content is readable in the first frame, including hosted preview captures. */
.single-demo-link{animation:none}
/* The site owner explicitly requested motion. This mode takes priority over the
   older blanket reduced-motion rule; setting config.motion='auto' restores it. */
@media(prefers-reduced-motion:reduce){
 html[data-motion=on] body[data-view=home] .header{animation:header-arrive .9s cubic-bezier(.16,1,.3,1) both!important}
 html[data-motion=on] .single-landing .hero-line-inner{animation:headline-arrive 1.1s .12s cubic-bezier(.16,1,.3,1) both!important}
 html[data-motion=on] .single-landing .hero-line:nth-child(2) .hero-line-inner{animation-delay:.3s!important}
 html[data-motion=on] .single-landing .hero-description-line{animation:description-arrive .95s .62s cubic-bezier(.16,1,.3,1) both!important}
 html[data-motion=on] .single-landing .hero-description-line:nth-child(2){animation-delay:.76s!important}
 html[data-motion=on] .single-landing .landing-actions{animation:button-arrive .95s .94s cubic-bezier(.16,1,.3,1) both!important}
 html[data-motion=on] .single-landing .landing-workspace{animation:card-arrive 1.25s 1.08s cubic-bezier(.16,1,.3,1) both!important}
 html[data-motion=on] .single-landing .landing-paper-back{animation:back-paper-settle 1.6s 1.1s cubic-bezier(.16,1,.3,1) backwards!important}
 html[data-motion=on] .single-landing .landing-primary:after{display:block;animation:button-glint 8s 2.1s ease-in-out infinite!important}
 html[data-motion=on] .single-landing .selected-label.example-typing:after{display:inline-block;animation:example-caret .85s step-end infinite!important}
}

@media(max-width:900px){
 .single-landing{padding-top:60px}.single-landing h1{font-size:56px;line-height:62px;letter-spacing:-2px}
 .landing-description{font-size:17px;line-height:24px;max-width:610px}
 .landing-workspace{margin-top:55px}
}
/* Keep the single hero/form composition visible on shorter desktop screens.
   The 1920 × 1080 Figma reference retains its exact desktop measurements. */
@media(min-width:901px) and (max-height:850px){
 body[data-view=home]{min-height:100svh}
 body[data-view=home] .header{width:740px;height:64px;margin-top:18px;padding:6px 24px}
 body[data-view=home] .brand{width:195px;flex-basis:195px;height:52px}
 body[data-view=home] .brand img{width:195px;height:52px}
 body[data-view=home] .header .nav-link,body[data-view=home] .header .btn{font-size:16px;line-height:22px;min-height:42px;padding:10px 20px}
 .single-landing{padding:26px 24px 20px;min-height:calc(100svh - 82px)}
 .single-landing h1{font-size:48px;line-height:54px;letter-spacing:-1.92px}
 .landing-description{font-size:16px;line-height:20px;margin-top:14px}
 .landing-actions{margin-top:14px}
 .single-landing .landing-primary{height:42px;min-height:42px;font-size:16px;line-height:20px;padding:11px 22px}
 .landing-workspace{width:610px;margin-top:33px}
 .landing-plan-form{padding:20px;gap:10px}
 .landing-plan-form .field{gap:5px}.landing-plan-form .field label{font-size:14px;line-height:17px}
 .landing-plan-form input,.landing-plan-form select,.select-trigger{height:36px;min-height:36px;padding:8px 11px;font-size:14px;line-height:18px}
 .landing-plan-form .landing-generate{height:38px;min-height:38px;font-size:14px;padding:10px}
 body[data-view=home]{--home-scene-top:300px}
}
@media(min-width:901px) and (max-height:720px){
 body[data-view=home] .header{height:60px;margin-top:14px}
 .single-landing{padding-top:20px;min-height:calc(100svh - 74px)}
 .single-landing h1{font-size:42px;line-height:47px;letter-spacing:-1.68px}
 .landing-description{font-size:14px;line-height:20px;margin-top:12px}
 .landing-actions{margin-top:12px}.single-landing .landing-primary{height:40px;min-height:40px;font-size:14px;padding:10px 20px}
 .landing-workspace{width:570px;margin-top:24px}.landing-plan-form{padding:18px}
 .landing-plan-form input,.landing-plan-form select,.select-trigger{height:34px;min-height:34px;font-size:13px;padding:7px 10px}
 .landing-plan-form .field label{font-size:13px}.landing-plan-form .landing-generate{height:36px;min-height:36px;font-size:13px;padding:8px}
}
@media(max-width:640px){
 body[data-view=home]{min-height:100svh}body[data-view=home] .header{margin-top:18px}
 .single-landing{padding:50px 18px 65px;min-height:900px}
 .single-landing h1{font-size:36px;line-height:41px;letter-spacing:-1.44px}
 .landing-description{font-size:14px;line-height:21px;max-width:360px;margin-top:20px}
 .landing-actions{margin-top:20px}.single-landing .landing-primary{font-size:16px;line-height:20px;min-height:44px;height:44px;padding:11px 20px}
 .landing-workspace{width:100%;max-width:calc(100% - 12px);margin-top:48px}
 .landing-plan-form{padding:20px 16px;gap:16px;border-radius:16px;transform:rotate(2deg)}
 .landing-paper-back{border-radius:16px;transform:rotate(-2.5deg)}
 .landing-plan-form .field label{font-size:14px;line-height:18px}
 .landing-form-row{gap:8px}.landing-plan-form input,.landing-plan-form select,.select-trigger{font-size:14px;padding:11px 9px}
 .select-trigger img{width:15px;height:15px}.landing-plan-form .landing-generate{font-size:14px}
 body[data-view=home]{--home-scene-top:370px}
}
@media(max-width:374px){.single-landing h1{font-size:32px;line-height:37px}}

/* On wide viewports (including zooming out), grow the composition with the
   available width and height instead of leaving a small fixed-size island.
   One unit is exactly 1px on the original 1920 × 1080 Figma canvas. */
@media(min-width:901px) and (min-height:851px){
 body[data-view=home]{--landing-unit:clamp(.85px,min(.052083333vw,.092592593svh),2px);--home-scene-top:calc(450 * var(--landing-unit));min-height:100svh}
 body[data-view=home] .header{width:calc(800 * var(--landing-unit));height:calc(80 * var(--landing-unit));margin-top:calc(36 * var(--landing-unit));padding:calc(8 * var(--landing-unit)) calc(28 * var(--landing-unit));border-radius:calc(80 * var(--landing-unit))}
 body[data-view=home] .brand{flex-basis:calc(238 * var(--landing-unit));width:calc(238 * var(--landing-unit));height:calc(64 * var(--landing-unit))}
 body[data-view=home] .brand img{width:100%;height:100%}
 body[data-view=home] .header nav{gap:calc(12 * var(--landing-unit))}
 body[data-view=home] .header .nav-link,body[data-view=home] .header .btn{font-size:calc(20 * var(--landing-unit));line-height:calc(24 * var(--landing-unit));min-height:calc(50 * var(--landing-unit));padding:calc(12 * var(--landing-unit)) calc(24 * var(--landing-unit))}
 body[data-view=home] .header .btn{border-radius:calc(12 * var(--landing-unit))}
 .single-landing{padding:calc(64 * var(--landing-unit)) 24px calc(100 * var(--landing-unit));min-height:calc(100svh - 116 * var(--landing-unit))}
 .landing-intro{max-width:calc(804 * var(--landing-unit))}
 .single-landing h1{font-size:calc(64 * var(--landing-unit));line-height:calc(70 * var(--landing-unit));letter-spacing:calc(-2.56 * var(--landing-unit))}
 .landing-description{max-width:calc(650 * var(--landing-unit));font-size:calc(20 * var(--landing-unit));line-height:calc(24 * var(--landing-unit));margin-top:calc(22 * var(--landing-unit))}
 .landing-actions{margin-top:calc(22 * var(--landing-unit))}
 .single-landing .landing-primary{font-size:calc(20 * var(--landing-unit));line-height:calc(24 * var(--landing-unit));height:calc(50 * var(--landing-unit));min-height:calc(50 * var(--landing-unit));padding:calc(12 * var(--landing-unit)) calc(24 * var(--landing-unit));border-radius:calc(64 * var(--landing-unit))}
 .landing-workspace{width:calc(653 * var(--landing-unit));margin-top:calc(55 * var(--landing-unit))}
 .landing-plan-form{padding:calc(24 * var(--landing-unit));gap:calc(16 * var(--landing-unit));border-radius:calc(20 * var(--landing-unit))}
 .landing-paper-back{border-radius:calc(20 * var(--landing-unit))}
 .landing-paper-back:after{height:calc(43 * var(--landing-unit));bottom:calc(24 * var(--landing-unit));left:calc(24 * var(--landing-unit));right:calc(24 * var(--landing-unit));border-radius:calc(12 * var(--landing-unit))}
 .landing-plan-form .field{gap:calc(8 * var(--landing-unit))}
 .landing-plan-form .field label{font-size:calc(16 * var(--landing-unit));line-height:calc(19 * var(--landing-unit))}
 .landing-plan-form input,.landing-plan-form select,.landing-plan-form .select-trigger{font-size:calc(16 * var(--landing-unit));line-height:calc(19 * var(--landing-unit));height:calc(45 * var(--landing-unit));min-height:calc(45 * var(--landing-unit));padding:calc(12 * var(--landing-unit));border-radius:calc(12 * var(--landing-unit))}
 .landing-plan-form select{padding-right:calc(35 * var(--landing-unit));background-size:calc(19 * var(--landing-unit));background-position:right calc(12 * var(--landing-unit)) center}
 .landing-form-row{gap:calc(16 * var(--landing-unit))}
 .landing-input-row{gap:calc(8 * var(--landing-unit))}
 .landing-plan-form .add-goal,.landing-plan-form .add-goal img{width:calc(24 * var(--landing-unit));height:calc(24 * var(--landing-unit));flex-basis:calc(24 * var(--landing-unit))}
 .landing-plan-form .select-trigger img{width:calc(19 * var(--landing-unit));height:calc(19 * var(--landing-unit))}
 .landing-plan-form .landing-generate{font-size:calc(16 * var(--landing-unit));line-height:calc(19 * var(--landing-unit));height:calc(43 * var(--landing-unit));min-height:calc(43 * var(--landing-unit));padding:calc(12 * var(--landing-unit));border-radius:calc(12 * var(--landing-unit))}
 .landing-plan-form .select-popup{max-width:min(calc(310 * var(--landing-unit)),80vw);max-height:calc(240 * var(--landing-unit))}
 .landing-plan-form .select-popup [role=option]{font-size:calc(14 * var(--landing-unit));line-height:calc(22 * var(--landing-unit));min-height:calc(40 * var(--landing-unit));padding:calc(10 * var(--landing-unit)) calc(11 * var(--landing-unit))}
}

.nav-toggle{display:none}
@media(max-width:760px){
 body[data-view] .header{width:calc(100% - 32px);max-width:none;height:68px;min-height:68px;margin:16px auto 0;padding:8px 16px;gap:12px;border-radius:24px;flex-wrap:nowrap;overflow:visible}
 body[data-view] .header .brand{width:160px;height:43px;flex-basis:160px}
 body[data-view] .header .brand img{width:160px;height:43px}
 .nav-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-left:auto;min-width:92px;min-height:44px;padding:10px 12px;border-radius:12px;background:#edf3ff;color:#0050cf;font-size:15px;line-height:22px;font-weight:600;flex:none}
 .nav-toggle[aria-expanded=true]{background:#0050cf;color:white}
 body[data-view] .header nav{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);width:auto;margin:0;padding:8px;gap:4px;background:white;border:1px solid #ddd;border-radius:20px;box-shadow:0 12px 32px #122d531a}
 body[data-view] .header.nav-open{z-index:30}
 body[data-view] .header.nav-open nav{display:flex;flex-direction:column;align-items:stretch}
 body[data-view] .header nav .nav-link,body[data-view] .header nav .btn{width:100%;min-width:0;min-height:48px;font-size:16px;line-height:22px;padding:12px 16px;border-radius:12px;white-space:normal;text-align:left;justify-content:flex-start}
 body[data-view] .header nav .nav-link.active{background:#edf3ff}
 body[data-view] .header nav .nav-link.active:after{display:none}
}
@media(max-width:400px){body[data-view] .header .brand{width:144px;height:39px;flex-basis:144px}body[data-view] .header .brand img{width:144px;height:39px}}
@media(max-width:640px){
 .landing-workspace{max-width:calc(100% - 20px)}
 .landing-plan-form{transform:rotate(1deg)}
 .landing-plan-form input,.landing-plan-form select,.landing-plan-form .select-trigger{font-size:16px}
}
@media(max-width:520px){
 .landing-form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .landing-form-row>.field:first-child{grid-column:1/-1}
}
