/*
Theme Name: Interceptyr
Theme URI: https://interceptyr.com
Author: Interceptyr
Description: Dark, warm marketing theme for Interceptyr. Ported from the Claude Design prototypes.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interceptyr
*/

:root {
  --ix-ink: #14110F;
  --ix-surface: #1B1715;
  --ix-surface-2: #221D1A;
  --ix-cream: #F5F1EC;
  --ix-accent: #C25E4A;
  --ix-accent-hi: #E08163;
  --ix-accent-ink: #1A0E0A;
  --ix-text-1: #CFC5BC;
  --ix-text-2: #B9AEA4;
  --ix-text-3: #A79B92;
  --ix-text-4: #8C8078;
  --ix-text-5: #6E645C;
  --ix-dot: #3A322D;
  --ix-rule: rgba(245, 241, 236, 0.09);
  --ix-rule-soft: rgba(245, 241, 236, 0.07);
  --ix-border: rgba(245, 241, 236, 0.1);
  --ix-display: Archivo, sans-serif;
  --ix-body: "Instrument Sans", system-ui, sans-serif;
  --ix-shell: 1200px;
  --ix-shell-narrow: 760px;
  --ix-gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ix-ink);
  color: var(--ix-cream);
  font-family: var(--ix-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ix-accent); text-decoration: none; }
a:hover { color: var(--ix-accent-hi); }
img { display: block; max-width: 100%; }
::selection { background: var(--ix-accent); color: var(--ix-ink); }
:focus-visible { outline: 2px solid var(--ix-accent-hi); outline-offset: 3px; border-radius: 2px; }
input, textarea, select { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--ix-text-5); }
select option { background: var(--ix-ink); color: var(--ix-cream); }

.ix-site { min-height: 100vh; }

.ix-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ix-cream);
  color: var(--ix-ink);
  padding: 10px 16px;
  border-radius: 0 0 6px 0;
  font-weight: 600;
  z-index: 100;
}
.ix-skip-link:focus { left: 0; color: var(--ix-ink); }

.ix-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */

.ix-wrap {
  max-width: var(--ix-shell);
  margin: 0 auto;
  padding-left: var(--ix-gutter);
  padding-right: var(--ix-gutter);
}
.ix-wrap--narrow { max-width: var(--ix-shell-narrow); }

.ix-band {
  background: var(--ix-surface);
  border-top: 1px solid var(--ix-rule-soft);
  border-bottom: 1px solid var(--ix-rule-soft);
}

.ix-pt-0 { padding-top: 0; }
.ix-pt-72 { padding-top: 72px; }
.ix-pt-80 { padding-top: 80px; }
.ix-pt-88 { padding-top: 88px; }
.ix-pt-96 { padding-top: 96px; }
.ix-pt-104 { padding-top: 104px; }
.ix-pb-40 { padding-bottom: 40px; }
.ix-pb-56 { padding-bottom: 56px; }
.ix-pb-64 { padding-bottom: 64px; }
.ix-pb-88 { padding-bottom: 88px; }
.ix-pb-96 { padding-bottom: 96px; }
.ix-pb-104 { padding-bottom: 104px; }

/* ---------- Typography ---------- */

.ix-eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ix-accent);
  font-weight: 600;
}

.ix-eyebrow--block { display: block; }

.ix-label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ix-text-4);
  font-weight: 600;
}

.ix-h1,
.ix-h2,
.ix-h3 {
  font-family: var(--ix-display);
  margin: 0;
  text-wrap: balance;
}

.ix-h1 {
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.ix-h1--hero { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.03; }
.ix-h1--compact { font-size: clamp(34px, 4.3vw, 52px); line-height: 1.06; }
.ix-h1--support { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -0.03em; }
.ix-h1--article { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }
.ix-h1--legal { font-size: clamp(30px, 3.8vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }

.ix-h2 {
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.ix-h2--sm { font-size: clamp(26px, 3vw, 34px); }
.ix-h2--md { font-size: clamp(28px, 3.4vw, 40px); }
.ix-h2--service { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.025em; }

.ix-h3 { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.ix-h3--lg { font-size: 21px; }
.ix-h3--card { font-size: 20px; }
.ix-h3--plan { font-weight: 700; font-size: 22px; }

.ix-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ix-text-2);
  margin: 0;
  text-wrap: pretty;
}
.ix-lead--18 { font-size: 18px; }
.ix-lead--17 { font-size: 17px; }
.ix-lead--article { font-size: 18px; line-height: 1.65; }
.ix-lead--body { font-size: 18.5px; line-height: 1.65; color: var(--ix-text-1); }

.ix-measure-14 { max-width: 14em; }
.ix-measure-16 { max-width: 16em; }
.ix-measure-20 { max-width: 20em; }
.ix-measure-24 { max-width: 24em; }
.ix-measure-26 { max-width: 26em; }
.ix-measure-30 { max-width: 30em; }
.ix-measure-34 { max-width: 34em; }
.ix-measure-33 { max-width: 33em; }
.ix-measure-36 { max-width: 36em; }
.ix-measure-38 { max-width: 38em; }
.ix-measure-44 { max-width: 44em; }

/* ---------- Buttons ---------- */

.ix-btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.ix-btn--accent { background: var(--ix-accent); color: var(--ix-ink); }
.ix-btn--accent:hover { background: var(--ix-accent-hi); color: var(--ix-ink); }

.ix-btn--outline { border-color: rgba(245, 241, 236, 0.2); color: var(--ix-cream); font-weight: 500; }
.ix-btn--outline:hover { border-color: var(--ix-accent); color: var(--ix-cream); }

.ix-btn--dark { background: var(--ix-ink); color: var(--ix-cream); }
.ix-btn--dark:hover { background: #2A2320; color: var(--ix-cream); }

.ix-btn--on-accent { border-color: rgba(26, 14, 10, 0.4); color: var(--ix-accent-ink); }
.ix-btn--on-accent:hover { border-color: var(--ix-accent-ink); color: var(--ix-accent-ink); }

.ix-btn--sm { font-size: 15px; padding: 11px 20px; border-radius: 6px; }
.ix-btn--block { display: block; width: 100%; text-align: center; padding: 14px 20px; white-space: normal; }

.ix-btn--block.ix-btn--outline {
  border-color: rgba(245, 241, 236, 0.22);
  font-weight: 600;
}

.ix-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.ix-actions--hero { gap: 14px; }

/* ---------- Header ---------- */

.ix-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 17, 15, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ix-rule);
}

.ix-header__inner {
  max-width: var(--ix-shell);
  margin: 0 auto;
  padding: 12px var(--ix-gutter);
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.ix-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ix-cream);
  text-decoration: none;
}
.ix-brand:hover { color: var(--ix-cream); }
.ix-brand svg { display: block; flex: none; }
.ix-brand__name {
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.ix-nav {
  display: flex;
  align-items: center;
  gap: 12px 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.ix-nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ix-nav__links a { color: var(--ix-text-3); text-decoration: none; }
.ix-nav__links a:hover { color: var(--ix-cream); }
.ix-nav__links .current-menu-item > a,
.ix-nav__links .current_page_item > a,
.ix-nav__links .is-current > a,
.ix-nav__links a.is-current { color: var(--ix-cream); font-weight: 500; }

/* ---------- Offer banner ---------- */

.ix-offer-banner {
  background: var(--ix-accent);
  color: var(--ix-accent-ink);
  text-align: center;
  padding: 12px var(--ix-gutter);
  font-size: 14.5px;
  font-weight: 600;
}

/* ---------- Hero ---------- */

.ix-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 56px;
  align-items: center;
}

.ix-hero__title { margin: 0 0 24px; }
.ix-hero__lead { margin: 0 0 36px; }
.ix-hero__actions { margin-bottom: 40px; }

.ix-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--ix-rule);
}
.ix-stat__value {
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--ix-accent);
  line-height: 1;
}
.ix-stat__label { font-size: 15px; color: var(--ix-text-3); }

.ix-collage { position: relative; height: clamp(360px, 36vw, 500px); }

.ix-frame {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 236, 0.12);
  transition: transform 260ms ease;
}
.ix-frame:hover { transform: rotate(0deg) translateY(-6px); }

.ix-frame--1 { top: 0; right: 0; width: 88%; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); transform: rotate(-1.4deg); }
.ix-frame--2 { bottom: 44px; left: 0; width: 62%; box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6); transform: rotate(2deg); }
.ix-frame--3 { bottom: 0; right: 6%; width: 46%; box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6); transform: rotate(-2.4deg); }

.ix-frame__bar {
  background: var(--ix-surface-2);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(245, 241, 236, 0.08);
}
.ix-frame--1 .ix-frame__bar { height: 26px; gap: 6px; padding: 0 11px; }
.ix-frame--2 .ix-frame__bar { height: 22px; gap: 5px; padding: 0 9px; }
.ix-frame--3 .ix-frame__bar { height: 20px; gap: 5px; padding: 0 8px; }

.ix-frame__dot { border-radius: 50%; background: var(--ix-dot); display: block; }
.ix-frame--1 .ix-frame__dot { width: 8px; height: 8px; }
.ix-frame--2 .ix-frame__dot { width: 7px; height: 7px; }
.ix-frame--3 .ix-frame__dot { width: 6px; height: 6px; }

.ix-frame img { width: 100%; display: block; }

/* ---------- Section headings ---------- */

.ix-section-head { max-width: 44em; margin-bottom: 52px; }
.ix-section-head .ix-eyebrow { display: block; margin-bottom: 14px; }
.ix-section-head .ix-h2 { margin-bottom: 18px; }

.ix-page-head .ix-eyebrow { display: block; margin-bottom: 16px; }
.ix-page-head .ix-h1 { margin-bottom: 22px; }

.ix-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
}
.ix-head-row .ix-eyebrow { display: block; margin-bottom: 14px; }

.ix-inline-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ix-accent);
  text-decoration: none;
  white-space: nowrap;
}
.ix-inline-link:hover { color: var(--ix-accent-hi); }

/* ---------- Checklists ---------- */

.ix-checks { display: flex; flex-direction: column; gap: 12px; }
.ix-check { display: flex; gap: 11px; align-items: flex-start; }
.ix-check__mark { color: var(--ix-accent); font-size: 15px; line-height: 1.5; flex: none; }
.ix-check__text { font-size: 15px; line-height: 1.5; color: var(--ix-text-1); }

/* ---------- Plan cards ---------- */

.ix-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 22px;
  align-items: start;
}

.ix-plan {
  background: var(--ix-surface);
  border: 1px solid var(--ix-border);
  border-radius: 14px;
  padding: 34px 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  position: relative;
}
.ix-plan--featured {
  border-color: var(--ix-accent);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* On the dark band the cards invert to the page base colour. */
.ix-band .ix-plan { background: var(--ix-ink); }

.ix-plan__badge {
  position: absolute;
  top: -11px;
  left: 30px;
  background: var(--ix-cream);
  color: var(--ix-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 4px;
}
.ix-plan__badge--accent { background: var(--ix-accent); color: var(--ix-ink); }

.ix-plan__name { margin: 0 0 8px; }
.ix-plan__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ix-text-3);
  margin: 0;
  text-wrap: pretty;
}

.ix-plan__prices {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--ix-rule);
  border-bottom: 1px solid var(--ix-rule);
}
.ix-plan__prices--single { display: block; }
.ix-plan__price-col { flex: 1; }
.ix-plan__price-divider { width: 1px; background: var(--ix-rule); }

.ix-price {
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ix-price--offer { color: var(--ix-accent); }
.ix-price__suffix { font-size: 16px; font-weight: 500; color: var(--ix-text-3); }
.ix-price__note { font-size: 13px; color: var(--ix-text-4); margin-top: 5px; }

.ix-price-row { display: flex; align-items: baseline; gap: 8px; }
.ix-price-was {
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--ix-text-5);
  text-decoration: line-through;
}

.ix-plan__features { display: flex; flex-direction: column; gap: 12px; flex: 1; }

.ix-plan__turnaround {
  font-size: 14px;
  color: var(--ix-text-4);
  border-left: 2px solid rgba(194, 94, 74, 0.5);
  padding-left: 12px;
}

/* ---------- Add-ons ---------- */

.ix-addons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
}
.ix-addon { display: flex; flex-direction: column; gap: 7px; }
.ix-addon__name { font-weight: 600; font-size: 16px; }
.ix-addon__desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ix-text-3);
  margin: 0;
  text-wrap: pretty;
}

.ix-addons-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 30px;
}
.ix-addons-head__note { font-size: 16px; color: var(--ix-text-4); }

.ix-addons-block {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--ix-rule);
}
.ix-addons-block .ix-addons-head { margin-bottom: 26px; }
.ix-addons-block .ix-addons-head__note { font-size: 15px; }

/* ---------- Billing explainer ---------- */

.ix-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 32px;
}
.ix-column { display: flex; flex-direction: column; gap: 10px; }
.ix-column .ix-h3 { font-family: var(--ix-display); letter-spacing: -0.02em; font-size: 18px; }
.ix-column p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ix-text-3);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- CTA band ---------- */

.ix-cta {
  background: var(--ix-accent);
  border-radius: 16px;
  padding: clamp(40px, 6vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.ix-cta__body { max-width: 24em; }
.ix-cta__title { color: var(--ix-accent-ink); margin: 0 0 16px; }
.ix-cta__text {
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  color: rgba(26, 14, 10, 0.78);
  text-wrap: pretty;
}

/* ---------- Work cards ---------- */

.ix-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.ix-work-card {
  text-decoration: none;
  color: inherit;
  background: var(--ix-surface-2);
  border: 1px solid var(--ix-rule);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease;
}
a.ix-work-card:hover { border-color: rgba(194, 94, 74, 0.55); color: inherit; }

.ix-work-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ix-ink);
  border-bottom: 1px solid rgba(245, 241, 236, 0.08);
}
.ix-work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ix-work-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ix-work-card__body p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ix-text-3);
  margin: 0;
  text-wrap: pretty;
}
.ix-work-card__cue {
  font-size: 14px;
  font-weight: 500;
  color: var(--ix-accent);
  margin-top: 2px;
}

/* ---------- Audience cards ---------- */

.ix-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}
.ix-tile {
  background: var(--ix-ink);
  border: 1px solid var(--ix-rule);
  border-radius: 12px;
  padding: 30px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ix-tile p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ix-text-3);
  margin: 0;
  text-wrap: pretty;
}

.ix-tiles--wide {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}

/* Value cards on the About page sit on the base colour, so they invert. */
.ix-tile--surface { background: var(--ix-surface); gap: 12px; }
.ix-tile--surface p { font-size: 15.5px; }

/* ---------- Service articles ---------- */

.ix-services { display: flex; flex-direction: column; gap: 20px; }

.ix-service {
  background: var(--ix-surface);
  border: 1px solid var(--ix-rule);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 36px;
  align-items: start;
}
.ix-service__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.ix-service__num {
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ix-accent);
  border: 1px solid rgba(194, 94, 74, 0.45);
  border-radius: 5px;
  padding: 3px 9px;
  flex: none;
}
.ix-service p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ix-text-2);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Integration cards ---------- */

.ix-mini-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}
.ix-mini-card {
  background: var(--ix-ink);
  border: 1px solid var(--ix-rule);
  border-radius: 12px;
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.ix-mini-card .ix-h3 { font-size: 18px; }
.ix-mini-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ix-text-3);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- About ---------- */

.ix-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 56px;
  align-items: start;
}

.ix-portrait {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ix-border);
}
.ix-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ix-portrait--empty {
  aspect-ratio: 4 / 5;
  background: var(--ix-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--ix-text-4);
}

.ix-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--ix-rule);
}
.ix-byline__name { font-family: var(--ix-display); font-weight: 600; font-size: 16px; }
.ix-byline__dot { width: 4px; height: 4px; border-radius: 50%; background: #5A5049; display: block; }
.ix-byline__role { font-size: 15px; color: var(--ix-text-3); }

/* ---------- Contact ---------- */

.ix-contact-details { display: flex; flex-direction: column; gap: 28px; }
.ix-contact-detail { display: flex; flex-direction: column; gap: 6px; }
.ix-contact-detail p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ix-text-1);
  margin: 0;
}
.ix-contact-detail__email {
  font-family: var(--ix-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ix-accent);
  text-decoration: none;
}
.ix-contact-detail__email:hover { color: var(--ix-accent-hi); }

.ix-form {
  background: var(--ix-surface);
  border: 1px solid var(--ix-border);
  border-radius: 14px;
  padding: clamp(26px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.ix-field { display: flex; flex-direction: column; gap: 8px; }
.ix-field-row { display: flex; flex-wrap: wrap; gap: 22px; }
.ix-field-row .ix-field { flex: 1 1 220px; }

.ix-field label { font-size: 14.5px; font-weight: 500; color: var(--ix-text-1); }
.ix-field label span { color: var(--ix-text-4); font-weight: 400; }

.ix-input {
  background: var(--ix-ink);
  border: 1px solid rgba(245, 241, 236, 0.14);
  border-radius: 7px;
  padding: 13px 14px;
  font-size: 16px;
  color: var(--ix-cream);
  width: 100%;
}
.ix-input:focus { border-color: var(--ix-accent); outline: none; }
textarea.ix-input { line-height: 1.55; resize: vertical; }

.ix-form__submit { width: 100%; padding: 15px 22px; }
.ix-form__submit[disabled] { opacity: 0.65; cursor: default; }

.ix-form__note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ix-text-4);
  margin: 0;
}
.ix-form__success { font-size: 14px; line-height: 1.55; color: #8FBF8A; margin: 0; }
.ix-form__error { font-size: 14px; line-height: 1.55; color: var(--ix-accent-hi); margin: 0; }
.ix-form__honeypot { position: absolute; left: -9999px; }

/* ---------- Support ---------- */

.ix-support-banner {
  background: var(--ix-accent);
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ix-support-banner p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ix-accent-ink);
  max-width: 34em;
}
.ix-support-banner .ix-btn { font-size: 15px; padding: 13px 22px; }

.ix-guide-card {
  text-decoration: none;
  color: inherit;
  background: var(--ix-surface);
  border: 1px solid var(--ix-rule);
  border-radius: 12px;
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms ease;
}
.ix-guide-card:hover { border-color: rgba(194, 94, 74, 0.55); color: inherit; }
.ix-guide-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ix-text-3);
  margin: 0;
  flex: 1;
  text-wrap: pretty;
}
.ix-guide-card__cue { font-size: 14px; font-weight: 500; color: var(--ix-accent); }

.ix-back-link {
  font-size: 14px;
  color: var(--ix-text-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
}
.ix-back-link:hover { color: var(--ix-cream); }

.ix-guide-foot {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--ix-rule);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.ix-guide-foot__prompt { font-size: 15px; color: var(--ix-text-4); }
.ix-guide-foot a { color: var(--ix-accent); font-weight: 500; font-size: 15px; }

/* ---------- Long-form article body ---------- */
/* Styles anything written in the block editor so new guides match the design. */

.ix-article { color: var(--ix-text-1); }

.ix-article > *:first-child { margin-top: 0; }

.ix-article h2 {
  font-family: var(--ix-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ix-cream);
  margin: 36px 0 12px;
}
.ix-article h3 {
  font-family: var(--ix-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--ix-cream);
  margin: 32px 0 10px;
}
.ix-article p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ix-text-1);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.ix-article strong { color: var(--ix-cream); font-weight: 600; }

.ix-article ul,
.ix-article ol { margin: 0 0 16px; padding: 0; list-style: none; }

.ix-article li {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ix-text-1);
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.ix-article ul > li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--ix-accent);
  font-size: 15px;
  line-height: 1.6;
}
.ix-article ol { counter-reset: ix-step; }
.ix-article ol > li { counter-increment: ix-step; padding-left: 32px; }
.ix-article ol > li::before {
  content: counter(ix-step);
  position: absolute;
  left: 0;
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ix-accent);
}

.ix-article ol.ix-steps > li {
  padding-left: 52px;
  margin-bottom: 28px;
}
.ix-article ol.ix-steps > li::before { font-size: 20px; }
.ix-article ol.ix-steps > li > strong {
  display: block;
  font-family: var(--ix-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 8px;
}

.ix-article table {
  width: 100%;
  background: var(--ix-surface);
  border: 1px solid var(--ix-rule);
  border-radius: 10px;
  border-collapse: collapse;
  overflow: hidden;
  margin: 0 0 16px;
}
.ix-article tr + tr { border-top: 1px solid rgba(245, 241, 236, 0.08); }
.ix-article th,
.ix-article td {
  text-align: left;
  padding: 12px 16px;
  font-size: 15.5px;
  line-height: 1.6;
}
.ix-article th { color: var(--ix-text-4); font-weight: 600; white-space: nowrap; }
.ix-article td { color: var(--ix-cream); }

.ix-article-wrap { max-width: var(--ix-shell-narrow); margin: 0 auto; }

/* ---------- Legal ---------- */

.ix-legal-section + .ix-legal-section {
  padding-top: 56px;
  border-top: 1px solid var(--ix-rule);
}
.ix-legal-section { margin-bottom: 80px; }
.ix-legal-section:last-child { margin-bottom: 0; }
.ix-legal__updated { font-size: 14.5px; color: var(--ix-text-4); margin: 0 0 36px; }
.ix-legal h1 {
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.ix-legal h2 {
  font-family: var(--ix-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 36px 0 12px;
}
.ix-legal p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ix-text-2);
  margin: 0 0 16px;
  text-wrap: pretty;
}

/* ---------- Footer ---------- */

.ix-footer {
  background: var(--ix-surface);
  border-top: 1px solid var(--ix-rule-soft);
}
.ix-footer__grid {
  max-width: var(--ix-shell);
  margin: 0 auto;
  padding: 64px var(--ix-gutter) 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 48px;
}
.ix-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ix-footer__brand svg { display: block; flex: none; }
.ix-footer__brand-name {
  font-family: var(--ix-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ix-cream);
}
.ix-footer__blurb {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ix-text-3);
  margin: 0;
  max-width: 30em;
  text-wrap: pretty;
}
.ix-footer__col { display: flex; flex-direction: column; gap: 11px; }
.ix-footer__col .ix-label { margin-bottom: 4px; }
.ix-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ix-footer__col a { font-size: 15px; color: var(--ix-text-3); text-decoration: none; }
.ix-footer__col a:hover { color: var(--ix-cream); }
.ix-footer__col p { font-size: 15px; line-height: 1.6; color: var(--ix-text-3); margin: 0; }

.ix-footer__base { max-width: var(--ix-shell); margin: 0 auto; padding: 0 var(--ix-gutter) 44px; }
.ix-footer__base-inner {
  border-top: 1px solid rgba(245, 241, 236, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
.ix-footer__copy { font-size: 14px; color: var(--ix-text-4); }
.ix-footer__legal { display: flex; gap: 22px; }
.ix-footer__legal a { font-size: 14px; color: var(--ix-text-4); text-decoration: none; }
.ix-footer__legal a:hover { color: var(--ix-cream); }

/* ---------- Spacing utilities ---------- */
/* Last in the file so they win against the component margins they override. */

.ix-mb-14 { margin-bottom: 14px; }
.ix-mb-16 { margin-bottom: 16px; }
.ix-mb-18 { margin-bottom: 18px; }
.ix-mb-20 { margin-bottom: 20px; }
.ix-mb-22 { margin-bottom: 22px; }
.ix-mb-24 { margin-bottom: 24px; }
.ix-mb-28 { margin-bottom: 28px; }
.ix-mb-30 { margin-bottom: 30px; }
.ix-mb-32 { margin-bottom: 32px; }
.ix-mb-36 { margin-bottom: 36px; }
.ix-mb-40 { margin-bottom: 40px; }
.ix-mb-44 { margin-bottom: 44px; }
.ix-mb-48 { margin-bottom: 48px; }

/* ---------- Reveal on scroll ---------- */

.ix-reveal-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(.16, .84, .44, 1), transform 620ms cubic-bezier(.16, .84, .44, 1);
}
.ix-reveal-ready.ix-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .ix-reveal-ready { opacity: 1; transform: none; }
}
