/* TabLand site styles. Mobile first. Brand: blue #1459B3, orange #F58220, white. */
:root {
  --blue: #1459B3;
  --blue-dark: #0E4489;
  --blue-tint: #EEF4FC;
  --orange: #F58220;
  --orange-text: #A84F00; /* orange darkened for readable text on white */
  --ink: #16243A;
  --muted: #4A5870;
  --line: #D6E0EE;
  --white: #fff;
  --radius: 14px;
  --font-head: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 1.0625rem/1.6 var(--font-body); color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--blue); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, 1140px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.small, .note { font-size: .9rem; color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.eyebrow { font-family: var(--font-head); font-weight: 700; color: var(--orange-text); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; display: flex; align-items: center; gap: .5em; }
.eyebrow::before { content: ""; width: 18px; height: 10px; background: var(--orange); border-radius: 2px 2px 0 0; clip-path: polygon(0 100%, 0 40%, 25% 40%, 25% 0, 75% 0, 75% 40%, 100% 40%, 100% 100%); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 1rem; }

/* Buttons: a small tab notch on the top edge echoes the logo */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75em 1.4em; border-radius: 10px; font: 700 1rem/1.2 var(--font-head); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn::before { content: ""; position: absolute; top: -2px; left: 50%; width: 22px; height: 6px; transform: translateX(-50%); background: var(--white); border-radius: 0 0 4px 4px; opacity: .9; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ff9640; color: var(--ink); }
.btn-secondary { background: var(--white); color: var(--blue); border-color: var(--blue); }
.btn-secondary::before { background: var(--blue); width: 18px; height: 5px; }
.btn-secondary:hover { background: var(--blue-tint); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.text-link { font-weight: 700; }
.text-link::after { content: " →"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; min-height: 64px; }
.brand img { width: 150px; height: auto; }
.menu-toggle { display: none; align-items: center; gap: .5em; min-height: 44px; padding: 0 .9em; border: 2px solid var(--blue); border-radius: 10px; background: #fff; color: var(--blue); font: 700 1rem var(--font-head); cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: .25rem 0 .75rem; display: flex; flex-direction: column; }
.site-nav a { display: block; padding: .7em .25em; font: 700 1.05rem var(--font-head); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.site-nav a[aria-current="page"] { color: var(--blue); }
.js .menu-toggle { display: inline-flex; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }

@media (min-width: 860px) {
  .brand img { width: 176px; }
  .js .menu-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; gap: .25rem; padding: 0; }
  .site-nav a { border: 0; padding: .6em .8em; position: relative; font-size: 1rem; }
  .site-nav a:hover { color: var(--blue); }
  /* active item marked with a little orange tab */
  .site-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 26px; height: 8px; transform: translateX(-50%); background: var(--orange); clip-path: polygon(0 100%, 0 45%, 28% 45%, 28% 0, 72% 0, 72% 45%, 100% 45%, 100% 100%); }
}

/* Seam: a joining line with tabs, like the logo's white seams */
.seam { height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='18'%3E%3Cpath d='M0 13H64V13H68V5H92V13H96V13H160' fill='none' stroke='%231459B3' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x center; opacity: .35; }
.seam-light { opacity: .5; filter: brightness(0) invert(1); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-tint { background: var(--blue-tint); }
.page-head { padding: 3rem 0 1rem; }
.split { display: grid; gap: 2rem; align-items: center; }
.two-up { display: grid; gap: 1.5rem; }
@media (min-width: 860px) {
  .section { padding: 5rem 0; }
  .split { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
  .two-up { grid-template-columns: 1fr 1fr; }
}

/* Hero */
.hero { padding: 2.5rem 0 3rem; background: linear-gradient(180deg, var(--blue-tint), #fff 85%); }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero-art { margin: 0; background: #fff; border-radius: 22px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(20,89,179,.12); }
.hero-art figcaption { margin-top: .75rem; font-size: .9rem; color: var(--muted); text-align: center; }
@media (min-width: 860px) { .hero { padding: 5rem 0; } .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 3rem; } }

/* Points */
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.points li { padding: 1.5rem; border: 2px solid var(--line); border-radius: var(--radius); }
.points h2 { font-size: 1.3rem; }
.points p { margin: 0; color: var(--muted); }
.point-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--blue); color: #fff; font: 800 1.1rem var(--font-head); margin-bottom: .75rem; }
@media (min-width: 760px) { .points { grid-template-columns: repeat(3, 1fr); } }

/* Join demo */
.join-demo { margin: 0; background: #fff; border-radius: 20px; padding: 1.25rem; box-shadow: 0 8px 24px rgba(20,89,179,.1); }
.join-demo .part-a { fill: var(--blue); stroke: #fff; stroke-width: 5; stroke-linejoin: round; }
.join-demo .part-b { fill: var(--orange); stroke: #fff; stroke-width: 5; stroke-linejoin: round; }
.join-demo .part-label { fill: #fff; font: 700 20px var(--font-head); text-anchor: middle; }
.join-demo .part-label + .part-label { fill: var(--ink); }
.part-b-wrap { transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.join-demo[data-step="1"] .part-b-wrap { transform: translate(70px, -55px); }
.join-demo[data-step="2"] .part-b-wrap { transform: translate(18px, -14px); }
.join-demo[data-step="3"] .part-b-wrap { transform: none; }
.join-demo[data-step="1"] text:last-of-type { transform: translate(70px, -55px); }
.join-demo text { transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.join-demo[data-step="2"] text:last-of-type { transform: translate(18px, -14px); }
.demo-steps { list-style: none; padding: 0; margin: 1rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.demo-steps button { min-height: 44px; padding: .5em .9em; border-radius: 10px; border: 2px solid var(--blue); background: #fff; color: var(--blue); font: 700 .95rem var(--font-head); cursor: pointer; }
.demo-steps button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.demo-text { font-weight: 600; min-height: 3.2em; margin-bottom: .25rem; }
html:not(.js) .demo-steps, html:not(.js) .demo-text { display: none; }
html:not(.js) .join-demo .part-b-wrap, html:not(.js) .join-demo text { transform: none !important; }
@media (prefers-reduced-motion: reduce) { .part-b-wrap, .join-demo text { transition: none; } .btn { transition: none; } }

/* Feature */
.feature { display: grid; gap: 2rem; align-items: center; }
.callout { border-left: 6px solid var(--orange); background: #FFF6EE; padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0; }
.callout h3 { color: var(--ink); margin-bottom: .3em; }
.callout p { margin: 0; }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* Status + badges */
.status { display: inline-block; padding: .25em .75em; border-radius: 999px; font: 700 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }
.status-preview { background: #FFF1E3; color: var(--orange-text); border: 1.5px solid var(--orange); }
.status-available { background: #E3F5E8; color: #17642F; border: 1.5px solid #2E9B50; }
.status-soldout { background: #EEE; color: #555; border: 1.5px solid #999; }
.is-render { position: relative; }
.render-badge { position: absolute; left: .75rem; top: .75rem; background: rgba(22,36,58,.85); color: #fff; font: 700 .78rem var(--font-head); padding: .35em .7em; border-radius: 6px; }
.tbc { color: var(--orange-text); font-style: italic; }

/* Cards & grids */
.card { background: #fff; border-radius: var(--radius); padding: 1.75rem; border-top: 6px solid var(--blue); }
.card p { margin: 0; color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 1.25rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li { padding: .45em 1em; border: 2px dashed var(--blue); border-radius: 999px; color: var(--blue); font: 700 .95rem var(--font-head); background: #fff; }
.badge-art { width: 140px; margin-top: 1.5rem; }
.product-grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.product-card-media { display: block; background: var(--blue-tint); aspect-ratio: 4/3; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; }
.product-card-media img.logo-art { object-fit: contain; padding: 1.5rem; }
.product-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.product-card-body h3 a { text-decoration: none; }
.card-meta { font-weight: 700; color: var(--muted); margin: 0; }

/* Product page */
.crumbs { padding-top: 1.25rem; font-size: .9rem; color: var(--muted); }
.product-top { padding: 1.5rem 0 3rem; }
.product-top-inner { display: grid; gap: 2rem; }
@media (min-width: 900px) { .product-top-inner { grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; } }
.gallery { display: grid; gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--blue-tint); }
.gallery figcaption { padding: .5rem .75rem; font-size: .9rem; color: var(--muted); }
.media-placeholder { background: var(--blue-tint); border: 2px dashed var(--blue); border-radius: var(--radius); padding: 1.5rem; }
.media-placeholder img { margin: 0 auto 1rem; max-width: 420px; width: 100%; }
.media-placeholder-plain { text-align: center; padding: 3rem 1.5rem; }
.media-placeholder-plain img { width: 84px; }
.media-placeholder p { margin: 0; font-size: .95rem; color: var(--muted); }
.buy-box { margin-top: 1.5rem; padding: 1.25rem 1.5rem; border: 2px solid var(--blue); border-radius: var(--radius); }
.buy-box.is-preview { border-color: var(--orange); background: #FFF9F3; }
.buy-box .price { font: 800 1.6rem var(--font-head); color: var(--ink); margin-bottom: .5rem; }
.buy-status { margin: 0; }
.facts { display: grid; gap: 0; margin: 1rem 0; border-top: 2px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 1fr; gap: .15rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
@media (min-width: 640px) { .facts > div { grid-template-columns: 220px 1fr; gap: 1rem; } }
@media (min-width: 1000px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.scale-figure { margin: 0; background: #fff; border-radius: 20px; padding: 1.25rem; }
.scale-figure .frame { fill: none; stroke: var(--blue); stroke-width: 6; }
.scale-figure .car { fill: var(--orange); }
.scale-figure .hand { fill: #E8C4A2; stroke: var(--ink); stroke-width: 2; }
.scale-figure .lbl { font: 700 16px var(--font-head); fill: var(--ink); text-anchor: middle; }
.ticks, .steps { padding-left: 1.3rem; }
.ticks li, .steps li { margin-bottom: .4rem; }

/* How it works */
.stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.stages li { padding: 1.5rem; border-radius: var(--radius); border: 2px solid var(--line); }
.stages h2 { font-size: 1.35rem; display: flex; align-items: center; gap: .6rem; }
.stages h2 span { display: inline-grid; place-items: center; width: 38px; height: 38px; background: var(--orange); color: var(--ink); border-radius: 8px; font-size: 1.1rem; }
.stages p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .stages { grid-template-columns: 1fr 1fr; } }

/* Prose & FAQ */
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 1.1rem 2rem 1.1rem 0; font: 700 1.1rem var(--font-head); color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .9rem; font-size: 1.5rem; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Forms */
.cta-panel { background: var(--blue); color: #fff; border-radius: 22px; padding: 2rem 1.5rem; text-align: center; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #DDE8F8; max-width: 36em; margin-inline: auto; }
.cta-panel label { display: block; font-weight: 700; margin-bottom: .4rem; }
.signup { max-width: 480px; margin: 1rem auto 0; text-align: left; }
.signup-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.signup-row input { flex: 1 1 220px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; padding: .75em .9em; border: 2px solid #B9C7DA; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: 3px solid rgba(245,130,32,.5); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.is-error { color: #A12020; }
.form-status.is-ok { color: #17642F; }

/* Footer */
.site-footer { background: var(--blue); color: #fff; margin-top: 2rem; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 1.5rem; padding: 2.5rem 0; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { flex: none; background: #fff; border-radius: 10px; padding: 6px; width: 52px; height: auto; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer ul a { text-decoration: none; font-weight: 600; display: inline-block; padding: .35em 0; }
.footer-legal { font-size: .85rem; color: #C7D8F2; margin: 0; }
@media (min-width: 860px) { .footer-inner { grid-template-columns: 1.2fr 2fr; } .footer-contact, .footer-legal { grid-column: 1 / -1; } }
