:root {
  --ink: #10182a;
  --blue: #3157ef;
  --blue-dark: #193494;
  --lime: #d8ff4f;
  --paper: #f6f8fc;
  --white: #fff;
  --muted: #647089;
  --line: #dce2ee;
  --danger: #a93242;
  --success: #08794b;
  --shadow: 0 20px 55px rgba(16, 24, 42, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body, button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { border-radius: 0; }
button, a { -webkit-tap-highlight-color: transparent; }

.announcement { min-height: 38px; padding: 7px 24px; display: flex; align-items: center; justify-content: center; gap: 14px; color: #edf1ff; background: var(--ink); font-size: 12px; }
.announcement span { padding: 4px 8px; color: var(--ink); background: var(--lime); border-radius: 99px; font-size: 9px; font-weight: 950; letter-spacing: .08em; }
.announcement p { margin: 0; }
.site-header { min-height: 82px; padding: 12px clamp(20px, 5vw, 72px); position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: rgba(255, 255, 255, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.brand { width: fit-content; display: flex; align-items: center; gap: 12px; }
.brand img { width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.brand > span { display: grid; gap: 2px; }
.brand strong { font-size: 15px; letter-spacing: -.03em; }
.brand small { color: #7c879b; font-size: 8px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 38px); }
.site-header nav a { font-size: 12px; font-weight: 800; }
.site-header nav a:hover { color: var(--blue); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 15px; }
.account-link { font-size: 12px; font-weight: 850; }
.menu-toggle { display: none; }

.button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid transparent; border-radius: 12px; cursor: pointer; font-weight: 900; font-size: 12px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ink); }
.button-primary { color: #fff; background: var(--blue); box-shadow: 0 9px 23px rgba(49, 87, 239, .23); }
.button-outline { color: var(--ink); background: #fff; border-color: var(--line); }
.button-lime { color: var(--ink); background: var(--lime); }
.button-danger { color: #fff; background: var(--danger); }

.flash { max-width: 760px; margin: 18px auto 0; padding: 13px 17px; border-radius: 10px; font-size: 13px; line-height: 1.5; }
.flash-success { color: #075d3d; background: #daf7e9; border: 1px solid #a8e4c8; }
.flash-error, .flash-danger { color: #872938; background: #ffeaee; border: 1px solid #f1bcc6; }
.flash-info { color: #26468f; background: #e9efff; border: 1px solid #c8d5ff; }
.eyebrow { margin: 0; color: var(--blue); font-size: 10px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }

.hero { min-height: calc(100vh - 120px); display: grid; grid-template-columns: 1fr 1fr; background: #f4f6ff; }
.hero-copy { padding: clamp(70px, 8vw, 120px) clamp(25px, 7vw, 105px); display: flex; flex-direction: column; justify-content: center; }
.hero h1 { max-width: 750px; margin: 24px 0 0; font-family: Georgia, serif; font-size: clamp(58px, 7vw, 102px); font-weight: 500; letter-spacing: -.065em; line-height: .93; }
.hero h1 em { color: var(--blue); font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 650px; margin: 28px 0 30px; color: #5d6980; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 31px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 22px; border-top: 1px solid var(--line); color: #657188; font-size: 11px; font-weight: 750; }
.hero-trust b { margin-right: 6px; color: var(--blue); }
.hero-visual { min-height: 680px; padding: clamp(25px, 5vw, 65px); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; color: #fff; background: linear-gradient(145deg, #3157ef, #193494); }
.hero-visual::before { content: "CAMPUS"; position: absolute; right: -25px; top: 10px; color: rgba(255,255,255,.06); font-size: 120px; font-weight: 950; letter-spacing: -.07em; }
.hero-photo-main, .hero-photo-small { width: 100%; position: relative; z-index: 1; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); }
.hero-photo-main { align-self: center; aspect-ratio: .78; }
.hero-photo-small { align-self: end; aspect-ratio: .86; }
.hero-photo-main img, .hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { width: 112px; height: 112px; position: absolute; right: 5%; top: 7%; z-index: 2; display: grid; place-items: center; color: var(--ink); background: var(--lime); border: 8px solid rgba(255,255,255,.2); border-radius: 50%; text-align: center; font-family: Georgia, serif; font-size: 24px; font-weight: 700; transform: rotate(7deg); }
.hero-badge small { display: block; font-family: inherit; font-size: 11px; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; background: var(--ink); }
.trust-strip article { min-height: 120px; padding: 26px clamp(22px, 4vw, 55px); display: grid; grid-template-columns: 35px 1fr; gap: 11px; align-items: center; border-right: 1px solid rgba(255,255,255,.13); }
.trust-strip article:last-child { border-right: 0; }
.trust-strip article > span { color: var(--lime); font-weight: 950; }
.trust-strip div { display: grid; gap: 5px; }
.trust-strip strong { font-size: 13px; }
.trust-strip small { color: #9faac0; font-size: 10px; line-height: 1.5; }

.section { padding: clamp(80px, 9vw, 135px) clamp(20px, 6vw, 92px); }
.section-head { margin-bottom: 50px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.section-head h2 { margin: 16px 0 0; font-family: Georgia, serif; font-size: clamp(45px, 5.5vw, 78px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.section-head > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.section-blue { color: #fff; background: var(--blue); }
.section-blue .eyebrow { color: var(--lime); }
.section-blue .section-head > p { color: #dce4ff; }
.products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 13px 36px rgba(16,24,42,.07); transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-image { aspect-ratio: 1.12; overflow: hidden; display: block; background: #eef2fb; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-card-body { padding: 22px; }
.product-card-body h3 { margin: 10px 0 9px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; letter-spacing: -.035em; }
.product-card-body > p:not(.eyebrow) { min-height: 64px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-card-body > div { padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); }
.product-card-body > div strong { font-family: Georgia, serif; font-size: 23px; font-weight: 500; }
.product-card-body > div a { color: var(--blue); font-size: 11px; font-weight: 900; }
.section-blue .product-card { border-color: rgba(255,255,255,.22); }

.story-section { padding: clamp(75px, 9vw, 125px) clamp(20px, 7vw, 110px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(45px, 8vw, 110px); align-items: center; background: var(--lime); }
.story-images { position: relative; min-height: 580px; }
.story-images img { position: absolute; object-fit: cover; border: 8px solid #fff; border-radius: 24px; box-shadow: var(--shadow); }
.story-images img:first-child { width: 70%; height: 84%; left: 0; top: 0; }
.story-images img:last-child { width: 52%; height: 58%; right: 0; bottom: 0; }
.story-copy h2 { margin: 18px 0 23px; font-family: Georgia, serif; font-size: clamp(48px, 6vw, 82px); font-weight: 500; letter-spacing: -.06em; line-height: .95; }
.story-copy > p { color: #3f4d63; font-size: 15px; line-height: 1.75; }
.story-copy ul { margin: 26px 0 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.story-copy li { display: flex; gap: 10px; font-size: 13px; font-weight: 800; }
.story-copy li span { color: var(--blue); }

.catalog-hero, .page-hero { padding: clamp(75px, 8vw, 115px) clamp(20px, 7vw, 105px); color: #fff; background: linear-gradient(145deg, var(--ink), var(--blue-dark)); }
.catalog-hero h1, .page-hero h1 { max-width: 920px; margin: 18px 0; font-family: Georgia, serif; font-size: clamp(56px, 7vw, 100px); font-weight: 500; letter-spacing: -.06em; line-height: .95; }
.catalog-hero > p, .page-hero > p { max-width: 680px; margin: 0; color: #d8deec; font-size: 16px; line-height: 1.7; }
.catalog-nav { padding: 18px clamp(20px, 6vw, 92px); display: flex; flex-wrap: wrap; gap: 9px; background: #fff; border-bottom: 1px solid var(--line); }
.catalog-nav a { padding: 9px 13px; background: #f1f4fa; border-radius: 99px; font-size: 11px; font-weight: 850; }

.product-detail { background: #fff; }
.product-detail-hero { padding: clamp(55px, 7vw, 100px) clamp(20px, 7vw, 105px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 95px); align-items: center; }
.product-gallery { overflow: hidden; background: #eef2fa; border-radius: 28px; box-shadow: var(--shadow); }
.product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-copy h1 { margin: 18px 0 20px; font-family: Georgia, serif; font-size: clamp(50px, 5.8vw, 82px); font-weight: 500; letter-spacing: -.06em; line-height: .95; }
.product-copy > p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.product-price { margin: 26px 0; padding: 20px 0; display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-price strong { font-family: Georgia, serif; font-size: 42px; font-weight: 500; }
.product-price span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.benefit-grid article { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.benefit-grid article span { color: var(--blue); font-weight: 950; }
.benefit-grid h3 { margin: 24px 0 8px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.benefit-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.product-info { padding: clamp(70px, 8vw, 110px) clamp(20px, 7vw, 105px); display: grid; grid-template-columns: 1fr 1fr; gap: 65px; background: var(--paper); }
.info-panel { padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.info-panel h2 { margin: 0 0 22px; font-family: Georgia, serif; font-size: 38px; font-weight: 500; }
.spec-list { margin: 0; }
.spec-list div { padding: 14px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 18px; border-top: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 11px; }
.spec-list dd { margin: 0; font-size: 12px; font-weight: 800; }
.use-list { margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; list-style: none; }
.use-list li { padding: 13px; background: #f1f4fa; border-radius: 9px; font-size: 11px; font-weight: 800; }
.faq-list { max-width: 950px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 0; cursor: pointer; font-family: Georgia, serif; font-size: 22px; }
.faq-list p { margin: -5px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }

.auth-shell { min-height: calc(100vh - 120px); display: grid; grid-template-columns: .85fr 1.15fr; }
.auth-story { padding: clamp(65px, 8vw, 110px) clamp(28px, 7vw, 95px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: linear-gradient(150deg, var(--ink), var(--blue-dark)); }
.auth-story h1 { margin: 19px 0; font-family: Georgia, serif; font-size: clamp(50px, 6vw, 84px); font-weight: 500; letter-spacing: -.055em; line-height: .95; }
.auth-story h1 em { color: var(--lime); font-weight: 500; }
.auth-story > p:not(.eyebrow) { color: #d6deef; font-size: 15px; line-height: 1.7; }
.auth-story ul { margin: 25px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; font-size: 12px; font-weight: 800; }
.auth-story li span { margin-right: 8px; color: var(--lime); }
.auth-panel { padding: 45px 20px; display: grid; place-items: center; }
.form-card { width: min(560px, 100%); padding: clamp(25px, 4vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-tabs { margin-bottom: 24px; padding: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; background: #eff2f8; border-radius: 12px; }
.form-tabs a { min-height: 43px; display: grid; place-items: center; color: var(--muted); border-radius: 9px; font-size: 12px; font-weight: 850; }
.form-tabs a.active { color: var(--ink); background: #fff; box-shadow: 0 3px 12px rgba(16,24,42,.08); }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.social-grid a, .social-grid span { min-height: 48px; padding: 0 9px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; font-size: 10px; font-weight: 850; }
.social-grid span { color: #9aa2b1; background: #f5f6f8; }
.separator { margin: 24px 0; position: relative; color: #8992a3; text-align: center; font-size: 9px; font-weight: 800; }
.separator::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.separator span { padding: 0 10px; position: relative; background: #fff; }
.form-stack { display: grid; gap: 14px; }
.form-stack label, .installer-form label, .admin-form label { display: grid; gap: 7px; color: #303b50; font-size: 11px; font-weight: 850; }
.form-stack input, .form-stack textarea, .form-stack select, .installer-form input, .installer-form textarea, .admin-form input, .admin-form textarea, .admin-form select { width: 100%; min-height: 50px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid #cfd6e3; border-radius: 10px; outline: none; font-size: 14px; }
.form-stack textarea, .installer-form textarea, .admin-form textarea { min-height: 130px; padding-top: 13px; resize: vertical; }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus, .installer-form input:focus, .admin-form input:focus, .admin-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(49,87,239,.11); }
.form-error, .alert.danger { padding: 12px 14px; color: #872938; background: #ffeaee; border: 1px solid #f1bcc6; border-radius: 9px; font-size: 11px; line-height: 1.5; }
.form-note, .field-help { margin: 0; color: #798397; font-size: 10px; line-height: 1.55; }
.form-legal { margin: 17px 0 0; color: #7d8799; text-align: center; font-size: 9px; line-height: 1.5; }
.form-legal a { color: var(--blue); text-decoration: underline; }

.checkout-layout { padding: clamp(50px, 7vw, 95px) clamp(20px, 7vw, 105px); display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: start; }
.checkout-card, .checkout-summary, .account-card, .contact-card { padding: clamp(24px, 4vw, 38px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 15px 45px rgba(16,24,42,.08); }
.checkout-card h1, .account-card h2, .contact-card h2 { margin: 10px 0 20px; font-family: Georgia, serif; font-size: clamp(38px, 4.5vw, 59px); font-weight: 500; letter-spacing: -.05em; }
.checkout-product { margin: 24px 0; padding: 18px 0; display: grid; grid-template-columns: 90px 1fr auto; gap: 17px; align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.checkout-product img { width: 90px; height: 90px; object-fit: cover; border-radius: 13px; }
.checkout-product div { display: grid; gap: 5px; }
.checkout-product small { color: var(--blue); font-size: 9px; font-weight: 900; }
.checkout-product strong { font-family: Georgia, serif; font-size: 20px; font-weight: 500; }
.checkout-summary { position: sticky; top: 108px; }
.checkout-summary h2 { margin: 0 0 20px; font-size: 18px; }
.summary-row { padding: 12px 0; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.summary-total { font-size: 19px; font-weight: 900; }
.secure-box { margin-top: 20px; padding: 15px; color: #35504a; background: #ebfaf3; border-radius: 11px; font-size: 10px; line-height: 1.55; }
.check-row { display: grid !important; grid-template-columns: 18px 1fr; gap: 9px !important; align-items: start; }
.check-row input { width: 17px !important; min-height: 17px !important; margin: 2px 0 0; accent-color: var(--blue); }
.check-row span { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.5; }

.account-grid { padding: clamp(60px, 8vw, 105px) clamp(20px, 7vw, 105px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.account-card h2 { font-size: 36px; }
.order-list { display: grid; gap: 11px; }
.order-item { padding: 16px; display: grid; grid-template-columns: 1fr auto; gap: 15px; background: #f4f6fa; border-radius: 12px; }
.order-item strong { font-size: 13px; }
.order-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.status-pill { width: fit-content; padding: 5px 8px; color: #1d467e; background: #deebff; border-radius: 99px; font-size: 8px; font-weight: 900; text-transform: uppercase; }

.contact-layout { padding: clamp(60px, 8vw, 105px) clamp(20px, 7vw, 105px); display: grid; grid-template-columns: .75fr 1.25fr; gap: 30px; }
.contact-aside { padding: 35px; color: #fff; background: var(--ink); border-radius: 22px; }
.contact-aside h2 { margin: 15px 0; font-family: Georgia, serif; font-size: 42px; font-weight: 500; }
.contact-aside p { color: #bbc4d5; font-size: 13px; line-height: 1.7; }

.legal-page { max-width: 900px; margin: 0 auto; padding: clamp(65px, 9vw, 115px) 22px; }
.legal-page h1 { margin: 15px 0 30px; font-family: Georgia, serif; font-size: clamp(50px, 6vw, 78px); font-weight: 500; letter-spacing: -.055em; }
.legal-page h2 { margin-top: 34px; font-family: Georgia, serif; font-size: 29px; font-weight: 500; }
.legal-page p, .legal-page li { color: #56637a; font-size: 13px; line-height: 1.75; }

.site-footer { padding: 55px clamp(22px, 6vw, 92px); display: grid; grid-template-columns: 1.25fr .6fr .6fr .8fr; gap: 45px; color: #fff; background: var(--ink); }
.site-footer .brand img { padding: 4px; background: #fff; border-radius: 14px; }
.site-footer .brand small { color: #94a3b8; }
.site-footer p { color: #94a3b8; font-size: 10px; line-height: 1.65; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav strong, .site-footer > div > strong { margin-bottom: 6px; color: var(--lime); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer nav a, .site-footer > div > a { color: #cbd3e1; font-size: 10px; }

.installer-body { min-height: 100vh; padding: 45px 20px; background: radial-gradient(circle at 12% 10%, rgba(49,87,239,.17), transparent 30%), radial-gradient(circle at 88% 82%, rgba(216,255,79,.2), transparent 28%), #f2f5fb; }
.installer-shell { width: min(900px, 100%); margin: 0 auto; }
.installer-brand { margin: 0 auto 28px; }
.installer-brand img { width: 64px; height: 64px; }
.installer-card { padding: clamp(28px, 5vw, 55px); background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.installer-card > h1 { margin: 14px 0; font-family: Georgia, serif; font-size: clamp(44px, 6vw, 68px); font-weight: 500; letter-spacing: -.055em; }
.installer-card > p { color: var(--muted); line-height: 1.7; }
.installer-form { margin-top: 35px; display: grid; gap: 20px; }
.installer-form fieldset { margin: 0; padding: 22px; display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 16px; }
.installer-form legend { padding: 0 8px; font-family: Georgia, serif; font-size: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr .35fr; gap: 12px; }
.installer-form details { border: 1px solid var(--line); border-radius: 14px; }
.installer-form details summary { padding: 17px; cursor: pointer; font-size: 12px; font-weight: 850; }
.installer-form details fieldset { border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.installer-submit { width: 100%; }
.installer-actions { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 10px; }
.alert { margin: 18px 0; padding: 15px; border-radius: 10px; }
.alert p { margin: 5px 0 0; }
.alert ul { margin-bottom: 0; }
code { padding: 2px 5px; background: #eef1f6; border-radius: 4px; font-size: .88em; }

.admin-body { min-height: 100vh; background: #f1f4f9; }
.admin-header { min-height: 76px; padding: 12px clamp(18px, 4vw, 55px); display: flex; align-items: center; justify-content: space-between; gap: 25px; color: #fff; background: var(--ink); }
.admin-header .brand img { padding: 3px; background: #fff; border-radius: 12px; }
.admin-header .brand small { color: #8f9cb2; }
.admin-header nav { display: flex; flex-wrap: wrap; gap: 20px; }
.admin-header nav a { color: #c6cede; font-size: 10px; font-weight: 800; }
.admin-main { padding: clamp(30px, 5vw, 65px) clamp(18px, 5vw, 70px); }
.admin-title { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-title h1 { margin: 8px 0 0; font-family: Georgia, serif; font-size: clamp(42px, 5vw, 67px); font-weight: 500; letter-spacing: -.05em; }
.admin-metrics { margin-bottom: 25px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-metrics article { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.admin-metrics span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.admin-metrics strong { margin-top: 9px; display: block; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.admin-panel { padding: 24px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 17px; }
.admin-toolbar { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.admin-toolbar input, .admin-toolbar select { min-height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 13px 10px; text-align: left; border-top: 1px solid var(--line); font-size: 10px; white-space: nowrap; }
.admin-table th { color: var(--muted); font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.admin-table td strong { display: block; font-size: 11px; }
.admin-table td small { color: var(--muted); }
.admin-form { display: grid; gap: 15px; }
.admin-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.admin-order-summary { padding: 23px; color: #fff; background: var(--ink); border-radius: 17px; }
.admin-order-summary h2 { font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.admin-order-summary dl div { padding: 11px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 10px; border-top: 1px solid rgba(255,255,255,.14); }
.admin-order-summary dt { color: #93a0b7; font-size: 9px; }
.admin-order-summary dd { margin: 0; overflow-wrap: anywhere; font-size: 10px; }
.mfa-card { width: min(620px, 100%); margin: 30px auto; padding: 38px; background: #fff; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow); }
.mfa-card h1 { margin: 12px 0 18px; font-family: Georgia, serif; font-size: 50px; font-weight: 500; letter-spacing: -.05em; }
.mfa-secret { margin: 18px 0; padding: 15px; overflow-wrap: anywhere; color: var(--blue-dark); background: #edf1ff; border-radius: 10px; text-align: center; font-size: 18px; font-weight: 900; letter-spacing: .12em; }
.recovery-grid { margin: 18px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recovery-grid code { padding: 10px; text-align: center; font-size: 13px; font-weight: 900; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .site-header nav.open { padding: 20px; position: absolute; left: 0; right: 0; top: 100%; display: grid; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu-toggle { width: 42px; height: 42px; justify-self: end; display: grid; place-content: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
  .menu-toggle span { width: 18px; height: 2px; display: block; background: var(--ink); }
  .header-actions { display: none; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1.2fr .8fr .8fr; }
  .site-footer > div:last-child { grid-column: 1 / -1; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .announcement { min-height: 34px; font-size: 9px; }
  .announcement span { display: none; }
  .site-header { min-height: 68px; padding: 8px 14px; }
  .brand img { width: 40px; height: 40px; }
  .brand strong { font-size: 13px; }
  .brand small { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 65px 22px; }
  .hero h1 { font-size: clamp(55px, 18vw, 78px); }
  .hero-visual { min-height: 560px; padding: 25px; }
  .hero-badge { width: 90px; height: 90px; font-size: 20px; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip article { min-height: 90px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .products-grid, .benefit-grid { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; }
  .story-images { min-height: 480px; }
  .product-detail-hero, .product-info { grid-template-columns: 1fr; }
  .auth-shell { grid-template-columns: 1fr; }
  .auth-story { padding: 60px 22px; }
  .auth-panel { padding: 25px 14px 55px; }
  .social-grid { grid-template-columns: 1fr; }
  .checkout-layout, .account-grid, .contact-layout, .admin-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-product { grid-template-columns: 70px 1fr; }
  .checkout-product > strong { grid-column: 2; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-brand, .site-footer > div:last-child { grid-column: 1 / -1; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-title { align-items: flex-start; flex-direction: column; }
  .admin-metrics { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
  .products-grid, .admin-metrics, .site-footer, .recovery-grid { grid-template-columns: 1fr; }
  .site-footer .footer-brand, .site-footer > div:last-child { grid-column: auto; }
  .hero-visual { min-height: 470px; grid-template-columns: 1fr .7fr; }
  .story-images { min-height: 400px; }
}
