/* ==========================================================================
   Offside Worldwide , content page design system
   Used by: About, Contact, Returns, Shipping, Terms, Privacy, Disclaimer
   Loaded only on those pages (see functions.php).
   Palette is deliberately committed to the store's black/white identity.
   ========================================================================== */

.oww {
	--ink:    #0B0B0B;
	--paper:  #FFFFFF;
	--panel:  #F5F5F2;
	--line:   #E4E4DF;
	--muted:  #6B6B65;
	--accent: #7A1F3D; /* claret , football, not decoration */
	--yes:    #1B7A46;
	--no:     #B3261E;

	--sp: clamp(28px, 5vw, 56px);
	--radius: 0px;

	max-width: 1120px;
	margin: 0 auto;
	color: var(--ink);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.62;
	overflow-wrap: break-word;
}

.oww * { box-sizing: border-box; }
.oww img { max-width: 100%; height: auto; }

/* ---------------------------------------------------------------- type --- */
.oww .ow-eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 14px;
}
.oww .ow-hero .ow-eyebrow { color: #fff; opacity: 0.7; }

/* XStore colours and capitalises headings globally. Take back control of
   every heading inside these pages, or hero type renders black on black. */
.oww h1, .oww h2, .oww h3, .oww h4,
.oww .ow-h1, .oww .ow-h2, .oww .ow-h3 {
	color: var(--ink);
	text-transform: none;
}
.oww .ow-hero h1, .oww .ow-hero h2, .oww .ow-hero h3,
.oww .ow-hero .ow-h1, .oww .ow-hero .ow-h2, .oww .ow-hero .ow-h3,
.oww .ow-cta h2, .oww .ow-cta .ow-h2 {
	color: #fff;
}
.oww h1.ow-h1 { text-transform: uppercase; }

.oww h1.ow-h1 {
	font-size: clamp(34px, 6vw, 60px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.02;
	text-transform: uppercase;
	text-wrap: balance;
	margin: 0 0 18px;
}
.oww h2.ow-h2 {
	font-size: clamp(24px, 3.4vw, 34px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.12;
	text-wrap: balance;
	margin: 0 0 14px;
}
.oww h3.ow-h3 {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 8px;
}
.oww .ow-lead {
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.55;
	color: var(--muted);
	max-width: 68ch;
	margin: 0 0 8px;
}
.oww .ow-hero .ow-lead { color: rgba(255,255,255,0.82); }
.oww p { margin: 0 0 16px; }
.oww a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.oww a:hover { color: var(--accent); }
.oww .ow-hero a { color: #fff; }

/* --------------------------------------------------------------- blocks --- */
.oww .ow-hero {
	background: var(--ink);
	color: #fff;
	padding: clamp(36px, 6vw, 72px);
	margin: 0 0 var(--sp);
}
.oww .ow-hero .ow-meta {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,0.18);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: rgba(255,255,255,0.65);
}

.oww .ow-section { margin: 0 0 var(--sp); }
.oww .ow-section > .ow-h2 { margin-bottom: 6px; }
.oww .ow-section > .ow-lead { margin-bottom: 24px; }

.oww .ow-rule {
	height: 2px;
	background: var(--ink);
	margin: 0 0 22px;
	max-width: 56px;
}

/* ---------------------------------------------------------------- grids --- */
.oww .ow-grid { display: grid; gap: 18px; }
.oww .ow-grid-2 { grid-template-columns: repeat(2, 1fr); }
.oww .ow-grid-3 { grid-template-columns: repeat(3, 1fr); }
.oww .ow-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------- cards --- */
.oww .ow-card {
	border: 1px solid var(--line);
	background: var(--paper);
	padding: 24px;
}
.oww .ow-card.is-panel { background: var(--panel); border-color: transparent; }
.oww .ow-card p:last-child { margin-bottom: 0; }
.oww .ow-card .ow-ico {
	font-size: 22px;
	line-height: 1;
	display: block;
	margin-bottom: 12px;
}

/* card that is a link */
.oww a.ow-card {
	text-decoration: none;
	display: block;
	transition: border-color .18s ease, transform .18s ease;
}
.oww a.ow-card:hover { border-color: var(--ink); transform: translateY(-2px); color: inherit; }
.oww a.ow-card .ow-go { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.oww a.ow-card:hover .ow-go { color: var(--accent); }

/* ------------------------------------------------------- verdict panels --- */
.oww .ow-verdict { border: 1px solid var(--line); padding: 24px; background: var(--paper); }
.oww .ow-verdict.is-yes { border-top: 4px solid var(--yes); }
.oww .ow-verdict.is-no  { border-top: 4px solid var(--no); }
.oww .ow-verdict h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.oww .ow-verdict .ow-badge {
	width: 22px; height: 22px; flex: none; border-radius: 50%;
	display: grid; place-content: center; color: #fff; font-size: 13px; font-weight: 700;
}
.oww .ow-verdict.is-yes .ow-badge { background: var(--yes); }
.oww .ow-verdict.is-no  .ow-badge { background: var(--no); }
.oww .ow-verdict ul { list-style: none; margin: 0; padding: 0; }
.oww .ow-verdict li {
	position: relative;
	padding: 9px 0 9px 26px;
	border-bottom: 1px solid var(--line);
	font-size: 15.5px;
}
.oww .ow-verdict li:last-child { border-bottom: 0; }
.oww .ow-verdict li::before {
	position: absolute; left: 0; top: 9px; font-weight: 700;
}
.oww .ow-verdict.is-yes li::before { content: "✓"; color: var(--yes); }
.oww .ow-verdict.is-no  li::before { content: "✕"; color: var(--no); }

/* ---------------------------------------------------------------- stats --- */
.oww .ow-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}
.oww .ow-stat { background: var(--paper); padding: 22px; }
.oww .ow-stat .ow-n {
	display: block;
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.oww .ow-stat .ow-l {
	display: block;
	margin-top: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--muted);
}

/* ---------------------------------------------------------------- steps --- */
.oww .ow-steps { counter-reset: owstep; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.oww .ow-steps.is-3 { grid-template-columns: repeat(3, 1fr); }
.oww .ow-step { background: var(--paper); padding: 26px 24px; counter-increment: owstep; }
.oww .ow-step::before {
	content: counter(owstep, decimal-leading-zero);
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--accent);
	margin-bottom: 14px;
}
.oww .ow-step h3 { margin-bottom: 6px; }
.oww .ow-step p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* ------------------------------------------------------------ accordion --- */
.oww .ow-acc {
	border: 1px solid var(--line);
	border-bottom: 0;
	background: var(--paper);
}
.oww .ow-acc:last-of-type { border-bottom: 1px solid var(--line); }
.oww .ow-acc > summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 46px 18px 20px;
	font-weight: 600;
	font-size: 16.5px;
	position: relative;
	display: block;
}
.oww .ow-acc > summary::-webkit-details-marker { display: none; }
.oww .ow-acc > summary::after {
	content: "";
	position: absolute;
	right: 20px; top: 50%;
	width: 10px; height: 10px;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s ease;
}
.oww .ow-acc[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.oww .ow-acc > summary:hover { background: var(--panel); }
.oww .ow-acc > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.oww .ow-acc .ow-acc-body { padding: 0 20px 20px; color: var(--muted); font-size: 16px; }
.oww .ow-acc .ow-acc-body p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ toc --- */
.oww .ow-legal { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.oww .ow-toc { position: sticky; top: 100px; }
.oww .ow-toc .ow-toc-t {
	font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--muted); margin: 0 0 12px;
}
.oww .ow-toc a {
	display: block;
	padding: 7px 0 7px 14px;
	border-left: 2px solid var(--line);
	font-size: 14px;
	color: var(--muted);
	text-decoration: none;
	transition: color .15s ease, border-color .15s ease;
}
.oww .ow-toc a:hover { color: var(--ink); }
.oww .ow-toc a.is-active { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }

.oww .ow-clause { scroll-margin-top: 110px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.oww .ow-clause:last-child { border-bottom: 0; }
.oww .ow-clause h2 {
	font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 12px;
	display: flex; gap: 12px; align-items: baseline;
}
.oww .ow-clause h2 .ow-num {
	font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: 0.1em; flex: none;
}
.oww .ow-clause h3 { font-size: 16.5px; margin-top: 18px; }
.oww .ow-clause ul { padding-left: 20px; }
.oww .ow-clause li { margin-bottom: 7px; }

/* ----------------------------------------------------------------- note --- */
.oww .ow-note {
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	background: var(--panel);
	padding: 20px 22px;
	font-size: 16px;
}
.oww .ow-note p:last-child { margin-bottom: 0; }
.oww .ow-note strong { color: var(--ink); }

/* ---------------------------------------------------------------- table --- */
.oww .ow-tablewrap { overflow-x: auto; border: 1px solid var(--line); }
.oww table.ow-table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 460px; }
.oww table.ow-table th, .oww table.ow-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.oww table.ow-table thead th {
	background: var(--ink); color: #fff; font-size: 11px; font-weight: 700;
	letter-spacing: 0.12em; text-transform: uppercase;
}
.oww table.ow-table tbody tr:last-child td { border-bottom: 0; }
.oww table.ow-table tbody tr:hover { background: var(--panel); }
.oww table.ow-table .ow-price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ----------------------------------------------------------------- chip --- */
.oww .ow-chip {
	display: inline-block;
	padding: 5px 11px;
	border: 1px solid var(--line);
	background: var(--panel);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 6px 6px 0;
}
.oww .ow-chip.is-live { border-color: var(--yes); color: var(--yes); }

/* ------------------------------------------------------------------ cta --- */
.oww .ow-cta {
	background: var(--ink);
	color: #fff;
	padding: clamp(30px, 5vw, 52px);
	text-align: center;
}
.oww .ow-cta h2 { color: #fff; margin-bottom: 10px; }
.oww .ow-cta p { color: rgba(255,255,255,0.75); max-width: 56ch; margin-inline: auto; }
.oww .ow-btn {
	display: inline-block;
	margin-top: 18px;
	padding: 15px 34px;
	background: #fff;
	color: var(--ink);
	border: 1px solid #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
}
.oww .ow-btn:hover { background: transparent; color: #fff; }
.oww .ow-btn + .ow-btn { margin-left: 10px; background: transparent; color: #fff; }
.oww .ow-btn + .ow-btn:hover { background: #fff; color: var(--ink); }

/* --------------------------------------------------------------- reveal --- */
/* Deliberately no opacity-based scroll reveal on these pages. Commercial
   content must never depend on a scroll event to become visible , a missed
   observer, a fast jump to the footer or a script error would blank whole
   sections. The .ow-rv hooks stay in the markup for future use. */
.oww .ow-rv { opacity: 1; transform: none; }

/* ---------------------------------------------------------- contact form --- */
.oww .ow-form { border: 1px solid var(--line); padding: clamp(22px, 4vw, 34px); background: var(--panel); }
.oww .ow-form .wpcf7-form p { margin: 0 0 16px; }
.oww .ow-form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.oww .ow-form input[type="text"],
.oww .ow-form input[type="email"],
.oww .ow-form select,
.oww .ow-form textarea {
	width: 100%;
	margin-top: 7px;
	padding: 13px 14px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 0;
	font-family: inherit;
	font-size: 15.5px;
	color: var(--ink);
	transition: border-color .16s ease;
}
.oww .ow-form textarea { min-height: 150px; resize: vertical; }
.oww .ow-form input:focus, .oww .ow-form select:focus, .oww .ow-form textarea:focus {
	outline: none; border-color: var(--ink);
}
.oww .ow-form input[type="submit"] {
	width: 100%;
	padding: 16px 24px;
	background: var(--ink) !important;
	color: #fff !important;
	border: 1px solid var(--ink) !important;
	border-radius: 0 !important;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .18s ease, color .18s ease;
}
.oww .ow-form input[type="submit"]:hover { background: transparent !important; color: var(--ink) !important; }
.oww .ow-form .wpcf7-spinner { position: absolute; margin-left: 8px; }
.oww .ow-form .wpcf7-response-output { margin: 12px 0 0 !important; padding: 12px 14px !important; font-size: 14px; }
.oww .ow-form .wpcf7-not-valid-tip { font-size: 13px; color: var(--no); margin-top: 5px; }

/* ------------------------------------------------------------ responsive --- */
@media (max-width: 900px) {
	.oww .ow-legal { grid-template-columns: 1fr; gap: 24px; }
	.oww .ow-toc { position: static; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
	.oww .ow-toc .ow-toc-inner { display: flex; flex-wrap: wrap; gap: 4px; }
	.oww .ow-toc a { border-left: 0; border: 1px solid var(--line); padding: 6px 10px; font-size: 13px; }
	.oww .ow-toc a.is-active { border-color: var(--accent); }
	.oww .ow-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.oww .ow-steps.is-3 { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.oww { font-size: 16px; }
	.oww .ow-grid-2, .oww .ow-grid-3, .oww .ow-grid-4 { grid-template-columns: 1fr; }
	.oww .ow-btn + .ow-btn { margin-left: 0; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	.oww * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
