/* Repair A Chip — site styles (loaded only on repairachip.com) */
:root {
	--ink: #0F2A3D;
	--ink-2: #3C5868;
	--ink-3: #6B8592;
	--paper: #F6F9FA;
	--white: #FFFFFF;
	--glass: #DDEDF1;
	--glass-2: #C3DFE6;
	--resin: #F2A33A;
	--resin-2: #E08E1F;
	--sea: #2A7F78;
	--rule: #C7D8DD;
	--danger: #B3412E;
	--display: "Archivo", "Arial Narrow", system-ui, sans-serif;
	--body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1180px;
	--gut: clamp(16px, 4vw, 40px);
	--r-s: 6px;
	--r-m: 14px;
	--r-l: 28px;

	--wp--preset--color--base: var(--paper);
	--wp--preset--color--contrast: var(--ink);
	--wp--preset--font-family--manrope: var(--body);
	--wp--preset--font-family--fira-code: var(--body);
}

body.rac {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.rac :where(h1, h2, h3, h4) {
	font-family: var(--display);
	font-stretch: 118%;
	font-variation-settings: "wdth" 118;
	font-weight: 800;
	letter-spacing: -0.012em;
	color: var(--ink);
	text-wrap: balance;
}
body.rac :where(p, li) { text-wrap: pretty; }
body.rac :where(strong, b) { font-weight: 700; }
.rac-split--wide-first { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
@media (max-width: 860px) { .rac-split--wide-first { grid-template-columns: 1fr; } }
body.rac a { color: var(--sea); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
body.rac a:hover { color: var(--ink); }
body.rac :focus-visible { outline: 3px solid var(--resin); outline-offset: 3px; border-radius: 4px; }
body.rac ::selection { background: var(--resin); color: var(--ink); }

/* Theme reset: our sections are full-bleed and carry their own spacing */
body.rac .wp-site-blocks { padding: 0; }
body.rac main.wp-block-group { margin-top: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
body.rac .rac-page .entry-content > *, body.rac .rac-page > * { margin-block: 0; }
body.rac .wp-block-post-content > .wp-block-group.alignfull { margin-top: 0; margin-bottom: 0; }
body.rac .wp-block-post-content.is-layout-constrained > .alignfull { max-width: none; }
body.rac .wp-block-html { margin: 0; }

.rac-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.rac-narrow { max-width: 760px; }
.rac-sec { padding-block: clamp(56px, 8vw, 112px); }
.rac-sec--tight { padding-block: clamp(40px, 5vw, 72px); }
.rac-sec--glass { background: var(--glass); }
.rac-sec--ink { background: var(--ink); color: #E6EFF2; }
body.rac .rac-sec--ink :where(h1, h2, h3, h4) { color: var(--white); }
.rac-sec--ink a { color: var(--resin); }
.rac-sec--white { background: var(--white); }

.rac-h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 0.98; margin: 0 0 0.4em; }
.rac-h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.04; margin: 0 0 0.45em; }
.rac-h3 { font-size: 1.3rem; line-height: 1.2; margin: 0 0 0.35em; font-stretch: 110%; font-variation-settings: "wdth" 110; }
.rac-lede { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; margin: 0 0 1.6em; }
.rac-sec--ink .rac-lede { color: #BFD3DA; }
.rac-small { font-size: 0.95rem; color: var(--ink-3); }
.rac-sec--ink .rac-small { color: #9FB7C0; }

/* Buttons */
.rac-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rac-btn {
	display: inline-flex; align-items: center; gap: 0.55em;
	min-height: 54px; padding: 0 1.4em; border-radius: 999px;
	font-family: var(--display); font-weight: 700; font-size: 1.05rem;
	font-stretch: 108%; font-variation-settings: "wdth" 108;
	text-decoration: none !important; border: 2px solid transparent;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
	cursor: pointer; line-height: 1;
}
.rac-btn svg { width: 20px; height: 20px; flex: none; }
.rac-btn--resin { background: var(--resin); color: var(--ink) !important; }
.rac-btn--resin:hover { background: var(--resin-2); }
.rac-btn--ink { background: var(--ink); color: var(--white) !important; }
.rac-btn--ink:hover { background: #1B3D54; }
.rac-btn--line { border-color: var(--ink); color: var(--ink) !important; background: transparent; }
.rac-btn--line:hover { background: var(--ink); color: var(--white) !important; }
.rac-sec--ink .rac-btn--line { border-color: #8FB0BB; color: var(--white) !important; }
.rac-sec--ink .rac-btn--line:hover { background: var(--white); color: var(--ink) !important; }
.rac-btn:active { transform: translateY(1px); }
.rac-textlink { font-weight: 700; color: var(--ink) !important; }

/* Header */
.rac-head { position: sticky; top: 0; z-index: 50; background: rgba(246, 249, 250, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.admin-bar .rac-head { top: 32px; }
.rac-head__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.rac-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: var(--ink) !important; flex: none; }
.rac-logo svg { width: 46px; height: 30px; }
.rac-logo__word { font-family: var(--display); font-weight: 800; font-size: 1.28rem; font-stretch: 125%; font-variation-settings: "wdth" 125; letter-spacing: -0.02em; line-height: 1; }
.rac-nav { display: flex; gap: 4px; margin-left: auto; }
.rac-nav a { color: var(--ink) !important; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 10px 12px; border-radius: 8px; }
.rac-nav a:hover, .rac-nav a[aria-current="page"] { background: var(--glass); }
.rac-head__cta { flex: none; }
.rac-head__cta .rac-btn { min-height: 46px; font-size: 0.98rem; }
.rac-menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 46px; height: 46px; border-radius: 10px; color: var(--ink); cursor: pointer; }
.rac-menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
	.rac-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 16px; }
	.rac-nav.is-open { display: flex; }
	.rac-nav a { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
	.rac-menu-btn { display: inline-grid; place-items: center; }
	.rac-head__cta { display: none; }
}
@media (max-width: 600px) { .admin-bar .rac-head { top: 0; } }

/* Hero */
.rac-hero { background: var(--paper); padding-block: clamp(36px, 6vw, 88px) clamp(32px, 4vw, 56px); overflow: hidden; }
.rac-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.rac-hero__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: var(--ink-2); font-size: 1rem; max-width: 32em; }
.rac-hero__note svg { flex: none; width: 22px; height: 22px; color: var(--sea); margin-top: 2px; }
.rac-hero__art { position: relative; }
.rac-hero__pane { background: var(--glass); border-radius: var(--r-l); padding: clamp(18px, 3vw, 34px); }
.rac-hero__cap { display: flex; justify-content: space-between; gap: 12px; font-size: 0.95rem; color: var(--ink-2); padding: 14px 6px 0; }
@media (max-width: 860px) {
	.rac-hero__grid { grid-template-columns: 1fr; }
	.rac-hero__art { max-width: 520px; }
	.rac-hero__cap { display: none; }
}

/* Windshield illustration */
.rac-ws { width: 100%; height: auto; display: block; overflow: visible; }
.rac-ws .ws-glass { fill: #F4FAFC; stroke: var(--ink); stroke-width: 3; }
.rac-ws .ws-frame { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linejoin: round; }
.rac-ws .ws-shine { fill: #FFFFFF; opacity: .75; }
.rac-ws .ws-wiper { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; fill: none; }
.rac-ws .ws-mirror { fill: var(--ink); }
.rac-ws .ws-leg { stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-dasharray: 60; stroke-dashoffset: 0; }
.rac-ws .ws-pit { fill: var(--ink); }
.rac-ws .ws-resin { fill: var(--resin); opacity: 0; }
.rac-ws .ws-glow { fill: none; stroke: var(--resin); stroke-width: 3; opacity: 0; }
.rac-ws .ws-coin { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-dasharray: 3 4; }
.rac-ws.is-healing .ws-leg { animation: rac-leg 1.6s cubic-bezier(.65,0,.35,1) .9s forwards; }
.rac-ws.is-healing .ws-pit { animation: rac-pit 1.2s ease 1.6s forwards; }
.rac-ws.is-healing .ws-resin { animation: rac-resin 1.4s ease 1.4s forwards; }
.rac-ws.is-healing .ws-glow { animation: rac-glow 1.8s ease 2.3s forwards; }
@keyframes rac-leg { to { stroke-dashoffset: 60; opacity: .15; } }
@keyframes rac-pit { to { fill: #9DB5BE; } }
@keyframes rac-resin { 0% { opacity: 0; } 60% { opacity: .9; } 100% { opacity: .35; } }
@keyframes rac-glow { 0% { opacity: 0; r: 10; } 30% { opacity: 1; } 100% { opacity: 0; r: 46; } }
@media (prefers-reduced-motion: reduce) {
	.rac-ws.is-healing * { animation: none !important; }
}

/* Proof strip */
.rac-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.rac-fact { padding: 26px 22px 26px 0; }
.rac-fact + .rac-fact { padding-left: 22px; border-left: 1px solid var(--rule); }
.rac-fact b { display: block; font-weight: 800; font-family: var(--display); font-size: 1.15rem; font-stretch: 112%; font-variation-settings: "wdth" 112; margin-bottom: 4px; }
.rac-fact span { color: var(--ink-2); font-size: 1rem; line-height: 1.45; display: block; }
@media (max-width: 860px) {
	.rac-facts { grid-template-columns: 1fr 1fr; }
	.rac-fact:nth-child(3) { padding-left: 0; border-left: 0; }
	.rac-fact:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 480px) {
	.rac-facts { grid-template-columns: 1fr; }
	.rac-fact, .rac-fact + .rac-fact { padding: 18px 0; border-left: 0; }
	.rac-fact + .rac-fact { border-top: 1px solid var(--rule); }
}

/* Two-column text + side */
.rac-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.rac-split--even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .rac-split, .rac-split--even { grid-template-columns: 1fr; } }

/* Spread: chip vs crack comparison */
.rac-spread { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.rac-spread__item { padding: 24px 24px 8px 0; }
.rac-spread__item + .rac-spread__item { padding-left: 24px; border-left: 1px solid var(--rule); }
.rac-spread__item svg { width: 100%; max-width: 160px; height: auto; display: block; margin-bottom: 14px; }
.rac-spread__item p { color: var(--ink-2); margin: 0; font-size: 1.02rem; }
.rac-spread__cost { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-top: 12px !important; }
@media (max-width: 760px) {
	.rac-spread { grid-template-columns: 1fr; }
	.rac-spread__item, .rac-spread__item + .rac-spread__item { padding: 22px 0; border-left: 0; }
	.rac-spread__item + .rac-spread__item { border-top: 1px solid var(--rule); }
}

/* Steps (a real sequence) */
.rac-steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.rac-steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); }
.rac-steps li:last-child { border-bottom: 1px solid var(--rule); }
.rac-steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--sea); font-stretch: 125%; font-variation-settings: "wdth" 125; }
.rac-steps h3 { margin: 4px 0 6px; font-size: 1.25rem; }
.rac-steps p { margin: 0; color: var(--ink-2); }
.rac-sec--ink .rac-steps li { border-color: #2C4A5E; }
.rac-sec--ink .rac-steps li::before { color: var(--resin); }
.rac-sec--ink .rac-steps p { color: #BFD3DA; }

/* Insurance band */
.rac-ins { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.rac-ins__card { background: #163A51; border-radius: var(--r-m); padding: 26px 28px; }
.rac-ins__card dl { margin: 0; display: grid; gap: 14px; }
.rac-ins__card dt { font-weight: 700; color: var(--white); }
.rac-ins__card dd { margin: 2px 0 0; color: #BFD3DA; font-size: 1rem; }
@media (max-width: 860px) { .rac-ins { grid-template-columns: 1fr; } }

/* Coverage map */
.rac-map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.rac-map svg { width: 100%; height: auto; display: block; }
.rac-map .m-land { fill: #E9F2EE; }
.rac-map .m-water { fill: var(--glass-2); }
.rac-map .m-coast { fill: none; stroke: var(--ink); stroke-width: 2; }
.rac-map .m-road { fill: none; stroke: #9DB5BE; stroke-width: 2; stroke-dasharray: 6 5; }
.rac-map .m-dot { fill: var(--ink); }
.rac-map .m-dot--key { fill: var(--resin); stroke: var(--ink); stroke-width: 2; }
.rac-map .m-label { font-family: var(--body); font-size: 15px; fill: var(--ink); font-weight: 700; }
.rac-map .m-sub { font-family: var(--body); font-size: 12px; fill: var(--ink-3); }
.rac-map a:hover .m-label, .rac-map a:focus .m-label { fill: var(--sea); text-decoration: underline; }
.rac-towns { list-style: none; margin: 18px 0 0; padding: 0; columns: 2; column-gap: 28px; }
.rac-towns li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.rac-towns a { color: var(--ink) !important; text-decoration: none; font-weight: 700; }
.rac-towns a:hover { color: var(--sea) !important; text-decoration: underline; }
@media (max-width: 860px) { .rac-map { grid-template-columns: 1fr; } }

/* Prose pages */
.rac-prose { max-width: 720px; }
.rac-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.8em 0 0.5em; line-height: 1.1; }
.rac-prose h3 { font-size: 1.25rem; margin: 1.5em 0 0.4em; }
.rac-prose p, .rac-prose li { color: var(--ink); }
.rac-prose ul, .rac-prose ol { padding-left: 1.2em; }
.rac-prose li { margin: 0.45em 0; }
.rac-prose li::marker { color: var(--sea); }
.rac-callout { border-left: 4px solid var(--resin); background: var(--white); padding: 18px 22px; border-radius: 0 var(--r-s) var(--r-s) 0; margin: 1.6em 0; }
.rac-callout p { margin: 0; }

/* Page hero (inner pages) */
.rac-phero { background: var(--glass); padding-block: clamp(40px, 6vw, 84px) clamp(36px, 5vw, 64px); }
.rac-crumbs { font-size: 0.95rem; margin: 0 0 18px; color: var(--ink-2); }
.rac-crumbs a { color: var(--ink-2) !important; }

/* FAQ */
.rac-faq { border-top: 2px solid var(--ink); }
.rac-faq__item { border-bottom: 1px solid var(--rule); }
.rac-faq__item summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.15rem; font-stretch: 108%; font-variation-settings: "wdth" 108; }
.rac-faq__item summary::-webkit-details-marker { display: none; }
.rac-faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.rac-faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.rac-faq__a { padding: 0 0 22px; color: var(--ink-2); max-width: 44em; }
.rac-faq__a p { margin: 0; }

/* Guides list */
.rac-guides { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rac-guides li { border-bottom: 1px solid var(--rule); }
.rac-guides a { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px; padding: 22px 0; text-decoration: none; color: var(--ink) !important; }
.rac-guides__t { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; font-stretch: 110%; font-variation-settings: "wdth" 110; }
.rac-guides__d { color: var(--ink-2); font-size: 1.02rem; }
.rac-guides a:hover .rac-guides__t { color: var(--sea); text-decoration: underline; }
@media (max-width: 700px) { .rac-guides a { grid-template-columns: 1fr; gap: 6px; } }

/* Final CTA */
.rac-final { display: grid; grid-template-columns: minmax(0, 1.1fr) auto; gap: 28px; align-items: end; }
@media (max-width: 760px) { .rac-final { grid-template-columns: 1fr; } }

/* Disclosure */
.rac-disclose { font-size: 0.92rem; color: var(--ink-3); max-width: 52em; margin: 0; }

/* ---------------- Chip checker / lead form ---------------- */
.rac-quote, .rac-panel { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-l); padding: clamp(20px, 3.5vw, 40px); box-shadow: 0 1px 0 var(--rule), 0 24px 48px -32px rgba(15, 42, 61, .35); }
.rac-q__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.rac-q__progress { display: flex; gap: 6px; }
.rac-q__progress i { width: 26px; height: 5px; border-radius: 3px; background: var(--glass-2); display: block; }
.rac-q__progress i.on { background: var(--ink); }
.rac-q__count { font-size: 0.95rem; color: var(--ink-3); }
.rac-q__title { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.1; margin: 0 0 6px; font-stretch: 112%; font-variation-settings: "wdth" 112; }
.rac-q__help { color: var(--ink-2); margin: 0 0 20px; font-size: 1.02rem; }
.rac-q__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.rac-opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; background: var(--paper); border: 2px solid var(--rule); border-radius: var(--r-m); padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); min-height: 64px; transition: border-color .15s ease, background-color .15s ease; }
.rac-opt:hover { border-color: var(--ink-3); }
.rac-opt[aria-pressed="true"] { border-color: var(--ink); background: var(--glass); }
.rac-opt b { font-weight: 700; font-size: 1.02rem; line-height: 1.25; }
.rac-opt small { color: var(--ink-2); font-size: 0.9rem; line-height: 1.35; }
.rac-opt svg { height: 44px; width: auto; }
.rac-q__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.rac-q__back { background: none; border: 0; font: inherit; font-weight: 700; color: var(--ink-2); cursor: pointer; padding: 10px 4px; text-decoration: underline; text-underline-offset: .2em; }
.rac-q__back[hidden] { display: none; }

/* Windshield zone picker */
.rac-zones { width: 100%; max-width: 560px; height: auto; display: block; margin: 0 auto; }
.rac-zones .z { fill: #F4FAFC; stroke: var(--ink); stroke-width: 2; cursor: pointer; transition: fill .15s ease; }
.rac-zones .z:hover { fill: var(--glass); }
.rac-zones .z[aria-pressed="true"] { fill: var(--resin); }
.rac-zones .z:focus-visible { outline: none; stroke: var(--resin); stroke-width: 5; }
.rac-zones .zl { font-family: var(--body); font-size: 15px; font-weight: 700; fill: var(--ink); pointer-events: none; }
.rac-zones .frame { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linejoin: round; pointer-events: none; }
.rac-zone-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (max-width: 560px) { .rac-zone-list { grid-template-columns: 1fr; } }

/* Verdict */
.rac-verdict { border-radius: var(--r-m); padding: 18px 20px; margin-bottom: 22px; display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.rac-verdict svg { width: 34px; height: 34px; }
.rac-verdict h4 { margin: 0 0 4px; font-size: 1.2rem; }
.rac-verdict p { margin: 0; font-size: 1rem; color: var(--ink-2); }
.rac-verdict--good { background: #E3F2EE; }
.rac-verdict--good svg { color: var(--sea); }
.rac-verdict--maybe { background: #FDF0DB; }
.rac-verdict--maybe svg { color: var(--resin-2); }
.rac-verdict--replace { background: #F8E4DF; }
.rac-verdict--replace svg { color: var(--danger); }

/* Fields */
.rac-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.rac-field { display: flex; flex-direction: column; gap: 6px; }
.rac-field--full { grid-column: 1 / -1; }
.rac-field label, .rac-field .rac-lab { font-weight: 700; font-size: 0.98rem; }
.rac-field label small { font-weight: 400; color: var(--ink-3); }
.rac-field input, .rac-field select, .rac-field textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--paper); border: 2px solid var(--rule); border-radius: 10px; padding: 12px 14px; min-height: 52px; width: 100%; box-sizing: border-box; }
.rac-field textarea { min-height: 96px; resize: vertical; }
.rac-field input:focus, .rac-field select:focus, .rac-field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.rac-field [aria-invalid="true"] { border-color: var(--danger); }
.rac-photo { display: flex; align-items: center; gap: 14px; border: 2px dashed var(--glass-2); background: var(--paper); border-radius: var(--r-m); padding: 14px 16px; cursor: pointer; }
.rac-photo:hover { border-color: var(--ink-3); }
.rac-photo input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rac-photo__ico { width: 46px; height: 46px; border-radius: 10px; background: var(--glass); display: grid; place-items: center; flex: none; overflow: hidden; }
.rac-photo__ico img { width: 100%; height: 100%; object-fit: cover; }
.rac-photo__ico svg { width: 24px; height: 24px; }
.rac-photo__txt b { display: block; }
.rac-photo__txt small { color: var(--ink-2); font-size: 0.92rem; }
.rac-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 0.95rem; color: var(--ink-2); }
.rac-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.rac-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rac-err { color: var(--danger); font-weight: 700; margin: 14px 0 0; }
.rac-done { text-align: left; }
.rac-done svg { width: 54px; height: 54px; color: var(--sea); margin-bottom: 8px; }
@media (max-width: 600px) { .rac-fields { grid-template-columns: 1fr; } }

/* Coin size icons */
.rac-coin { fill: #E8E1D2; stroke: var(--ink-2); stroke-width: 1.5; }
.rac-chipdot { fill: var(--ink); }

/* Shop page */
.rac-ledger { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.rac-ledger th, .rac-ledger td { text-align: left; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.rac-ledger th { font-family: var(--display); font-weight: 700; font-stretch: 108%; font-variation-settings: "wdth" 108; width: 34%; }
.rac-sec--ink .rac-ledger th, .rac-sec--ink .rac-ledger td { border-color: #2C4A5E; }

/* Footer */
.rac-foot { background: var(--ink); color: #BFD3DA; padding-block: 64px 120px; }
.rac-foot a { color: #E6EFF2 !important; text-decoration: none; }
.rac-foot a:hover { color: var(--resin) !important; text-decoration: underline; }
.rac-foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr)); gap: 36px; }
.rac-foot .rac-logo { color: var(--white) !important; }
.rac-foot__phone { font-family: var(--display); font-weight: 800; font-size: 1.6rem; font-stretch: 118%; font-variation-settings: "wdth" 118; color: var(--white) !important; display: inline-block; margin: 18px 0 6px; }
.rac-foot h3 { color: var(--white); font-size: 1rem; margin: 0 0 12px; font-stretch: 108%; font-variation-settings: "wdth" 108; }
.rac-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1rem; }
.rac-foot__legal { border-top: 1px solid #2C4A5E; margin-top: 44px; padding-top: 22px; font-size: 0.92rem; color: #8FA9B3; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 860px) { .rac-foot__grid { grid-template-columns: 1fr 1fr; } .rac-foot__brand { grid-column: 1 / -1; } }
@media (min-width: 783px) { .rac-foot { padding-bottom: 64px; } }

/* Mobile dock */
.rac-dock { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: none; gap: 8px; padding: 8px; background: var(--ink); border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(15, 42, 61, .6); }
.rac-dock a { flex: 1; display: grid; place-items: center; min-height: 50px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; text-decoration: none !important; font-stretch: 110%; font-variation-settings: "wdth" 110; }
.rac-dock__call { background: var(--resin); color: var(--ink) !important; }
.rac-dock__text { color: var(--white) !important; }
@media (max-width: 782px) { .rac-dock { display: flex; } }

/* Posts (guides) */
body.rac.single-post main .wp-block-post-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.02; }
body.rac.single-post .wp-block-post-content { font-size: 1.15rem; }
body.rac.single-post .wp-block-post-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
body.rac.single-post main { padding-top: clamp(32px, 5vw, 72px) !important; }

/* Hide theme header/footer bits we replace */
body.rac .rac-hide-theme { display: none; }

@media print { .rac-dock, .rac-head { display: none; } }
