:root {
  --ink: #08152d;
  --ink-2: #172743;
  --muted: #64748b;
  --line: #dce4ef;
  --soft: #f4f7fb;
  --blue: #0869e8;
  --blue-bright: #1498ff;
  --mint: #59d3b2;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(8, 21, 45, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Segoe UI", Arial, Helvetica, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; color: #fff; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 78px; border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.scrolled { background: rgba(255,255,255,.92); border-color: rgba(8,21,45,.08); box-shadow: 0 12px 34px rgba(8,21,45,.06); backdrop-filter: blur(16px); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 21px/1 "Segoe UI", Arial, Helvetica, sans-serif; letter-spacing: -.6px; }
.brand img { width: 42px; height: 42px; border-radius: 11px; box-shadow: 0 8px 20px rgba(0,92,230,.22); }
.brand > span > span { color: var(--blue); }
.navigation { display: flex; align-items: center; gap: 31px; font-size: 14px; font-weight: 600; }
.navigation > a:not(.button) { color: #41516a; transition: color .2s; }
.navigation > a:hover { color: var(--blue); }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 0; border-radius: 10px; background: var(--soft); }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--blue); border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--blue), #0553c8); font-weight: 700; box-shadow: 0 12px 28px rgba(8,105,232,.2); transition: transform .2s, box-shadow .2s; }
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(8,105,232,.3); }
.button-small { min-height: 42px; padding-inline: 18px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--ink-2); }
.text-link span { color: var(--blue); font-size: 20px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.hero { position: relative; min-height: 800px; padding: 156px 0 92px; overflow: hidden; background: radial-gradient(circle at 92% 8%, #dceeff 0, transparent 29%), linear-gradient(180deg, #fbfdff, #f1f6fc); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; left: -370px; top: 210px; border: 1px solid rgba(8,105,232,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(8,105,232,.025), 0 0 0 140px rgba(8,105,232,.018); }
.hero-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 62px; align-items: center; }
.eyebrow { margin: 0 0 20px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 22px; height: 2px; margin: 0 9px 3px 0; background: currentColor; }
h1, h2, h3 { font-family: "Segoe UI", Arial, Helvetica, sans-serif; line-height: 1.1; letter-spacing: -.025em; }
h1 { margin: 0; font-size: clamp(52px, 6.2vw, 82px); font-weight: 800; }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 650px; margin: 27px 0 30px; color: #4b5d77; font-size: 19px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 9px 24px; padding: 0; margin: 32px 0 0; list-style: none; color: #47566c; font-size: 13px; font-weight: 600; }
.hero-checks li::before { content: "✓"; display: inline-grid; width: 20px; height: 20px; place-items: center; margin-right: 7px; border-radius: 50%; color: var(--blue); background: #dcecff; font-size: 11px; }

.cad-stage { position: relative; min-width: 0; }
.cad-window { overflow: hidden; border: 1px solid #263b5d; border-radius: 18px; background: #0b1729; box-shadow: 0 38px 90px rgba(7,21,47,.3); transform: perspective(1200px) rotateY(-3deg) rotateX(1deg); }
.cad-toolbar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 16px; color: #8fa2be; background: #111f35; font-size: 11px; letter-spacing: .8px; }
.cad-toolbar i { width: 8px; height: 8px; border-radius: 50%; background: #3d506d; }
.cad-toolbar i:first-child { background: #117cf1; }
.cad-toolbar span { margin-left: 8px; }
.cad-canvas { position: relative; min-height: 460px; overflow: hidden; }
.cad-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(#294160 1px, transparent 1px), linear-gradient(90deg, #294160 1px, transparent 1px); background-size: 24px 24px; }
.cad-canvas svg { position: relative; width: 100%; min-height: 420px; padding: 18px; }
.cad-command { position: absolute; inset: auto 14px 12px; padding: 8px 12px; border: 1px solid #263c5c; color: #8196b5; background: rgba(5,14,27,.88); font: 10px/1.3 monospace; }
.cad-command span { color: #42a5ff; }
.floating-stat { position: absolute; display: flex; align-items: center; padding: 14px 16px; border: 1px solid rgba(8,21,45,.1); border-radius: 13px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.floating-stat strong { font-family: "Segoe UI", Arial, Helvetica, sans-serif; }
.floating-stat span { color: var(--muted); font-size: 11px; line-height: 1.3; }
.stat-one { left: -27px; bottom: 44px; gap: 12px; }
.stat-one strong { color: var(--blue); font-size: 27px; }
.stat-two { right: -18px; top: 71px; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; }
.stat-two > span:last-child { grid-column: 2; }
.pulse { width: 10px; height: 10px; grid-row: span 2; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 6px rgba(89,211,178,.15); }

.trust-strip { padding: 22px 0; color: #607089; border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: flex; align-items: center; justify-content: space-between; font: 700 11px/1 "Segoe UI", Arial, Helvetica, sans-serif; letter-spacing: 2px; }
.trust-grid i { width: 4px; height: 4px; border-radius: 50%; background: #aac0db; }

.section { padding: 115px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.section-heading h2 { max-width: 720px; margin: 0; font-size: clamp(36px, 4.4vw, 57px); font-weight: 750; }
.section-heading > p:last-child { max-width: 620px; color: var(--muted); font-size: 17px; }
.section-heading.centered { text-align: center; }
.section-heading.centered h2, .section-heading.centered > p:last-child { margin-inline: auto; }
.product-copy > p { margin: 0; color: #52627a; font-size: 18px; line-height: 1.8; }
.mini-features { display: grid; gap: 19px; margin-top: 35px; }
.mini-features > div { display: grid; grid-template-columns: 44px 1fr; gap: 13px; align-items: center; }
.mini-features b { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #bcd7f6; border-radius: 10px; color: var(--blue); background: #eff7ff; font-size: 12px; }
.mini-features span { display: flex; flex-direction: column; color: var(--muted); font-size: 13px; }
.mini-features strong { color: var(--ink); font-size: 15px; }

.features { background: var(--soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 55px; }
.feature-card { min-height: 315px; padding: 30px; border: 1px solid #dfe7f1; border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-5px); border-color: #bed5ee; box-shadow: 0 20px 50px rgba(15,41,74,.09); }
.feature-card-wide { grid-column: span 2; display: grid; grid-template-columns: 155px 1fr; gap: 30px; align-items: center; }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 43px; border: 1px solid #c9dcf1; border-radius: 15px; color: var(--blue); background: #edf6ff; font: 800 25px/1 "Segoe UI", Arial, Helvetica, sans-serif; }
.feature-card-wide .feature-icon { width: 138px; height: 138px; margin: 0; border-radius: 28px; }
.sheet-icon span { width: 70px; height: 65px; border-left: 4px solid currentColor; border-bottom: 4px solid currentColor; transform: skewY(-18deg); }
.card-index { margin: 0 0 10px; color: var(--blue); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.feature-card h3 { margin: 0 0 13px; font-size: 24px; }
.feature-card p:last-child { margin: 0; color: #64748b; font-size: 15px; }
.accent-card { color: #fff; border-color: #12325d; background: linear-gradient(135deg, #0b1c36, #102d54); }
.accent-card .feature-icon { color: #fff; border-color: rgba(255,255,255,.17); background: rgba(20,152,255,.22); }
.accent-card .card-index { color: #63b9ff; }
.accent-card p:last-child { color: #b6c6da; }

.workflow { padding-block: 85px; background: #fff; }
.workflow-panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; overflow: hidden; padding: 75px; border-radius: 30px; color: #fff; background: radial-gradient(circle at 90% 0, #154b87, transparent 36%), linear-gradient(135deg, #07152f, #0a2446); }
.workflow-panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -210px; bottom: -270px; border: 1px solid rgba(83,177,255,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(83,177,255,.025), 0 0 0 110px rgba(83,177,255,.018); }
.eyebrow.light { color: #62baff; }
.workflow .section-heading h2 { font-size: clamp(38px, 4vw, 53px); }
.workflow .section-heading h2 em { color: #62baff; }
.workflow .section-heading > p:last-child { color: #b4c4d9; }
.workflow-steps { position: relative; z-index: 1; display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.workflow-steps li { display: grid; grid-template-columns: 45px 1fr; gap: 15px; align-items: center; padding: 19px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.045); }
.workflow-steps li > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: #8bcbff; background: rgba(20,152,255,.18); font-weight: 800; }
.workflow-steps strong { font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-size: 16px; }
.workflow-steps p { margin: 2px 0 0; color: #a9bad0; font-size: 13px; }

.difference { background: #fff; }
.difference-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.comparison { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 50px rgba(17,40,70,.07); }
.comparison > div { display: grid; grid-template-columns: 1fr 1fr; padding: 19px 24px; border-bottom: 1px solid var(--line); }
.comparison > div:last-child { border: 0; }
.comparison-head { color: #728096; background: var(--soft); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; }
.comparison strong { font-size: 14px; }
.comparison div span { color: var(--muted); font-size: 13px; }
.comparison div:not(.comparison-head) span::before { content: "✓"; margin-right: 8px; color: var(--mint); font-weight: 800; }

.faq { border-top: 1px solid var(--line); background: var(--soft); }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq-list details { border-bottom: 1px solid #ccd7e5; }
.faq-list summary { position: relative; padding: 22px 45px 22px 0; cursor: pointer; list-style: none; font-family: "Segoe UI", Arial, Helvetica, sans-serif; font-weight: 700; letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 18px; right: 5px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: #e1eeff; font-size: 20px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: -5px 40px 23px 0; color: var(--muted); font-size: 15px; }

.contact { padding: 75px 0; background: #fff; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 55px 65px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, #0869e8, #0649ad); box-shadow: 0 22px 60px rgba(8,105,232,.22); }
.contact-panel h2 { max-width: 730px; margin: 0; font-size: clamp(34px, 4vw, 52px); }
.contact-panel p:last-child { margin-bottom: 0; color: #d4e8ff; }
.contact-actions { flex: 0 0 220px; text-align: center; }
.button-light { width: 100%; color: var(--blue); border-color: #fff; background: #fff; box-shadow: none; }
.button-light:hover { color: var(--blue); }
.contact-mail { display: inline-block; margin-top: 13px; color: #d8eaff; font-size: 13px; }

.access-section { padding-top: 20px; background: #fff; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.access-card { position: relative; overflow: hidden; padding: 45px; border: 1px solid var(--line); border-radius: 25px; background: var(--soft); }
.access-card h2 { max-width: 520px; margin: 0 0 18px; font-size: 35px; }
.access-card > p:not(.eyebrow) { max-width: 560px; margin-bottom: 28px; color: var(--muted); }
.access-number { position: absolute; top: 22px; right: 28px; color: #d7e1ed; font: 800 58px/1 "Segoe UI", Arial, Helvetica, sans-serif; }
.student-card { color: #fff; border-color: #122f56; background: linear-gradient(135deg, #091a34, #103d70); }
.student-card .eyebrow { color: #68c1ff; }
.student-card > p:not(.eyebrow) { color: #bdcce0; }
.student-card .access-number { color: rgba(255,255,255,.1); }
.button-outline { border-color: rgba(255,255,255,.55); background: transparent; box-shadow: none; }

.portal-body { min-height: 100vh; background: #eef3f9; }
.portal-header { position: static; background: #fff; border-bottom: 1px solid var(--line); }
.portal-header .nav-wrap { height: 78px; }
.portal-main { padding: 58px 0 100px; }
.portal-intro { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 35px; }
.portal-intro h1 { max-width: 760px; font-size: clamp(40px, 5vw, 62px); }
.portal-intro p { max-width: 580px; color: var(--muted); }
.prototype-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #efd186; border-radius: 99px; color: #805d05; background: #fff7df; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.prototype-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #efad00; }
.portal-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 25px; align-items: start; }
.portal-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 50px rgba(12,37,67,.07); }
.portal-card-inner { padding: 36px; }
.portal-card h2 { margin: 0 0 8px; font-size: 29px; }
.portal-card .card-lead { margin: 0 0 27px; color: var(--muted); font-size: 14px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; margin-bottom: 28px; border-radius: 11px; background: var(--soft); }
.tab-button { padding: 11px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-weight: 700; cursor: pointer; }
.tab-button.active { color: var(--ink); background: #fff; box-shadow: 0 4px 12px rgba(8,21,45,.07); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; color: #2e3d55; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cad5e3; border-radius: 9px; color: var(--ink); background: #fff; outline: none; transition: border .2s, box-shadow .2s; }
.field textarea { min-height: 105px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #5ba7f7; box-shadow: 0 0 0 3px rgba(20,127,243,.12); }
.field small { color: #8290a4; font-weight: 400; }
.check-field { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; }
.check-field input { margin-top: 4px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 23px; }
.form-actions .button { border: 0; cursor: pointer; }
.form-message { padding: 12px 14px; margin-top: 18px; border: 1px solid #a9dfca; border-radius: 9px; color: #176849; background: #edfaf5; font-size: 13px; }
.portal-aside { display: grid; gap: 18px; }
.info-card { padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.info-card h3 { margin: 0 0 12px; font-size: 18px; }
.info-card p, .info-card li { color: var(--muted); font-size: 13px; }
.info-card ul { padding-left: 20px; margin-bottom: 0; }
.info-card li + li { margin-top: 7px; }
.state-switcher { display: flex; flex-wrap: wrap; gap: 7px; padding: 6px; border-radius: 12px; background: #dfe7f1; }
.state-switcher button { padding: 8px 11px; border: 0; border-radius: 8px; color: #52627a; background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.state-switcher button.active { color: var(--blue); background: #fff; }
.account-state { margin-top: 18px; }
.status-panel { padding: 24px; border: 1px solid #f0d48b; border-radius: 14px; background: #fffaf0; }
.status-panel.approved { border-color: #aedeca; background: #f0fbf6; }
.status-panel h3 { margin: 0 0 7px; font-size: 19px; }
.status-panel p { margin: 0; color: var(--muted); font-size: 13px; }
.status-icon { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 50%; color: #986d00; background: #ffedb9; font-size: 20px; }
.approved .status-icon { color: #137153; background: #ccefe1; }
.download-list { display: grid; gap: 12px; margin-top: 20px; }
.download-item { display: grid; grid-template-columns: 45px 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.download-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 10px; color: var(--blue); background: #eaf4ff; font-weight: 800; }
.download-item strong { display: block; font-size: 14px; }
.download-item span { color: var(--muted); font-size: 11px; }
.download-item button { padding: 8px 12px; border: 1px solid #b9d4f2; border-radius: 8px; color: var(--blue); background: #f2f8ff; font-weight: 700; cursor: pointer; }
.student-hero { padding: 75px 0 140px; background: radial-gradient(circle at 85% 10%, #1b5f9e, transparent 32%), linear-gradient(135deg, #07152f, #0b2b51); }
.student-hero .portal-intro { color: #fff; }
.student-hero .portal-intro p { color: #b8c9de; }
.student-form-wrap { margin-top: -92px; padding-bottom: 100px; }
.student-form-card { max-width: 920px; margin-inline: auto; }
.student-form-card .portal-card-inner { padding: 45px; }
.required-note { color: var(--muted); font-size: 11px; }
.member-nav { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 11px; background: var(--soft); }
.member-nav a { padding: 8px 13px; border-radius: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
.member-nav a.active, .member-nav a:hover { color: var(--blue); background: #fff; box-shadow: 0 4px 12px rgba(8,21,45,.06); }
.member-user { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.member-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-size: 12px; font-weight: 800; }
.member-user span { display: flex; flex-direction: column; color: var(--ink); font-size: 12px; line-height: 1.25; }
.member-user small { color: var(--muted); }
.locked-note { display: flex; gap: 10px; align-items: center; margin-bottom: 23px; padding: 11px 14px; border: 1px solid #c6d8ec; border-radius: 10px; color: #49627e; background: #f3f8fd; font-size: 12px; }
.help-shell { display: grid; grid-template-columns: 320px 1fr; min-height: 680px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 20px 60px rgba(10,35,66,.08); }
.help-sidebar { padding: 25px 18px; border-right: 1px solid var(--line); background: #f7f9fc; }
.help-search { position: relative; margin-bottom: 22px; }
.help-search input { width: 100%; height: 44px; padding: 0 13px 0 38px; border: 1px solid #cdd8e5; border-radius: 9px; outline: none; }
.help-search::before { content: "⌕"; position: absolute; top: 8px; left: 13px; color: var(--muted); font-size: 20px; }
.help-category { margin: 20px 10px 7px; color: #8a98aa; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.help-topic { width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; color: #4c5d74; background: transparent; text-align: left; cursor: pointer; font-size: 13px; }
.help-topic.active { color: var(--blue); background: #e7f2ff; font-weight: 700; }
.help-content { padding: 44px 50px; }
.help-content h1 { margin: 0 0 10px; font-size: 43px; }
.command-code { display: inline-flex; padding: 5px 9px; margin-bottom: 25px; border-radius: 6px; color: #6e7c90; background: var(--soft); font: 12px/1.4 monospace; }
.help-lead { max-width: 760px; color: var(--muted); font-size: 17px; }
.help-preview { min-height: 210px; display: grid; place-items: center; margin: 30px 0; overflow: hidden; border: 1px solid #273d5c; border-radius: 14px; color: #93bdeb; background-color: #0d1a2c; background-image: linear-gradient(#1e3048 1px, transparent 1px), linear-gradient(90deg, #1e3048 1px, transparent 1px); background-size: 22px 22px; }
.help-preview svg { width: min(90%, 560px); }
.help-content h2 { margin: 33px 0 10px; font-size: 21px; }
.help-steps { padding: 0; counter-reset: steps; list-style: none; }
.help-steps li { position: relative; min-height: 38px; padding: 5px 0 16px 48px; color: var(--muted); }
.help-steps li::before { counter-increment: steps; content: counter(steps); position: absolute; top: 0; left: 0; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: var(--blue); background: #e9f3ff; font-weight: 800; }
.help-tip { padding: 15px 18px; border-left: 3px solid var(--mint); color: #47615a; background: #f0faf7; font-size: 13px; }
.support-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.ticket-list { display: grid; gap: 12px; }
.ticket-item { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ticket-meta { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.ticket-status { padding: 3px 8px; border-radius: 99px; color: #8b6505; background: #fff0bc; font-weight: 700; }
.ticket-status.closed { color: #176849; background: #d8f3e8; }
.ticket-item strong { font-size: 14px; }
.ticket-item p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.support-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.support-contact div { padding: 17px; border-radius: 11px; background: var(--soft); }
.support-contact strong, .support-contact span { display: block; }
.support-contact span { color: var(--muted); font-size: 12px; }

.site-footer { padding: 70px 0 22px; color: #adbbce; background: #071427; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 55px; }
.footer-brand { color: #fff; }
.footer-grid p { max-width: 290px; font-size: 13px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.footer-grid strong { margin-bottom: 6px; color: #fff; font: 700 14px/1 "Segoe UI", Arial, Helvetica, sans-serif; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid #1a2c45; font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-page { min-height: 100vh; padding: 140px 0 90px; background: var(--soft); }
.legal-card { max-width: 850px; padding: 50px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.legal-card h1 { font-size: 45px; }
.legal-card h2 { margin-top: 35px; font-size: 23px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-notice { padding: 14px 16px; border-left: 3px solid #f2a100; background: #fff8e8; color: #715100 !important; }

@media (max-width: 980px) {
  .navigation { position: absolute; top: 67px; right: 20px; width: min(330px, calc(100vw - 40px)); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: var(--shadow); }
  .navigation.open { display: flex; }
  .navigation a { padding: 12px; }
  .menu-button { display: block; }
  .hero-grid, .split, .workflow-panel, .difference-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 135px; }
  .hero-grid { gap: 65px; }
  .hero-copy { max-width: 760px; }
  .split, .difference-grid, .faq-grid { gap: 45px; }
  .workflow-panel { padding: 55px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .portal-layout { grid-template-columns: 1fr; }
  .help-shell, .support-grid { grid-template-columns: 1fr; }
  .help-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .container { width: min(100% - 26px, 1180px); }
  .section { padding: 82px 0; }
  .hero { min-height: auto; padding: 125px 0 65px; }
  h1 { font-size: clamp(46px, 15vw, 64px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { justify-content: center; }
  .hero-checks { flex-direction: column; }
  .cad-canvas { min-height: 330px; }
  .cad-canvas svg { min-height: 320px; padding: 0; }
  .floating-stat { display: none; }
  .trust-grid { flex-wrap: wrap; gap: 17px 10px; justify-content: center; }
  .trust-grid i { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .access-grid, .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .access-card { padding: 36px 25px; }
  .portal-intro { align-items: flex-start; flex-direction: column; }
  .portal-card-inner, .student-form-card .portal-card-inner { padding: 27px 21px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .button { width: 100%; }
  .download-item { grid-template-columns: 45px 1fr; }
  .download-item button { grid-column: 1 / -1; }
  .member-nav { display: none; }
  .member-user span { display: none; }
  .help-content { padding: 30px 22px; }
  .support-contact { grid-template-columns: 1fr; }
  .feature-card, .feature-card-wide { grid-column: auto; min-height: auto; }
  .feature-card-wide { display: block; }
  .feature-card-wide .feature-icon { width: 58px; height: 58px; margin-bottom: 43px; border-radius: 15px; }
  .feature-card-wide .sheet-icon span { width: 27px; height: 25px; border-width: 3px; }
  .workflow-panel { padding: 40px 23px; }
  .comparison > div { grid-template-columns: 1fr; gap: 5px; }
  .comparison-head span:last-child { display: none; }
  .contact-panel { align-items: stretch; flex-direction: column; padding: 42px 25px; }
  .contact-actions { flex-basis: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .footer-grid > div:first-child { grid-column: span 2; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .legal-card { padding: 28px 22px; }
}

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