/* Space Allocator product website (D-085). Plain CSS, no build step, no outside fonts or scripts.
   Look (owner, 2026-11-18): in the style of the aSc TimeTables site — light sky background, laptop picture with
   large capital-letter headline lines, a row of blue icons, large rounded feature cards with the picture and text
   alternating sides, dark header on scroll and dark footer. Own pictures, words and logo only. */
:root {
  --slate: #2f3640;
  --slate-2: #262c34;
  --ink: #373737;
  --text: #3b4146;
  --muted: #66707a;
  --blue: #1f7fc4;
  --blue-dark: #17669f;
  --green: #2e7d32;
  --green-dark: #25672a;
  --brand: #2B1A6E;
  --sky-1: #ffffff;
  --sky-2: #e7f2fb;
  --line: #e2e8ee;
  --card: #ffffff;
  --err: #a32020;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(30, 60, 90, 0.12);
  --max: 1160px;
  --font: "Segoe UI", "Open Sans", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head: "Segoe UI", Raleway, system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
}
* { box-sizing: border-box; }
html { background: #f6f9fc; }
body { margin: 0; background: #f6f9fc; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #f0b429; outline-offset: 2px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 60; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); }

/* ---------- Header: light over the sky, dark slate once the page scrolls ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: transparent; transition: background .25s, box-shadow .25s; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.site-header.scrolled, .site-header.solid { background: var(--slate); box-shadow: 0 2px 4px rgba(0,0,0,.5); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; }
.logo small { font-weight: 300; }
.site-header.scrolled .logo, .site-header.solid .logo { color: #fff; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 800; box-shadow: 0 0 0 3px #fff; }
.menu-toggle { display: none; background: transparent; color: var(--ink); border: 2px solid currentColor; border-radius: 8px; padding: 6px 12px; font: inherit; cursor: pointer; }
.site-header.scrolled .menu-toggle, .site-header.solid .menu-toggle { color: #fff; }
nav.main ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
nav.main a { color: var(--ink); text-decoration: none; padding: 22px 12px; display: block; border-bottom: 3px solid transparent; font-size: 1rem; }
.site-header.scrolled nav.main a, .site-header.solid nav.main a { color: #fff; }
nav.main a:hover { border-bottom-color: rgba(31,127,196,.5); }
nav.main a[aria-current="page"] { font-weight: 700; border-bottom-color: var(--blue); }
nav.main a.cta { background: var(--green); color: #fff; border-radius: 4px; padding: 9px 16px; margin-left: 8px; border: 0; font-weight: 600; }
nav.main a.cta:hover { background: var(--green-dark); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 12px 24px; border-radius: 4px; text-decoration: none; border: 2px solid transparent; font: inherit; font-weight: 600; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-dark { background: var(--blue); color: #fff; }
.btn-dark:hover { background: var(--blue-dark); color: #fff; }

/* ---------- Sky background used by the hero and the inner-page heads ---------- */
.sky { background: radial-gradient(1200px 500px at 20% 0%, #ffffff 0%, rgba(255,255,255,0) 60%), linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 100%); }
.page-top { margin-top: -72px; padding-top: 72px; } /* the header floats over the sky */

/* ---------- Hero: laptop on the left, big capital lines on the right ---------- */
.hero { padding: 36px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: center; }
.laptop { position: relative; margin-left: -40px; filter: drop-shadow(0 30px 30px rgba(20,40,70,.25)); }
.laptop .screen { background: #1c1f24; border-radius: 16px 16px 0 0; padding: 12px 12px 14px; border: 1px solid #444; }
.laptop .screen img { border-radius: 3px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.laptop .base { height: 16px; margin: 0 -7%; background: linear-gradient(180deg, #d9dde2 0%, #b7bcc3 60%, #9aa0a8 100%); border-radius: 0 0 18px 18px; position: relative; }
.laptop .base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 6px; transform: translateX(-50%); background: #a9aeb5; border-radius: 0 0 8px 8px; }
.headline { margin: 0; text-align: right; text-transform: uppercase; color: var(--ink); line-height: 1.18; font-size: clamp(1.25rem, 2.35vw, 2.05rem); letter-spacing: .01em; }
.headline span { display: block; }
.headline .b { font-weight: 700; }
.headline .l { font-weight: 300; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; margin-top: 26px; }

/* Four blue icons */
.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0 44px; text-align: center; }
.icons svg { width: 52px; height: 52px; fill: var(--blue); margin: 0 auto 8px; display: block; }
.icons h3 { font-size: 1.15rem; font-weight: 400; margin: 0; color: var(--ink); }
.icons p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
section.block { padding: 56px 0; }
.center-title { text-align: center; font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 32px; }
.lead-center { text-align: center; color: var(--muted); max-width: 720px; margin: -18px auto 32px; font-size: 1.05rem; }

/* Large rounded feature cards, picture and text alternating sides */
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 36px; min-height: 300px; }
.feature .text { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; }
.feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; margin: 0 0 10px; line-height: 1.2; }
.feature p { margin: 0; font-size: 1.02rem; }
.feature .pic { position: relative; background: linear-gradient(135deg, #dceefa, #b9d9f0); clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); padding: 28px 0 28px 48px; display: flex; align-items: center; }
.feature .pic img { border-radius: 10px 0 0 10px; box-shadow: -10px 14px 30px rgba(20,40,70,.25); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.feature.reverse .text { order: 2; }
.feature.reverse .pic { order: 1; clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%); padding: 28px 48px 28px 0; }
.feature.reverse .pic img { border-radius: 0 10px 10px 0; object-position: top right; box-shadow: 10px 14px 30px rgba(20,40,70,.25); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border-top: 5px solid var(--blue); }
.step:nth-child(2) { border-top-color: var(--green); }
.step:nth-child(3) { border-top-color: #e08a1e; }
.step:nth-child(4) { border-top-color: #7a4cc2; }
.step .num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 300; color: var(--blue); line-height: 1; }
.step h3 { margin: 8px 0 4px; font-size: 1.2rem; }
.step p { margin: 0; color: var(--muted); }

/* Safe and private */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; font-size: 1.15rem; }
.checks strong { color: var(--ink); }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 36px; }
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: center; }
.split h2 { font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; }

/* Questions */
details { background: #fff; border-radius: 12px; box-shadow: 0 2px 10px rgba(30,60,90,.08); padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 15px 0; font-weight: 600; color: var(--ink); }
details p { margin: 0 0 15px; color: var(--muted); }

/* Dark call-to-action band with a dotted "world" texture */
.dark-band { background-color: var(--slate); background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px); background-size: 14px 14px; color: #dfe4ea; padding: 56px 0; }
.dark-band .wrap { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dark-band h2 { color: #fff; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0 0 6px; }
.dark-band p { margin: 0; }

/* ---------- Inner pages ---------- */
.page-head { padding: 30px 0 34px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 600; }
.page-head p { margin: 0; color: var(--muted); max-width: 48em; font-size: 1.05rem; }

/* Form */
.form-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; color: var(--ink); }
.hint { color: var(--muted); font-size: .9rem; font-weight: 400; }
input, select, textarea { font: inherit; padding: 10px 12px; border: 1.5px solid #b9c3cc; border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--err); background: #fff6f6; }
.check { flex-direction: row; align-items: flex-start; gap: 10px; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.trap { display: none; }
.notice { border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; scroll-margin-top: 90px; }
.notice.error { background: #fdecec; border: 1px solid #f0b8b8; color: #6d1212; }
.notice.ok { background: #e7f5ea; border: 1px solid #a9d8b3; color: #14461b; }
.notice ul { margin: 6px 0 0; padding-left: 20px; }
.form-actions { margin-top: 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.aside-box { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 5px solid var(--green); }
.aside-box h2 { margin-top: 0; font-size: 1.25rem; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }

/* Install guide and privacy */
.prose { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 36px 32px; }
.prose h2 { margin-top: 30px; font-weight: 600; }
ol.guide { padding-left: 0; list-style: none; counter-reset: g; display: grid; gap: 12px; }
ol.guide > li { counter-increment: g; background: #f6f9fc; border-radius: 10px; padding: 14px 18px 14px 62px; position: relative; }
ol.guide > li::before { content: counter(g); position: absolute; left: 16px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--slate); color: #fff; }
.table-scroll { overflow-x: auto; }
kbd { background: #eee; border: 1px solid #ccc; border-radius: 4px; padding: 0 5px; font-size: .9em; }

/* ---------- Footer (dark), with the country-wise visitor counter ---------- */
footer { background: var(--slate); color: #c9d0d8; }
footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 32px; padding: 44px 16px 32px; }
.footer-logo { font-family: var(--font-head); font-size: 3.4rem; font-weight: 300; color: #fff; line-height: 1; margin: 0 0 10px; }
footer h2 { font-size: 1rem; color: #fff; margin: 0 0 10px; font-weight: 600; }
footer a { color: #fff; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.visitors ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.visitors li { display: flex; align-items: center; gap: 8px; }
.visitors .cc { display: inline-grid; place-items: center; min-width: 30px; height: 20px; padding: 0 4px; border-radius: 3px; background: #fff; color: var(--slate); font-size: .72rem; font-weight: 800; letter-spacing: .03em; }
.visitors .n { margin-left: auto; color: #fff; font-variant-numeric: tabular-nums; }
.visitors .total { margin: 10px 0 0; font-size: .92rem; }
footer .bottom { background: var(--slate-2); padding: 14px 0; font-size: .9rem; }
footer .bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero .wrap, .split, .two-col { grid-template-columns: 1fr; }
  .laptop { margin-left: 0; padding: 0 5%; }
  .headline { text-align: center; }
  .hero .actions { justify-content: center; }
  .icons, .steps { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature .text, .feature.reverse .text { order: 2; padding: 26px 24px 30px; }
  .feature .pic, .feature.reverse .pic { order: 1; clip-path: none; padding: 22px 22px 0; }
  .feature .pic img, .feature.reverse .pic img { border-radius: 10px 10px 0 0; }
  footer .top { grid-template-columns: 1fr 1fr; }
}
/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .logo { font-size: 1.3rem; }
  nav.main { position: absolute; left: 0; right: 0; top: 72px; background: var(--slate); display: none; padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; }
  nav.main a, .site-header nav.main a { color: #fff; padding: 12px; border-bottom: 0; }
  nav.main a.cta { margin: 8px 0 0; text-align: center; }
  .icons, .steps, .form-grid { grid-template-columns: 1fr; }
  section.block { padding: 40px 0; }
  .feature { margin-bottom: 24px; }
  .prose { padding: 8px 20px 24px; }
  .form-card, .panel { padding: 20px; }
  footer .top { grid-template-columns: 1fr; }
  .visitors ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- EduFac (multi-product) additions, 2026-11-18 ---------- */
.product-tag { margin: 0 0 8px; text-align: right; color: var(--blue); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.feature .product-tag, .more-card .product-tag { text-align: left; }
.headline .product-name { text-transform: none; font-weight: 700; color: var(--blue); font-size: 1.35em; margin-bottom: 6px; }
.actions-left { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.more-card { background: #fff; border: 2px dashed #b9d3e8; border-radius: var(--radius); padding: 24px 32px; text-align: center; color: var(--muted); }
.more-card h3 { margin: 0 0 6px; color: var(--ink); font-weight: 400; font-size: 1.4rem; }
.more-card p { margin: 0; }
.about-sub { margin: -4px 0 12px; color: var(--blue); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
footer h2.spaced { margin-top: 20px; }
@media (max-width: 960px) { .product-tag { text-align: center; } }
