/* Logo & Name: its own look. Light, warm and friendly: white and cream, deep evergreen, a touch of gold, a serif for headings. Nothing here is shared with 3DNow's dark site. */
:root {
  --paper: #fff; --cream: #fbf7f0; --sand: #f2eadc; --ink: #17211f; --ink-2: #4b5854; --ink-3: #7a8682; --line: #e6dece;
  --green: #0d5c4b; --green-d: #094537; --green-l: #e4f1ec; --gold: #e9a21c; --gold-d: #b97b05; --gold-l: #fff4d9; --berry: #b3261e;
  --r: 14px; --r-sm: 10px; --shadow: 0 1px 2px rgba(23, 33, 31, .06), 0 8px 24px rgba(23, 33, 31, .07); --wrap: 1120px;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif; --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img, svg, canvas { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-variation-settings: 'opsz' 144; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 54ch; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { 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: 600 1.35rem/1 var(--serif); }
.brand svg { flex: none; }
.brand em { font-style: italic; color: var(--green); font-weight: 500; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .98rem; }
.nav a:hover { color: var(--green); }
.nav .btn { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; text-align: center; }
  .topbar.open .nav { display: flex; }
}

/* buttons */
.btn, .sm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #fff; padding: 14px 26px; transition: background .15s, box-shadow .15s, transform .15s; }
.btn:hover { background: var(--green-d); border-color: var(--green-d); color: #fff; box-shadow: 0 6px 16px rgba(13, 92, 75, .25); transform: translateY(-1px); }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #f3b233; border-color: #f3b233; color: var(--ink); box-shadow: 0 6px 16px rgba(233, 162, 28, .35); }
.sm-btn { background: #fff; color: var(--green); padding: 10px 18px; font-size: .92rem; }
.sm-btn:hover:not(:disabled) { background: var(--green-l); }
.btn:disabled, .sm-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 1em; }

/* hero */
.hero { background: linear-gradient(180deg, var(--cream), #fff); padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 56px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--green); font-weight: 500; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 28px 0 0; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.trust li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; }
.hero-art { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(23, 33, 31, .12)); }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero-art { max-width: 460px; margin-inline: auto; } }

/* sections */
.section { padding: clamp(44px, 6vw, 84px) 0; scroll-margin-top: 76px; }
.section.alt { background: var(--cream); }
.section-head { max-width: 62ch; margin-bottom: 32px; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; margin: 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow); color: var(--ink-2); }
.steps li::before { content: counter(s); display: block; font: 600 2.4rem/1 var(--serif); color: var(--gold); margin-bottom: 10px; }
.steps b { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }
.designs { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.design { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.design svg { display: block; width: 100%; height: auto; background: var(--sand); }
.design div { padding: 20px 22px 8px; }
.design p { color: var(--ink-2); }
.design .meta { font-size: .9rem; color: var(--ink-3); font-weight: 600; }

/* the builder */
.builder { background: var(--cream); border-radius: 22px; padding: clamp(18px, 3vw, 36px); border: 1px solid var(--line); }
.teams-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.teams-form, .teams-side { display: grid; gap: 20px; min-width: 0; }
.teams-side { position: sticky; top: 88px; }
@media (max-width: 900px) { .teams-grid { grid-template-columns: minmax(0, 1fr); } .teams-side { position: static; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px 22px 14px; min-width: 0; }
.panel-head { font: 700 .8rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.strap { color: var(--ink-2); }
.helper { color: var(--ink-3); font-size: .92rem; }
.stack { display: grid; gap: 4px; }
.auth { max-width: 560px; }
.field { display: grid; gap: 6px; margin: 0 0 16px; font-weight: 600; font-size: .95rem; color: var(--ink); max-width: 340px; }
.field.wide, .wide { max-width: 100%; }
.field input[type="text"], .field input[type="email"], .field input:not([type]), .field textarea, .field select { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1.5px solid #cfc5b2; border-radius: var(--r-sm); padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.field input[type="file"] { padding: 8px 0; border: 0; font-weight: 400; }
.field input[type="file"]::file-selector-button { font: 700 .9rem var(--sans); color: var(--green); background: #fff; border: 2px solid var(--green); border-radius: 999px; padding: 8px 16px; margin-right: 12px; cursor: pointer; }
.field textarea { resize: vertical; min-height: 140px; }
.opt { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; font-weight: 500; font-size: .95rem; color: var(--ink-2); cursor: pointer; }
.opt input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.notice { background: var(--gold-l); border: 1px solid #f3d899; border-left: 4px solid var(--gold); border-radius: var(--r-sm); padding: 12px 16px; color: var(--ink); }
.error { color: var(--berry); font-weight: 600; }
.link { color: var(--green); font-weight: 600; }
.teams-products { display: grid; gap: 10px; margin-bottom: 14px; }
.teams-products label { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.teams-products label:hover { border-color: #cfc5b2; }
.teams-products label:has(input:checked) { border-color: var(--green); background: var(--green-l); box-shadow: 0 0 0 3px rgba(13, 92, 75, .12); }
.teams-products label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.teams-products input { position: absolute; opacity: 0; pointer-events: none; }
.teams-products b { font-size: 1.02rem; }
.teams-products span { color: var(--ink-2); font-size: .92rem; }
.teams-problems { margin: 0 0 12px; padding-left: 1.2em; color: var(--berry); font-size: .92rem; }
.teams-plates { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.teams-plates li { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.teams-plates li[aria-current="true"] { border-color: var(--green); background: var(--green-l); }
.teams-plates .who { min-width: 0; flex: 1 1 180px; overflow-wrap: anywhere; color: var(--ink-2); font-size: .92rem; }
.teams-basket { margin: 0 0 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.teams-logo { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin: 0 0 14px; }
.teams-logo svg { flex: none; color: var(--green); background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 6px; }
.teams-logo > div { flex: 1 1 220px; min-width: 0; }
.dchat-h { font-size: 1.3rem; }
.dchat-viewwrap { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); margin-bottom: 8px; }
.dchat-view { display: block; width: 100%; height: auto; aspect-ratio: 760 / 460; background: #f3efe8; cursor: grab; touch-action: none; }
.dchat-view:active { cursor: grabbing; }
#count { font-weight: 600; color: var(--ink); }
#price, #setprice { font-weight: 600; }

/* questions */
.faq { max-width: 760px; }
.teams-q { border-bottom: 1px solid var(--line); }
.teams-q summary { cursor: pointer; padding: 18px 28px 18px 0; font: 600 1.12rem/1.35 var(--serif); list-style: none; position: relative; }
.teams-q summary::-webkit-details-marker { display: none; }
.teams-q summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font: 400 1.7rem/1 var(--sans); color: var(--green); }
.teams-q[open] summary::after { content: '\2212'; }
.teams-q p { color: var(--ink-2); margin: 0 0 18px; max-width: 62ch; }

/* footer */
.footer { background: var(--green-d); color: #cfe6de; padding: 44px 0 30px; }
.footer a { color: #fff; }
.footer-in { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer .brand { color: #fff; }
.footer .brand em { color: var(--gold); }
.footer h2 { font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer small { display: block; margin-top: 30px; color: #9fc4b8; }
@media (max-width: 760px) { .footer-in { grid-template-columns: 1fr; } }

/* thank-you and not-found pages */
.center { padding: clamp(60px, 10vw, 120px) 0; text-align: center; }
.center .lead { margin-inline: auto; }

/* before ordering opens: just the notice, without the empty frame around it */
.builder.is-soon { background: none; border: 0; padding: 0; }
.builder.is-soon .panel { max-width: 640px; }
