/* diarynex.com: one stylesheet, no frameworks.
   Brand: primary blue #1E5BB8 on white (6.5:1), navy #12263A. Font: Plus Jakarta Sans (OFL, self-hosted). */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }

:root {
  --blue: #1E5BB8;
  --blue-dark: #174A97;
  --blue-light: #6FA3F0;
  --navy: #12263A;
  --text: #1F2937;
  --muted: #4B5563;   /* 7.6:1 on white */
  --line: #D9E2EF;
  --tint: #F3F7FD;
  --white: #FFFFFF;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.3em; }
p { margin: 0 0 1em; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white); padding: 8px 14px; z-index: 10; }
.skip-link:focus { left: 8px; top: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.site-header nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.site-header nav a:not(.button) { color: var(--navy); text-decoration: none; font-weight: 600; }
.site-header nav a:not(.button):hover, .site-header nav a[aria-current="page"] { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.button {
  display: inline-block; padding: 14px 24px; border-radius: var(--radius);
  background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none;
  border: 2px solid var(--blue); min-height: 48px;
}
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.button-secondary { background: var(--white); color: var(--blue); }
.button-secondary:hover { background: var(--tint); color: var(--blue-dark); }
.button-inverse { background: var(--white); color: var(--navy); border-color: var(--white); }
.button-inverse:hover { background: var(--tint); color: var(--navy); border-color: var(--tint); }
.button-small { padding: 8px 16px; min-height: 40px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5em; }

/* Sections */
.hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--tint), var(--white)); }
.hero-compact { padding: 48px 0 32px; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 40em; }
.section { padding: 56px 0; }
.section-alt { background: var(--tint); }
.cta { background: var(--navy); color: var(--white); }
.cta h2 { color: var(--white); }

.features, .steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; }
.features li, .steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.features p, .steps p { margin: 0; color: var(--muted); }
.steps { counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step); position: absolute; top: 18px; left: 22px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 0.95rem;
}
@media (min-width: 720px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

/* Install cards */
.install-cards { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
.install-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.install-card h3 { margin-top: 0; }
.install-card ol { margin: 0; padding-left: 1.5rem; }
.install-card li { margin-bottom: 0.5rem; color: var(--muted); }
@media (min-width: 720px) {
  .install-cards { grid-template-columns: repeat(2, 1fr); }
}

/* Price tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.25em; }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
caption { text-align: left; color: var(--muted); font-size: 0.9375rem; padding-bottom: 8px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--navy); color: var(--white); font-weight: 700; }
tbody th { font-weight: 600; color: var(--navy); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td[data-price="introductory"] { color: var(--blue); font-weight: 700; }

.checklist { padding: 0; list-style: none; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 0.5em; }
.checklist li::before { content: ''; position: absolute; left: 4px; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }

.faq dt { font-weight: 700; color: var(--navy); margin-top: 1.25em; }
.faq dd { margin: 0.25em 0 0; color: var(--text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.9375rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.site-footer nav a { color: var(--navy); font-weight: 600; }
.trading-disclosure { font-size: 0.8125rem; /* 13px, above the 12px minimum */ color: var(--muted); margin-top: 16px; max-width: 60em; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
