:root {
  --ink: #22333d;
  --ink-soft: #33474f;
  --muted: #566871;
  --paper: #ffffff;
  --white: #ffffff;
  --line: rgba(34, 51, 61, 0.16);
  --blue: #8ec6fa;
  --blue-strong: #6fb4f6;
  --blue-tint: #e8f3fe;
  --error: #a02c22;
  --gutter: clamp(20px, 4vw, 56px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'MabryMedium', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2,
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.label {
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border: none;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--ink-soft);
}

.btn-accent {
  background: var(--blue);
  color: var(--ink);
}

.btn-accent:hover {
  background: var(--blue-strong);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--blue);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 92px;
  padding: 12px var(--gutter);
}

.header-logo {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  margin-right: auto;
  color: var(--ink);
  font-size: 23px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
}

.header-logo .logo-line1 {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.header-logo .logo-line1 > span:last-child {
  margin-right: -0.023em;
}

.header-logo .logo-line2 {
  display: block;
}

.header-nav {
  display: flex;
  gap: 26px;
}

.header-nav a {
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

.header-nav a:hover {
  border-bottom-color: currentColor;
}

.header-cta {
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: clamp(460px, 44vw, 700px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) var(--gutter);
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
}

.hero-sub {
  max-width: 28em;
  margin: 24px 0 32px;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
}

.hero-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.statement {
  padding: clamp(48px, 7vw, 104px) var(--gutter);
  background: var(--ink);
  color: var(--white);
}

.statement p {
  font-size: clamp(1.6rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.18;
}

.section {
  padding: clamp(56px, 7vw, 110px) var(--gutter);
}

.section-tint {
  background: var(--blue-tint);
}

.section-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.offer {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--blue-tint);
  border-top: 5px solid var(--blue);
}

.offer h3 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.1vw, 1.9rem);
}

.offer-claim {
  margin-bottom: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
}

.offer > p:not(.offer-claim) {
  color: var(--muted);
}

.offer-price {
  margin-top: 14px;
  color: var(--ink) !important;
  font-weight: 700;
}

.offer-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 26px;
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 4px;
}

.offer-link:hover {
  text-decoration-thickness: 2px;
}

.topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
}

.topics-intro {
  max-width: 30em;
  margin-top: 20px;
}

.topic-list {
  list-style: none;
  border-top: 1px solid var(--ink);
}

.topic-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.principle {
  padding: clamp(40px, 5vw, 80px) var(--gutter);
}

.principle h2 {
  margin-bottom: 22px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.principle-blue {
  background: var(--blue);
}

.principle-dark {
  background: var(--ink);
  color: var(--white);
}

.principle-answer {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}

.about-photo {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--blue-tint);
}

.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}

.about-copy {
  padding: clamp(48px, 6vw, 96px) var(--gutter);
}

.about-copy h2,
.about-copy h1 {
  margin-bottom: 26px;
}

.about-copy p:not(.label) {
  max-width: 36em;
}

.about-copy p + p {
  margin-top: 16px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 6vw, 96px);
}

.contact-intro {
  max-width: 28em;
  margin-top: 20px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.form-row-wide,
.form-hint-small,
.form-status {
  grid-column: 1 / -1;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(34, 51, 61, 0.45);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.form-row textarea {
  resize: vertical;
}

.form-row [aria-invalid="true"] {
  border-color: var(--error);
}

.form-status {
  font-weight: 600;
}

.form-status.is-error {
  color: var(--error);
}

.form-submit {
  justify-self: start;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 40px var(--gutter);
}

.footer-inner p {
  margin-top: 6px;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  color: var(--white);
  font-size: 14px;
  text-underline-offset: 3px;
}

.form-hint-small {
  color: var(--muted);
  font-size: 14px;
}

.form-hint-small a {
  color: inherit;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-head-row .offer-link {
  padding-top: 0;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--white);
  border-top: 5px solid var(--blue);
}

.page .post-card {
  background: var(--blue-tint);
}

.post-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
}

.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.post-card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.post-card > p:not(.post-date) {
  color: var(--muted);
}

.post-date {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.page {
  padding: clamp(48px, 6vw, 96px) var(--gutter) clamp(56px, 7vw, 110px);
}

.page-inner {
  max-width: 760px;
}

.page-wide .page-inner {
  max-width: none;
}

.page h1 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
}

.page .label a {
  color: inherit;
  text-underline-offset: 3px;
}

.page-intro {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 1.15rem;
}

.prose h2 {
  margin: 34px 0 10px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 1.15rem;
}

.prose p,
.prose ul {
  margin-bottom: 14px;
}

.prose ul {
  padding-left: 22px;
}

.prose li + li {
  margin-top: 4px;
}

.prose a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.article-back {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.article-back .offer-link {
  padding-top: 0;
}

.header-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    min-height: 0;
  }
  .header-nav {
    order: 3;
    width: 100%;
    gap: clamp(14px, 4vw, 26px);
    overflow-x: auto;
  }
  .offers,
  .post-grid {
    grid-template-columns: 1fr;
  }
  .offer-link {
    padding-top: 20px;
  }
  .topics,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero,
  .principles,
  .about {
    grid-template-columns: 1fr;
  }
  .hero-photo,
  .about-photo {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }
  .about-photo {
    order: 2;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .footer-inner,
  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-logo {
    font-size: 19px;
  }
  .header-cta {
    padding: 11px 14px;
    font-size: 14px;
  }
  .header-nav a {
    font-size: 14.5px;
  }
}

:root {
  --consent-surface: #ffffff;
  --consent-ink: var(--ink);
  --consent-muted: var(--muted);
  --consent-line: var(--line);
  --consent-accent: var(--ink);
  --consent-on-accent: #ffffff;
}

.footer-links .consent-open {
  color: var(--white);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 960px), (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 1000px) {
  .header-nav {
    scrollbar-width: none;
  }
  .header-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  main h1,
  main h2,
  main h3 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .page h1 {
    font-size: clamp(1.75rem, 8.6vw, 2.1rem);
  }
}

:has(> .cs-native) {
  position: relative;
}

.cs-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.cs-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 12px 16px 12px 14px;
  border: 1px solid rgba(34, 51, 61, 0.45);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  text-align: left;
  cursor: pointer;
}

.cs-trigger:focus-visible,
.cs-trigger[aria-expanded="true"] {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.cs-trigger-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cs-trigger-icon {
  display: inline-flex;
  flex-shrink: 0;
  transition: transform 0.15s;
}

.cs-trigger-icon svg {
  width: 16px;
  height: 16px;
}

.cs-trigger[aria-expanded="true"] .cs-trigger-icon {
  transform: rotate(180deg);
}

.cs-menu {
  position: fixed;
  z-index: 800;
  border: 1px solid rgba(34, 51, 61, 0.25);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(20, 35, 45, 0.16);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.cs-menu.is-in {
  opacity: 1;
  transform: translateY(0);
}

.cs-list {
  width: max-content;
  min-width: var(--cs-trigger-width, 160px);
  max-width: min(440px, calc(100vw - 16px));
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cs-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}

.cs-option.focused {
  background: var(--blue-tint);
}

.cs-option.selected {
  font-weight: 600;
}

.cs-option i {
  display: inline-flex;
  flex-shrink: 0;
}

.cs-option i svg {
  width: 15px;
  height: 15px;
}


/* Touch-Zoom Prevention & Mobile Overflow Guard */
html, body {
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}
a, button, input, select, textarea, label, [role="button"] {
  touch-action: manipulation;
}
@media (max-width: 960px), (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}
