/* PolarisTech — websites-first redesign. One shared stylesheet, system fonts only (no third-party requests, no trackers). */
:root {
  --ink: #0d1b3d; --ink-2: #1b2d5c; --muted: #4a5878; --paper: #fbf8f2; --card: #ffffff; --line: #e6e0d2; --soft: #eff3fb;
  --gold: #f2b33d; --gold-d: #d89a1e; --link: #2352c9; --wa: #1a9f52; --wa-d: #137c3f; --todo: #fff3c4;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --r: 14px; --shadow: 0 1px 2px rgba(13, 27, 61, .06), 0 8px 24px rgba(13, 27, 61, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section.alt { background: var(--soft); }
.section.dark { background: var(--ink); color: #e9eefb; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-d); margin: 0 0 14px; }
.dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.hero .lead, .dark .lead { color: #c9d3ee; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.2rem/1 var(--serif); }
.brand svg { width: 36px; height: 36px; }
.brand b { color: var(--gold-d); font-weight: 700; }
nav.main { margin-left: auto; display: flex; align-items: center; gap: 4px; }
nav.main a { text-decoration: none; color: var(--ink); font-weight: 550; font-size: .97rem; padding: 8px 12px; border-radius: 8px; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--soft); }
nav.main a.sub { color: var(--muted); font-weight: 500; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); gap: 2px; margin: 0; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 1rem/1 var(--sans); padding: 15px 22px; border-radius: 12px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s, background .12s; }
.btn:hover { transform: translateY(-1px); }
.btn.gold { background: var(--gold); color: var(--ink); } .btn.gold:hover { background: #f7c35e; color: var(--ink); }
.btn.wa { background: var(--wa); color: #fff; } .btn.wa:hover { background: var(--wa-d); color: #fff; }
.btn.ghost { border-color: rgba(255, 255, 255, .4); color: #fff; } .btn.ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn.line { border-color: var(--ink); color: var(--ink); } .btn.line:hover { background: var(--ink); color: #fff; }
.btn.sm { padding: 10px 16px; font-size: .93rem; border-radius: 10px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #26407f 0%, transparent 60%), var(--ink); color: #fff; padding-block: clamp(44px, 7vw, 92px); overflow: hidden; position: relative; }
.hero h1 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { font-size: .9rem; color: #dbe3f7; border: 1px solid rgba(255, 255, 255, .22); padding: 7px 12px; border-radius: 999px; }
.chips li::before { content: "✓ "; color: var(--gold); }
.hero.page { padding-block: clamp(36px, 5vw, 64px); }
.hero.page .lead { margin-bottom: 0; }
.crumbs { font: 500 .85rem var(--mono); color: #9fb0da; margin-bottom: 18px; }
.crumbs a { color: #c9d3ee; }

/* mock browser + phone (hero visual) */
.mock { position: relative; padding: 0 28px 28px 0; }
.browser { background: #fff; border-radius: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); overflow: hidden; color: var(--ink); }
.browser .chrome { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9edf6; }
.browser .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #c3cbe0; }
.browser .url { margin-left: 10px; flex: 1; background: #fff; border-radius: 999px; font: .72rem var(--mono); color: var(--muted); padding: 4px 12px; }
.site-demo { padding: 0 0 18px; }
.site-demo .nv { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font: 700 .95rem var(--serif); }
.site-demo .nv span { font: 500 .7rem var(--sans); color: var(--muted); }
.site-demo .ph { margin: 0 16px; height: 150px; border-radius: 10px; background: linear-gradient(135deg, #f2b33d 0%, #e9885a 55%, #b24a5a 100%); display: flex; align-items: flex-end; padding: 14px; color: #fff; font: 700 1.25rem/1.1 var(--serif); }
.site-demo .row { display: flex; gap: 10px; padding: 14px 16px 0; }
.site-demo .row div { flex: 1; height: 44px; border-radius: 8px; background: #f1ede2; }
.phone { position: absolute; right: 0; bottom: 0; width: 128px; background: #fff; border-radius: 22px; border: 5px solid #101a36; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); padding: 12px 10px 14px; color: var(--ink); }
.phone .ln { height: 7px; border-radius: 4px; background: #e6e0d2; margin: 6px 0; } .phone .ln.s { width: 60%; }
.phone .wa-pill { margin-top: 12px; background: var(--wa); color: #fff; font: 700 .68rem var(--sans); text-align: center; padding: 8px 4px; border-radius: 999px; }
.stamp { position: absolute; left: -8px; top: 70px; background: var(--gold); color: var(--ink); font: 700 .74rem var(--mono); padding: 7px 11px; border-radius: 8px; transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
@media (max-width: 900px) { .mock { max-width: 460px; } }

/* cards + grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; } .card p:last-child { margin-bottom: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; font: 700 1.1rem var(--mono); }
.steps { counter-reset: s; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); padding: 0; list-style: none; margin: 34px 0 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; position: relative; padding-top: 52px; }
.steps li::before { content: "0" counter(s); position: absolute; top: 0; left: 0; font: 700 1.9rem/1 var(--mono); color: var(--gold-d); }
.steps li::after { content: ""; position: absolute; top: 18px; left: 52px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; } @media (max-width: 980px) { .steps li::after { display: none; } }
.steps h3 { font-size: 1.1rem; margin-bottom: .3em; } .steps p { color: var(--muted); font-size: .98rem; }
.tick { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tick li { padding-left: 30px; position: relative; }
.tick li::before { content: ""; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%230d1b3d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.tick.no li::before { background: #f3d9d4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%237a2f22' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; margin: 24px 0 0; }
.pills li { background: var(--card); border: 1px solid var(--line); padding: 9px 16px; border-radius: 999px; font-weight: 550; font-size: .97rem; }
.center .pills { justify-content: center; }

/* pricing */
.price { display: flex; flex-direction: column; }
.price .amt { font: 700 2.6rem/1 var(--serif); margin: 10px 0 4px; } .price .amt small { font: 500 1rem var(--sans); color: var(--muted); }
.price .sub { color: var(--muted); margin-bottom: 18px; }
.price .tick { margin-bottom: 24px; } .price .btn { margin-top: auto; }
.price.best { border: 2px solid var(--gold); position: relative; }
.price .tag { position: absolute; top: -13px; left: 22px; background: var(--gold); color: var(--ink); font: 700 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.note { font-size: .93rem; color: var(--muted); }

/* templates */
.tcard { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tcard .shot { background: var(--soft); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; }
.tcard .shot svg { width: 100%; height: 100%; }
.tcard .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.tcard h3 { font-size: 1.1rem; margin: 0 0 4px; }
.tcard .best-for { color: var(--muted); font-size: .94rem; margin-bottom: 14px; } .tcard .best-for b { color: var(--ink); }
.tcard .btn { margin-top: auto; align-self: flex-start; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 17px 0; font: 650 1.05rem var(--sans); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.5rem/1 var(--mono); color: var(--gold-d); } .faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* cta band + form */
.cta { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }
.cta h2 { color: #fff; margin-bottom: .3em; } .cta p { color: #c9d3ee; margin: 0; } .cta .btns { margin: 0; justify-content: flex-end; } @media (max-width: 800px) { .cta .btns { justify-content: flex-start; } }
form.contact { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; } .field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; padding: 13px 14px; border: 1.5px solid #cfc8b6; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold); border-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } @media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.contact-grid { grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; } .contact-grid > * { min-width: 0; } @media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side p { margin-bottom: .4em; } .contact-side .card + .card { margin-top: 16px; }
.status { font-weight: 600; min-height: 1.4em; }

/* footer */
.site-footer { background: #091431; color: #b9c5e6; padding: 56px 0 28px; font-size: .96rem; }
.site-footer a { color: #dfe6fa; text-decoration: none; } .site-footer a:hover { color: var(--gold); text-decoration: underline; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr 1fr; } } @media (max-width: 700px) { .fgrid { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .fgrid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font: 650 .8rem var(--mono); letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--wa); color: #fff; text-decoration: none; font: 700 .95rem var(--sans); padding: 13px 18px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); display: flex; gap: 8px; align-items: center; }
.wa-float:hover { background: var(--wa-d); color: #fff; }
@media (min-width: 921px) { .wa-float { display: none; } }

/* owner to-do markers: remove the class (and these styles) before launch */
.todo { background: var(--todo); outline: 1px dashed var(--gold-d); outline-offset: 1px; border-radius: 3px; padding: 0 3px; color: #5b4300; }
.dark .todo, .site-footer .todo { color: #5b4300; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* v2: cost guide table, Linux feature, apps strip, industry pills as links, thumbnails */
.tablewrap { overflow-x: auto; margin-top: 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .97rem; }
table.cmp th { background: var(--ink); color: #fff; text-align: left; padding: 14px 16px; font-weight: 650; }
table.cmp td { padding: 14px 16px; vertical-align: top; border-top: 1px solid var(--line); }
table.cmp tr.us td { background: #fff6dc; border-top: 2px solid var(--gold); }
table.cmp .note { font-size: .86rem; }
.linux-feature { margin-top: 28px; background: var(--ink); color: #dbe3f7; border-radius: 20px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; background-image: radial-gradient(700px 300px at 100% 0, #26407f 0, transparent 65%); }
.linux-feature h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); } .linux-feature .eyebrow { color: var(--gold); } .linux-feature p { color: #c9d3ee; }
.linux-feature > * { min-width: 0; }
.lx { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lx li { display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.lx b { color: #fff; font: 650 1rem var(--mono); } .lx b::before { content: "> "; color: var(--gold); } .lx span { font-size: .93rem; color: #c9d3ee; }
@media (max-width: 860px) { .linux-feature { grid-template-columns: 1fr; } }
.apps-strip { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px; }
.apps-strip h3 { margin: 0 0 .2em; } .apps-strip p { margin: 0; color: var(--muted); }
.pills li a { text-decoration: none; color: var(--ink); } .pills li:has(a):hover { background: var(--ink); border-color: var(--ink); } .pills li:has(a):hover a { color: #fff; }
.tcard .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.policy h2 { font-size: 1.35rem; margin-top: 1.8em; } .policy ol { padding-left: 1.3em; display: grid; gap: 6px; }
.policy .tablewrap { margin-top: 12px; } .policy table.cmp { min-width: 560px; }
.tcard .shot.ph { display: grid; place-items: center; font: 700 3rem var(--serif); color: var(--ink); background: linear-gradient(135deg, var(--soft), #dfe6f6); }
.tcard .note { margin: 0 0 6px; }
