/* Red Center Studio. Palette: ironstone, red ochre, spinifex gold, sand. */

/* Self-hosted fonts (SIL Open Font License), latin subset. Archivo and IBM Plex Sans are variable files. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700 800; font-display: swap; src: url("/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ironstone: #24181a;
  --ironstone-2: #32211f;
  --ochre: #d9622b;
  --ochre-deep: #a63d14;
  --oxide: #7a2e1d;
  --spinifex: #e3a23c;
  --gum: #4f7f63;
  --sand: #f5efe6;
  --card: #fffcf8;
  --line: #e3d7c8;
  --ink: #2a1a16;
  --muted: #6b5a52;
  --on-dark: #f3e9de;
  --on-dark-muted: #cbb9ab;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 17px/1.6 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--ochre-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.label { font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ochre-deep); }
.dark .label { color: var(--spinifex); }
.lede { color: var(--muted); max-width: 62ch; }
.dark .lede { color: var(--on-dark-muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1px solid transparent; border-radius: 2px; font: 600 15px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--ochre); color: #1e1412; }
.btn-primary:hover { background: var(--spinifex); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--sand); }
.dark .btn-ghost { color: var(--on-dark); border-color: rgba(243, 233, 222, 0.55); }
.dark .btn-ghost:hover { background: var(--on-dark); color: var(--ironstone); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--spinifex); outline-offset: 2px; }

/* Header */
.dark { background: var(--ironstone); color: var(--on-dark); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 76px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 13px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark); text-decoration: none; margin-right: auto; }
.brand::before { content: ""; width: 22px; height: 22px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3CclipPath id='s'%3E%3Ccircle cx='11' cy='11' r='11'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Crect width='22' height='12.5' fill='%23d9622b'/%3E%3Crect y='14.5' width='22' height='2.5' fill='%23d9622b'/%3E%3Crect y='19' width='22' height='2.5' fill='%23a63d14'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.site-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a.link { color: var(--on-dark); text-decoration: none; font: 600 15px/1 var(--body); padding: 12px; }
.site-nav a.link:hover, .site-nav a.link[aria-current] { color: var(--spinifex); }
.nav-short { display: none; }
.head-cta { display: flex; gap: 8px; }

/* Home page: template support strip and per-template links */
.support-strip { display: block; background: var(--spinifex); color: var(--ink); text-align: center; padding: 11px 16px; font-weight: 600; text-decoration: none; }
.support-strip:hover { background: #ecb04f; }
.tpl-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.tpl-links a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ochre); border-radius: 2px; color: var(--ink); font-weight: 700; text-decoration: none; }
.tpl-links a:hover { border-color: var(--ochre-deep); }
.tpl-links small { color: var(--muted); font-weight: 400; font-size: 14px; }
@media (max-width: 900px) { .tpl-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tpl-links { grid-template-columns: 1fr; } }

/* Hero */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(ellipse 70% 90% at 88% 118%, rgba(217, 98, 43, 0.42), transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 100%, rgba(227, 162, 60, 0.22), transparent 60%),
    var(--ironstone); }
.hero .wrap { padding-top: 84px; padding-bottom: 76px; }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); max-width: 15ch; margin: 18px 0 22px; color: #fff8f0; }
.hero .lede { font-size: 19px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.stats { display: flex; gap: 56px; flex-wrap: wrap; margin-top: 60px; }
.stat b { display: block; font: 800 52px/1 var(--display); letter-spacing: -0.02em; color: #fff8f0; margin-bottom: 10px; }
.strata { display: block; height: 10px; background: linear-gradient(to bottom, var(--oxide) 0 25%, var(--ochre-deep) 25% 50%, var(--ochre) 50% 75%, var(--spinifex) 75% 100%); }

/* Sections */
section { padding: 84px 0; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 12px 0 16px; }
.grid { display: grid; gap: 18px; margin-top: 36px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--ochre); padding: 26px; display: flex; flex-direction: column; gap: 10px; border-radius: 2px; }
.card h3 { font-size: 22px; }
.card .price { font: 800 30px/1 var(--display); letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 16px; }
.card .btn { align-self: flex-start; margin-top: auto; }
.card .spacer { flex: 1; min-height: 6px; }

/* Migration band */
.band { background: var(--ironstone); color: var(--on-dark); padding: 56px 40px; border-radius: 2px; background-image: radial-gradient(ellipse 60% 50% at 0% 0%, rgba(122, 46, 29, 0.55), transparent 70%); }
.band h2 { font-size: clamp(28px, 3.8vw, 42px); max-width: 22ch; margin: 12px 0 18px; color: #fff8f0; }
.band .card { color: var(--ink); }
.band .card h4 { margin: 8px 0 0; }
.band .card .from { font: 700 17px/1.4 var(--body); color: var(--ink); margin-top: 6px; }
.points { margin-top: 36px; }
.points p { color: var(--on-dark-muted); font-size: 15px; margin-top: 8px; }

/* Platforms */
.plat { background: var(--ironstone); color: var(--on-dark); padding: 26px; border-left: 3px solid var(--ochre); display: flex; flex-direction: column; gap: 10px; text-decoration: none; border-radius: 2px; }
.plat h3 { font-size: 24px; color: #fff8f0; overflow-wrap: anywhere; }
.plat p { color: var(--on-dark-muted); font-size: 15px; }
.plat .go { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--spinifex); margin-top: auto; padding-top: 8px; }
a.plat:hover { background: var(--ironstone-2); }

/* Forms */
.form-card { background: var(--card); border: 1px solid var(--line); padding: 32px; margin-top: 32px; border-radius: 2px; }
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
legend { padding: 0; margin-bottom: 14px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="url"], select, textarea { width: 100%; font: 400 16px/1.4 var(--body); color: var(--ink); background: #fff; border: 1px solid #b9a898; border-radius: 2px; padding: 12px 14px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(227, 162, 60, 0.6); border-color: var(--ochre-deep); }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ochre-deep); }
.hp { position: absolute; left: -9999px; }
/* Tap-to-choose options on the build request form. */
.field .q { display: block; font-weight: 500; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field label.chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; padding: 8px 14px; background: #fff; border: 1px solid #b9a898; border-radius: 2px; font-weight: 500; cursor: pointer; }
.chip input { width: 18px; height: 18px; margin: 0; accent-color: var(--ochre-deep); }
.chip:has(input:checked) { border-color: var(--ochre-deep); background: #fbeee4; }
.req { font: 500 11px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ochre-deep); margin-left: 6px; }
.notice { padding: 14px 16px; border-left: 3px solid var(--gum); background: #eaf2ec; margin-top: 18px; }
.notice.err { border-color: var(--oxide); background: #f8e6df; }
[hidden] { display: none !important; }
.empty { color: var(--muted); margin-top: 24px; }
.stack { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.article-body h2 { font-size: 26px; margin: 34px 0 12px; }
.article-body p { margin: 0 0 16px; }
.tldr { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ochre); padding: 20px 22px; margin: 24px 0; }
.meta { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* Breadcrumbs */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: inherit; }
.dark .crumbs { color: var(--on-dark-muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 700 18px/1.35 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 500 24px/1 var(--mono); color: var(--ochre-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 3px solid rgba(227, 162, 60, 0.6); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

/* Mapping table and step lists */
.map { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); font-size: 16px; }
.map th, .map td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.map th { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ochre-deep); }
.steps { padding-left: 22px; margin: 0; display: flex; flex-direction: column; gap: 12px; }

/* Footer */
.site-foot { padding: 36px 0 40px; font-size: 15px; }
.site-foot .row { display: flex; gap: 18px 28px; align-items: center; flex-wrap: wrap; }
.site-foot a { color: var(--on-dark); text-decoration: none; font-weight: 600; }
.site-foot a:hover { color: var(--spinifex); }
.site-foot .tag { color: var(--on-dark-muted); margin-right: auto; }
.site-foot .legal { color: var(--on-dark); font-size: 19px; line-height: 1.45; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(243, 233, 222, 0.14); }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .band { padding: 40px 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 56px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 52px; padding-bottom: 52px; }
  .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
  .stat b { font-size: 34px; }
  .stat .label { display: block; font-size: 10px; letter-spacing: 0.1em; line-height: 1.5; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  /* Header: logo and Start button on one row, menu links in a single swipeable row below. */
  .site-head .wrap { min-height: 0; gap: 0 12px; padding-top: 4px; padding-bottom: 0; }
  .brand { min-height: 48px; }
  .head-cta .btn { min-height: 44px; padding: 8px 16px; font-size: 15px; }
  .site-nav { order: 3; width: calc(100% + 32px); margin: 0 -16px; padding: 0 16px 4px; gap: 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a.link { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px 0 0; font-size: 14px; white-space: nowrap; }
  /* Comfortable tap targets in the footer and on the intake checkbox. */
  .site-foot .row { gap: 0 24px; }
  .site-foot .row a { display: inline-flex; align-items: center; min-height: 44px; }
  .site-foot .tag { flex-basis: 100%; padding: 4px 0 8px; }
  .check input { width: 22px; height: 22px; margin-top: 2px; }
  .band { margin: 0 -16px; padding: 40px 16px; border-radius: 0; }
  .form-card { padding: 20px; }
  .map th, .map td { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
