/* Site layer. Loads after base.css. */

/* Accessibility */
.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--ink); padding: 10px 14px; border-radius: 6px; font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header on mobile */
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--field); color: var(--field); font: 700 15px "Archivo", sans-serif; border-radius: 6px; padding: 9px 14px; }
@media (max-width: 760px) {
  .site-head .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; gap: 14px; }
  .nav-toggle { display: inline-block; }
  .head-cta { display: none; }
  .site-head .logo { margin-right: auto; }
  .head-login { order: 2; display: inline-flex; align-items: center; min-height: 44px; }
  .nav-toggle { order: 3; margin-left: 0; }
  .nav { order: 4; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; margin: 0; }
  .nav .nav-extra { display: block; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
}

/* Breadcrumbs */
.crumbs { font-size: 15px; color: var(--muted); padding: 22px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* Page hero for inner pages */
.page-hero { padding: 40px 0 56px; }
.page-hero .lede { margin-bottom: 0; }
.page-hero h1 { max-width: 15em; }
.answer { border-left: 4px solid var(--signal); padding: 4px 0 4px 20px; font-size: 19px; margin: 0; max-width: 40em; }
.updated { font-family: var(--narrow); color: var(--muted); font-size: 15px; margin-top: 10px; }

/* Generic grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 760px) { .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; } }

/* Template cards: the card IS a mini postcard */
.tpl-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 8px; }
.tpl-filter button { font: 600 15px "Archivo", sans-serif; background: #fff; border: 1.5px solid var(--line); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.tpl-filter button[aria-pressed="true"] { background: var(--field); border-color: var(--field); color: #fff; }
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; margin-top: 32px; }
@media (max-width: 960px) { .tpl-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tpl-grid { grid-template-columns: 1fr; } }
.tpl { text-decoration: none; color: var(--ink); display: block; }
.tpl-art { aspect-ratio: 9 / 6.25; border-radius: 4px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; box-shadow: 0 16px 28px -16px rgba(20,52,38,0.5); }
.tpl-art b { font-weight: 800; font-size: 24px; line-height: 1.02; letter-spacing: -0.02em; }
.tpl-art span { align-self: flex-start; background: var(--signal); color: var(--ink); font-weight: 800; font-size: 14px; padding: 4px 8px; border-radius: 3px; }
.tpl-art.green { background: var(--field); }
.tpl-art.blue { background: var(--route); }
.tpl-art.ink { background: var(--ink); }
.tpl-art.stock { background: var(--stock); color: var(--ink); border: 1.5px solid #E6E2D3; }
.tpl h3 { margin: 16px 0 2px; font-size: 19px; }
.tpl p { margin: 0; color: var(--muted); font-size: 15px; }
.season { font-family: var(--narrow); font-weight: 600; color: var(--field); font-size: 15px; }

/* Article / long-form */
.article { max-width: 720px; }
.article h2 { font-size: 32px; margin-top: 48px; }
.article p, .article li { font-size: 19px; line-height: 1.65; }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 16px; }
.article th, .article td { border-bottom: 1px solid var(--line); text-align: left; padding: 10px 12px; }
.article th { background: var(--sage); }
.byline { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 15px; margin: 18px 0 0; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--field); color: #fff; display: grid; place-items: center; font-weight: 800; }
.callout { background: var(--sage); border-radius: 8px; padding: 22px 24px; margin: 28px 0; }
.callout strong { display: block; margin-bottom: 6px; }
.related { border-top: 1.5px solid var(--line); margin-top: 56px; padding-top: 28px; }

/* Blog list */
.post-list { display: grid; gap: 0; margin-top: 32px; border-top: 1.5px solid var(--line); }
.post-item { display: grid; grid-template-columns: 160px 1fr; gap: 28px; padding: 28px 0; border-bottom: 1.5px solid var(--line); text-decoration: none; color: var(--ink); }
.post-item time { font-family: var(--narrow); color: var(--muted); font-size: 15px; }
.post-item h3 { font-size: 24px; margin: 0 0 6px; }
.post-item p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .post-item { grid-template-columns: 1fr; gap: 6px; } }

/* Forms */
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { font-weight: 700; font-size: 16px; display: grid; gap: 8px; }
.form input, .form select, .form textarea { font: 400 17px "Archivo", sans-serif; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--route); outline-offset: 1px; border-color: var(--route); }
.form small { font-weight: 400; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Route planner */
.planner { display: grid; grid-template-columns: 380px 1fr; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.planner-side { padding: 28px; border-right: 1.5px solid var(--line); }
.planner-map { background: #F6F8F6; min-height: 520px; }
.route-list { list-style: none; padding: 0; margin: 16px 0; border-top: 1px solid var(--line); }
.route-list li { border-bottom: 1px solid var(--line); }
.route-list label { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; cursor: pointer; font-family: var(--narrow); font-weight: 600; font-size: 17px; }
.route-list input { width: 18px; height: 18px; accent-color: var(--field); }
.route-list em { font-style: normal; color: var(--muted); font-weight: 500; }
.planner-total { background: var(--field); color: #fff; border-radius: 8px; padding: 18px; margin: 18px 0; }
.planner-total b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.planner-total span { color: #CFE0D6; font-size: 15px; }
.route-shape { cursor: pointer; }
@media (max-width: 860px) { .planner { grid-template-columns: 1fr; } .planner-side { border-right: 0; border-bottom: 1.5px solid var(--line); } .planner-map { min-height: 320px; } }

/* Order steps */
.stepper { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 36px; border-bottom: 1.5px solid var(--line); }
.stepper li { flex: 1; padding: 14px 4px; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -1.5px; }
.stepper li[aria-current="step"] { color: var(--field); border-bottom-color: var(--field); }
.stepper li b { font-family: var(--narrow); margin-right: 6px; }

/* Team */
.person { border-top: 3px solid var(--field); padding-top: 18px; }
.person p { color: var(--muted); }
.photo-slot { background: #DDE5DF; border-radius: 8px; aspect-ratio: 4 / 3; display: grid; place-items: end start; padding: 14px; color: var(--muted); font-size: 14px; }

/* Case studies */
.case { background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 28px; }
.case-meta { font-family: var(--narrow); color: var(--muted); font-size: 15px; }
.stats-table { width: 100%; border-collapse: collapse; margin-top: 24px; background: #fff; font-size: 16px; }
.stats-table th, .stats-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.stats-table thead th { background: var(--field); color: #fff; }
.stats-table td.num { font-family: var(--narrow); font-weight: 700; font-size: 18px; }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--ink); border-radius: 8px; overflow: hidden; display: grid; place-items: center; color: #fff; }
.video button { background: var(--signal); color: var(--ink); border: 0; border-radius: 999px; width: 76px; height: 76px; font-size: 0; cursor: pointer; }
.video button::after { content: ""; display: inline-block; border-left: 22px solid var(--ink); border-top: 14px solid transparent; border-bottom: 14px solid transparent; margin-left: 6px; }
.video .vcap { position: absolute; left: 18px; bottom: 14px; font-size: 15px; color: #CFE0D6; }
.chapters { list-style: none; padding: 0; margin: 16px 0 0; columns: 2; font-size: 15px; }
.chapters li { padding: 4px 0; }
.chapters time { font-family: var(--narrow); font-weight: 700; color: var(--field); margin-right: 8px; }

/* Landing page (customer campaign) */
.landing { min-height: 100vh; background: var(--field); color: #fff; display: grid; place-items: center; padding: 32px 16px; }
.landing-card { background: #fff; color: var(--ink); border-radius: 10px; max-width: 520px; width: 100%; padding: 32px; }
.landing-card .btn { width: 100%; text-align: center; }

/* Legal */
.legal { max-width: 720px; }
.legal h2 { font-size: 26px; margin-top: 36px; }
.draft-note { background: #FFF6D6; border-radius: 6px; padding: 12px 16px; color: #5B4600; font-size: 15px; }

html { background: #fff; }

/* Industries: hub grid and home strip */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
@media (max-width: 960px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ind-grid { grid-template-columns: 1fr; } }
.ind { display: block; text-decoration: none; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 20px; min-height: 44px; }
.ind:hover, .ind:focus-visible { border-color: var(--route); }
.ind h3 { margin: 0 0 6px; font-size: 19px; }
.ind p { margin: 0; color: var(--muted); font-size: 15px; }
.ind .ind-tag { display: inline-block; margin-top: 12px; font-family: var(--narrow); font-weight: 600; font-size: 14px; color: var(--route); }
.ind-soon .ind-tag { color: var(--muted); }

/* Template filter: two rows (industry and season) */
.tpl-filter + .tpl-filter { margin-top: 10px; }
.tpl-filter .filter-label { font-family: var(--narrow); font-weight: 600; font-size: 15px; color: var(--muted); align-self: center; min-width: 76px; }
.tpl-empty { color: var(--muted); margin-top: 24px; }
.tpl[hidden] { display: none; }

/* Photo cards: a real photo behind the card text. The inner shadow darkens it so white text stays readable */
.tpl-art.photo, .pc-front.photo {
  background-color: var(--ink); background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 2000px rgba(12, 20, 16, 0.42), 0 16px 28px -16px rgba(20, 52, 38, 0.5);
  color: #fff; border: 0;
}
.tpl-art.photo b, .pc-front.photo .pc-head { text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.tpl-art.photo span { border: 0; }
.pc-front.photo .pc-small { color: #EEF2EE; }
.ind-img { display: block; width: calc(100% + 40px); max-width: none; margin: -20px -20px 16px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px 7px 0 0; }
.photo-real { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.photo-cap { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Company stores: product drawings, sales page, sample store */
.cs-art { width: 100%; aspect-ratio: 1; background: var(--sage); border-radius: 8px; display: grid; place-items: center; }
.cs-art svg { width: 82%; height: 82%; display: block; }
.cs-tile { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; text-align: center; }
.cs-tile span { display: block; font-family: var(--narrow); font-weight: 600; font-size: 15px; color: var(--muted); margin-top: 8px; }
.cs-hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.cs-types { align-items: stretch; }
.cs-types .case h3 { font-size: 26px; }
.cs-type-main { border: 2px solid var(--field); }
.cs-list { padding-left: 20px; margin: 14px 0 0; }
.cs-list li { margin: 6px 0; }
.cs-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 32px; }
.cs-cat h3 { margin: 14px 0 4px; font-size: 19px; }
.cs-cat p { margin: 0; color: var(--muted); font-size: 15px; }
.cs-match, .cs-home-art { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.cs-form-msg { background: #fff; border-left: 4px solid var(--field); padding: 12px 16px; margin: 0; }
@media (max-width: 960px) { .cs-cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .cs-cats { grid-template-columns: 1fr 1fr; } }

.cs-demo { padding-top: 20px; padding-bottom: 72px; }
.cs-demo [hidden] { display: none !important; }
.cs-tabs { display: flex; gap: 8px; margin: 0 0 20px; border-bottom: 1.5px solid var(--line); }
.cs-tabs button { font: 700 16px "Archivo", sans-serif; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 6px; margin-bottom: -1.5px; color: var(--muted); cursor: pointer; min-height: 44px; }
.cs-tabs button[aria-selected="true"] { color: var(--field); border-bottom-color: var(--field); }
.cs-head { display: flex; align-items: center; gap: 20px; background: var(--field); color: #fff; border-radius: 10px; padding: 22px 26px; }
.cs-client-logo { width: 72px; height: 72px; flex: none; }
.cs-client-logo svg { width: 100%; height: 100%; }
.cs-title { font-size: 34px; margin: 0; color: #fff; }
.cs-window { margin: 6px 0 0; color: #D8E6DD; }
.cs-bar { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 2px; color: var(--muted); font-size: 15px; border-bottom: 1px solid var(--line); }
.cs-credit { color: var(--field); font-weight: 700; }
.cs-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; margin-top: 24px; align-items: start; }
.cs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.cs-item { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.cs-item h3 { margin: 6px 0 0; font-size: 19px; }
.cs-price { margin: 0; font-weight: 800; font-size: 21px; }
.cs-meta { margin: 0; color: var(--muted); font-size: 14px; }
.cs-colors { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cs-colors legend { font-size: 14px; color: var(--muted); margin-bottom: 6px; padding: 0; }
.cs-colors label { cursor: pointer; position: relative; }
.cs-colors input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cs-swatch { display: block; width: 32px; height: 32px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); }
.cs-colors input:checked + .cs-swatch { box-shadow: 0 0 0 2.5px var(--ink); }
.cs-colors input:focus-visible + .cs-swatch { outline: 3px solid var(--route); outline-offset: 2px; }
.cs-row { display: flex; gap: 10px; }
.cs-row label { flex: 1; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.cs-demo select, .cs-demo input[type=number], .cs-demo input:not([type]), .cs-demo input[type=tel] { font: 400 16px "Archivo", sans-serif; padding: 10px; border: 1.5px solid var(--line); border-radius: 6px; width: 100%; background: #fff; color: var(--ink); }
.cs-err { color: #A4281B; font-size: 14px; margin: 0; }
.cs-cart { position: sticky; top: 16px; border: 1.5px solid var(--line); border-radius: 10px; padding: 20px; background: #fff; }
.cs-cart h2 { font-size: 24px; margin: 0 0 8px; }
.cs-lines { list-style: none; margin: 0 0 14px; padding: 0; }
.cs-lines li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cs-lines .cs-empty { display: block; color: var(--muted); }
.cs-rm { grid-column: 1; justify-self: start; background: none; border: 0; padding: 0; color: var(--route); text-decoration: underline; font: 500 14px "Archivo", sans-serif; cursor: pointer; }
.cs-checkout { display: grid; gap: 12px; }
.cs-checkout > label, .cs-address > label { display: grid; gap: 4px; font-weight: 600; font-size: 15px; }
.cs-checkout fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.cs-checkout legend { font-weight: 600; font-size: 15px; margin-bottom: 4px; padding: 0; }
.cs-checkout fieldset label { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.cs-address { display: grid; gap: 10px; }
.cs-totals { margin: 4px 0; }
.cs-totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.cs-totals dt, .cs-totals dd { margin: 0; }
.cs-due { border-top: 1.5px solid var(--ink); margin-top: 6px; padding-top: 8px !important; font-weight: 800; font-size: 19px; }
.cs-place { width: 100%; text-align: center; cursor: pointer; }
.cs-place:disabled { opacity: 0.45; cursor: not-allowed; }
.cs-done { background: var(--sage); border-radius: 8px; padding: 16px; margin-top: 14px; }
.cs-done h3 { color: var(--field); margin: 0 0 6px; }
.cs-jump { display: none; }
.cs-mtitle { font-size: 34px; }
.cs-window-m { color: var(--muted); }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 32px; }
.cs-stats div { background: var(--sage); border-radius: 8px; padding: 16px; }
.cs-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.cs-stats span { color: var(--muted); font-size: 14px; }
.cs-mbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cs-mbtns .btn:disabled { opacity: 0.6; }
@media (max-width: 860px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-cart { position: static; }
  .cs-stats { grid-template-columns: 1fr 1fr; }
  .cs-title, .cs-mtitle { font-size: 26px; }
  .cs-head { padding: 18px; gap: 14px; }
  .cs-client-logo { width: 52px; height: 52px; }
  .cs-jump { display: flex; justify-content: space-between; align-items: center; position: sticky; bottom: 0; z-index: 5; background: var(--ink); color: #fff; text-decoration: none; padding: 14px 16px; margin: 20px -16px 0; font-size: 15px; }
  .cs-jump b { color: var(--signal); }
}

/* Route planner: who gets the card, business routes */
.reach { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.reach legend { font-weight: 700; font-size: 16px; margin-bottom: 4px; padding: 0; }
.reach label { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 16px; cursor: pointer; }
.reach input { width: 18px; height: 18px; accent-color: var(--field); }
.reach small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.route-list label { flex-wrap: wrap; }
.route-list em small { display: none; }
.planner.b2b .route-list em small { display: inline; }
.biz-tag { flex-basis: 100%; font-style: normal; font-family: var(--narrow); font-weight: 600; font-size: 13px; color: var(--route); margin-top: -4px; }

/* Partner program page */
.eyebrow { font-family: var(--narrow); font-weight: 700; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--route); margin: 0 0 10px; }
.pt-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pt-stats li { background: var(--sage); border-radius: 10px; padding: 20px; }
.pt-stats b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--field); line-height: 1.1; }
.pt-stats span { color: var(--muted); font-size: 16px; }
.pt-steps { grid-template-columns: repeat(4, 1fr); list-style: none; padding: 0; gap: 28px; }
.pt-steps li > b { display: inline-flex; width: 38px; height: 38px; border-radius: 19px; background: var(--signal); align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }
.pt-steps p { margin: 0; color: var(--muted); font-size: 17px; }
.pt-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 17px; }
.pt-table th, .pt-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.pt-table th { font-size: 15px; color: var(--muted); font-weight: 600; }
.pt-table td:nth-child(3) { font-weight: 800; color: var(--field); }
.pt-calc { background: #fff; color: var(--ink); border-radius: 12px; padding: 26px; display: grid; gap: 14px; }
.pt-calc label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; }
.pt-calc input { font: inherit; font-size: 20px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; }
.pt-calc dl { margin: 6px 0 0; display: grid; gap: 8px; }
.pt-calc dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.pt-calc dt { color: var(--muted); }
.pt-calc dd { margin: 0; font-family: var(--narrow); font-weight: 700; font-size: 20px; }
.pt-calc .pt-keep dd { font-size: 34px; font-weight: 800; color: var(--field); font-family: inherit; }
.pt-note { margin: 0; font-size: 15px; color: var(--muted); }
.pt-note.warn { color: #9A3B00; font-weight: 600; }
.pt-gets { row-gap: 34px; }
.pt-gets p { color: var(--muted); margin: 0; }
.chip { display: inline-block; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 16px; }
@media (max-width: 960px) { .pt-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pt-steps { grid-template-columns: 1fr; } .pt-stats b { font-size: 28px; } }

/* Template cards: starting price */
.tpl-price { font-family: var(--narrow); font-weight: 700; font-size: 16px; color: var(--field); margin: 6px 0 0; }

/* Account quick links */
.ca-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.ca-quick a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; background: #fff; }
.ca-quick a:hover { border-color: var(--field); }
.ca-quick a b { color: var(--field); font-size: 18px; }
@media (max-width: 760px) { .ca-quick { grid-template-columns: 1fr 1fr; } }

/* Footer support hours */
.foot-hours { margin-top: 10px; color: #fff; font-weight: 600; }
.foot-hours span { display: block; color: #B8C4BC; font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Order page: path choice, options, help, in-home dates (from the DFS study) */
.ord-fork { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 22px; }
.ord-path { display: grid; gap: 4px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; }
.ord-path b { font-size: 18px; }
.ord-path span { color: var(--muted); font-size: 15px; line-height: 1.35; }
.ord-path.is-on { border-color: var(--field); box-shadow: inset 0 0 0 1px var(--field); }
.ord-opts { margin-top: 30px; }
.ord-h { font-size: 24px; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.ord-h span { font-family: var(--narrow); font-size: 14px; background: var(--signal); border-radius: 4px; padding: 3px 7px; }
.ord-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ord-grid label { font-weight: 700; font-size: 16px; display: grid; gap: 8px; }
.ord-grid select { font: 400 17px "Archivo", sans-serif; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: #fff; width: 100%; }
.ord-yesno { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.ord-yesno legend { font-weight: 700; font-size: 16px; padding: 0; margin-bottom: 8px; width: 100%; }
.ord-yesno label { display: flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.ord-yesno input { width: 20px; height: 20px; accent-color: var(--field); }
.ord-info { border-top: 1px solid var(--line); padding: 12px 0; }
.ord-info:first-of-type { margin-top: 18px; }
.ord-info summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.ord-info p { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.ord-myfiles { font-size: 16px; margin: 6px 0 0; }
.ord-help { margin-top: 32px; background: var(--sage); border-radius: 12px; padding: 22px; scroll-margin-top: 80px; }
.ord-help h2 { font-size: 24px; margin: 0 0 6px; }
.ord-help p { margin: 0 0 12px; }
.ord-help-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.ord-help-hrs { font-size: 15px; color: var(--muted); margin: 0 !important; }
.sum-inhome { background: #fff; border-radius: 8px; padding: 12px 14px; margin: 14px 0; display: grid; gap: 2px; }
.sum-inhome span { font-size: 14px; color: var(--muted); }
.sum-inhome b { font-size: 19px; color: var(--field); }
.sum-inhome small { font-size: 13px; color: var(--muted); line-height: 1.35; }
@media (max-width: 600px) { .ord-fork, .ord-grid { grid-template-columns: 1fr; } }

/* Guarantee, file setup, samples pages */
.g-list { padding-left: 22px; display: grid; gap: 10px; margin: 0 0 8px; }
.fs-panel { position: relative; aspect-ratio: 9 / 6.25; background: var(--stock); border: 1.5px solid #E6E2D3; border-radius: 4px; margin: 14px 0; box-shadow: 0 16px 28px -16px rgba(20,52,38,0.4); }
.fs-box { position: absolute; top: 0; right: 0; width: 50%; height: 44%; border: 2px dashed var(--route); background: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-weight: 700; font-size: 15px; color: var(--route); line-height: 1.3; }
.fs-box small { color: var(--muted); font-weight: 600; }
.fs-copy { position: absolute; left: 6%; bottom: 10%; width: 40%; color: var(--muted); font-size: 14px; line-height: 1.35; }

/* Tablet and narrow laptop (761 to 1180px): menu button instead of a crowded row of links */
.site-head .logo { flex: none; }
@media (min-width: 761px) and (max-width: 1180px) {
  .site-head .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; gap: 12px 20px; }
  .site-head .logo { margin-right: auto; }
  .head-track { display: none; }
  .head-login { order: 2; }
  .head-cta { order: 3; }
  .nav-toggle { display: inline-block; order: 4; margin-left: 0; min-height: 44px; }
  .nav { order: 5; display: none; width: 100%; flex-direction: column; gap: 0; margin: 0; }
  .nav.open { display: flex; }
  .nav .nav-extra { display: block; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; padding-bottom: 12px; }
}

/* Phones: wide tables scroll sideways inside their box instead of being cut off */
@media (max-width: 560px) {
  .stats-table, .article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stats-table th, .stats-table td { padding: 10px 12px; }
}

/* Header dropdowns: Services and Industries (v1.2.2). Top word opens the hub page; the arrow opens the list. */
.nav-dd { position: relative; display: flex; align-items: center; gap: 2px; }
.dd-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink); cursor: pointer; }
.dd-btn svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.dd-btn:hover, .dd-btn:focus-visible { background: var(--sage); }
.nav-dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-panel { display: none; position: absolute; top: 100%; left: -16px; z-index: 40; min-width: 330px; padding: 10px; margin-top: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 36px rgba(24, 32, 27, 0.16); }
.dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge */
.dd-panel ul { list-style: none; margin: 0; padding: 0; }
.nav .dd-panel a { display: block; padding: 9px 12px; border-radius: 8px; white-space: normal; box-shadow: none; }
.nav .dd-panel a:hover, .nav .dd-panel a:focus-visible { background: var(--sage); }
.nav .dd-panel a[aria-current="page"] { background: var(--sage); padding-bottom: 9px; }
.dd-panel b { display: block; font-weight: 700; font-size: 16px; color: var(--ink); line-height: 1.25; }
.dd-panel span { display: block; font-size: 14px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.nav .dd-panel .dd-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; padding-top: 11px; color: var(--field); font-weight: 700; font-size: 15px; }
@media (min-width: 1181px) {
  .nav { align-items: center; }
  .nav-dd:hover .dd-panel, .nav-dd.open .dd-panel { display: block; }
  .nav-dd:hover .dd-btn svg { transform: rotate(180deg); }
}
/* Tablet menu: the list opens in place under its link */
@media (max-width: 1180px) {
  .nav-dd { flex-wrap: wrap; width: 100%; border-top: 1px solid var(--line); }
  .nav .nav-dd .nav-top { flex: 1; border-top: 0; }
  .dd-btn { width: 44px; height: 44px; }
  .dd-panel { position: static; width: 100%; min-width: 0; margin: 0 0 8px; padding: 4px 0 4px 12px; border: 0; border-left: 3px solid var(--signal); border-radius: 0; box-shadow: none; }
  .dd-panel::before { display: none; }
  .nav-dd.open .dd-panel { display: block; }
  .nav .dd-panel a { border-top: 0; padding: 10px 12px; }
}

/* Blog layout: article or list on the left, guides sidebar on the right (theme 1.3.0) */
.blog-layout { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: 64px; justify-content: space-between; align-items: stretch; }
.blog-main { min-width: 0; }
.blog-main > .post-month:first-child { margin-top: 0; }
.post-month { font-family: var(--narrow); font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin: 48px 0 0; scroll-margin-top: 96px; }
.post-month + .post-list { margin-top: 12px; }
.blog-side { display: flex; flex-direction: column; gap: 20px; font-size: 16px; }
.side-box { border-top: 3px solid var(--field); padding-top: 14px; }
.side-box h2 { font-family: var(--narrow); font-size: 17px; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; color: var(--field); }
.side-box ol, .side-box ul { list-style: none; margin: 0; padding: 0; }
.side-box li { padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.side-box li:last-child { border-bottom: 0; }
.side-box a { color: var(--ink); text-decoration: none; font-weight: 600; }
.side-box a:hover { color: var(--route); text-decoration: underline; }
.side-box a[aria-current] { color: var(--muted); font-weight: 400; }
.side-start ol { counter-reset: start; }
.side-start li { counter-increment: start; display: grid; grid-template-columns: 26px 1fr; align-items: start; }
.side-start li::before { content: counter(start); font-family: var(--narrow); font-weight: 700; color: var(--route); }
.side-latest time { display: block; font-family: var(--narrow); font-size: 14px; color: var(--muted); margin-top: 2px; }
.side-archive li { display: flex; justify-content: space-between; gap: 12px; }
.side-archive span { font-family: var(--narrow); color: var(--muted); }
.side-more summary { cursor: pointer; padding: 9px 0; color: var(--route); font-weight: 600; }
.side-all { margin: 10px 0 0; }
.side-all a { color: var(--route); }
.side-cta { background: var(--sage); border-radius: 8px; padding: 20px; position: sticky; top: 96px; }
.side-cta p { margin: 0 0 14px; color: var(--muted); line-height: 1.45; }
.side-cta .side-cta-h { font-weight: 800; font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.side-cta .btn { display: block; text-align: center; padding: 13px 16px; }
@media (max-width: 1080px) { .blog-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; } }
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 48px; }
  .blog-side { border-top: 1.5px solid var(--line); padding-top: 32px; }
  .side-cta { position: static; }
}

/* Home: three guide cards */
.home-blog-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.home-blog-head h2 { margin: 0; max-width: 18em; }
.home-blog-all { font-weight: 700; color: var(--route); }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-blog-card { display: flex; flex-direction: column; border: 1.5px solid var(--line); border-top: 4px solid var(--field); border-radius: 8px; padding: 24px; text-decoration: none; color: var(--ink); background: var(--paper); transition: border-color 0.15s ease, transform 0.15s ease; }
.home-blog-card:hover { border-color: var(--route); transform: translateY(-2px); }
.home-blog-card time { font-family: var(--narrow); font-size: 15px; color: var(--muted); }
.home-blog-card h3 { font-size: 22px; margin: 8px 0; line-height: 1.2; }
.home-blog-card p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.home-blog-go { font-weight: 700; color: var(--route); }
.home-blog-go::after { content: " \2192"; }
@media (max-width: 900px) { .home-blog-grid { grid-template-columns: 1fr; gap: 14px; } .home-blog-card { padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .home-blog-card { transition: none; } .home-blog-card:hover { transform: none; } }

/* Header cart link (shows once the cart has something in it) */
.head-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; color: var(--field); text-decoration: none; flex: none; }
.head-cart[hidden] { display: none; }
.head-cart svg { width: 24px; height: 24px; }
.head-cart-n { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--signal); color: var(--ink); font-size: 12px; font-weight: 800; line-height: 19px; text-align: center; box-sizing: border-box; }

