/* =========================================================
   HOST DESIGN MEDIA
   Main Stylesheet
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */

:root {
  --color-primary: #172126;
  --color-primary-light: #26353b;

  --color-accent: #00a6a6;
  --color-accent-dark: #008888;

  --color-white: #ffffff;
  --color-background: #f7f8f8;
  --color-surface: #ffffff;

  --color-text: #263238;
  --color-muted: #66747a;

  --color-border: #dfe5e7;

  --font-body:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;

  --font-heading:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;

  --container-width: 1180px;

  --radius-small: 6px;
  --radius-medium: 12px;
  --radius-large: 18px;

  --shadow-small: 0 4px 15px rgba(23, 33, 38, 0.08);
  --shadow-medium: 0 15px 40px rgba(23, 33, 38, 0.14);

  --transition-fast: 180ms ease;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

/* =========================================================
   KEYBOARD FOCUS
========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #00aaa9;
  outline-offset: 4px;
  border-radius: 4px;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
  width: min(calc(100% - 2rem), var(--container-width));
  margin-inline: auto;
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* =========================================================
   BUTTONS
========================================================= */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-small);
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 700;
  line-height: 1;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}

.button:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  transform: translateY(-2px);
}

.button-secondary {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-primary);
}

.button-secondary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.button-light {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.button-light:hover {
  background: transparent;
  color: var(--color-white);
}

/* Secondary buttons on dark guide heroes */
.guide-hero .button-secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}

.guide-hero .button-secondary:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding-block: 6rem;
}

.section-dark {
  padding-block: 7rem;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
}

.section-dark h2,
.section-dark h3 {
  color: var(--color-white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-dark .section-heading h2 {
  max-width: 700px;
}

.section-heading > p:last-child {
  color: var(--color-muted);
  font-size: 1.05rem;
}

.section-dark .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(23, 33, 38, 0.08);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-main {
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}

.logo-sub {
  color: var(--color-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

/* Navigation */

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav > a,
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  background: none;
  border: 0;
  color: var(--color-primary);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.site-nav > a:hover,
.dropdown-toggle:hover {
  color: var(--color-accent);
}

/* Dropdown */

.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
}

.nav-dropdown.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  width: 340px;
  padding: 0.75rem;
  background: var(--color-white);
  border: 1px solid rgba(23, 33, 38, 0.08);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-medium);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition:
    opacity var(--transition-fast),
    transform var(--transition-fast),
    visibility var(--transition-fast);
}

.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: var(--radius-small);
  color: var(--color-primary);
  transition: background var(--transition-fast);
}

.dropdown-menu a:hover {
  background: var(--color-background);
}

.dropdown-menu a strong {
  font-size: 0.95rem;
}

.dropdown-menu a span {
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Header CTA */

.header-button {
  padding: 0.65rem 1.15rem;
  font-size: 0.9rem;
}

/* Mobile menu */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-primary);
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 8rem;
  background: var(--color-primary);
  color: var(--color-white);
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -250px;
  right: -150px;
  border-radius: 50%;
  background: rgba(0, 166, 166, 0.08);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, 0.95fr);
  align-items: center;
  gap: 5rem;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.04em;
}

.hero .eyebrow {
  color: var(--color-accent);
}

.hero-text {
  max-width: 600px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--color-white);
}

.hero .button-secondary:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

/* Hero visual */

.hero-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.window-bar {
  display: flex;
  gap: 0.45rem;
  padding: 0.9rem 1rem;
  background: #eef1f2;
}

.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b8c0c4;
}

.window-content {
  padding: 2rem;
}

.mock-heading {
  width: 65%;
  height: 30px;
  margin-bottom: 1.25rem;
  border-radius: 6px;
  background: var(--color-primary);
}

.mock-text {
  width: 90%;
  height: 10px;
  margin-bottom: 0.7rem;
  border-radius: 5px;
  background: #dfe5e7;
}

.mock-text.short {
  width: 65%;
}

.mock-button {
  width: 120px;
  height: 38px;
  margin-top: 1rem;
  margin-bottom: 2rem;
  border-radius: 6px;
  background: var(--color-accent);
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.mock-cards div {
  height: 90px;
  border-radius: 8px;
  background: #eef1f2;
}

/* =========================================================
   SERVICES
========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 2.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.5rem;
  border-radius: 14px;
  background: rgba(0, 166, 166, 0.1);
  border: 1px solid rgba(0, 166, 166, 0.15);
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.service-card p:not(.eyebrow) {
  color: var(--color-muted);
}

.service-card > a {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--color-accent);
  font-weight: 700;
}

.service-card > a:hover {
  color: var(--color-accent-dark);
}

/* =========================================================
   PROCESS
========================================================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  position: relative;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 166, 166, 0.35);
  border-radius: 50%;
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.process-step p {
  color: rgba(255, 255, 255, 0.65);
}

/* =========================================================
   WHY US
========================================================= */

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.why-us-grid > div:first-child {
  max-width: 620px;
  padding-top: 0.5rem;
}

.why-us-grid > div:first-child p:not(.eyebrow) {
  color: var(--color-muted);
}

.why-us-points {
  display: grid;
  gap: 1rem;
}

.why-point {
  position: relative;
  padding: 1.75rem 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.why-point:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-small);
}

.why-point p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.why-point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: var(--radius-medium) 0 0 var(--radius-medium);
  background: var(--color-accent);
}

/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.portfolio-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-medium);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 166, 166, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.portfolio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  background: linear-gradient(135deg, var(--color-primary-light), #1d2b31);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.portfolio-content {
  padding: 1.75rem;
}

.portfolio-content h3 {
  margin-bottom: 0.65rem;
}

.portfolio-content p:not(.eyebrow) {
  margin-bottom: 0;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.text-link:hover {
  opacity: 0.8;
}

/* =========================================================
   CTA
========================================================= */

.cta {
  position: relative;
  overflow: hidden;
  padding-block: 7rem;
  background: var(--color-accent);
  color: var(--color-white);
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -260px;
  right: -100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.cta h2 {
  color: var(--color-white);
}

.cta p:not(.eyebrow) {
  max-width: 620px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.cta .eyebrow {
  color: var(--color-white);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding-top: 5rem;
  background: #10181c;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  color: var(--color-white);
}

.footer-brand .logo-main {
  font-size: 1.25rem;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column h3 {
  margin-bottom: 0.5rem;
  color: var(--color-white);
  font-size: 1rem;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  display: flex;
  gap: 1.25rem;
}

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero stagger */

.hero-content .reveal:nth-child(1) {
  transition-delay: 0ms;
}

.hero-content .reveal:nth-child(2) {
  transition-delay: 100ms;
}

.hero-content .reveal:nth-child(3) {
  transition-delay: 200ms;
}

.hero-content .reveal:nth-child(4) {
  transition-delay: 300ms;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 1100px) {
  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav {
    gap: 1rem;
  }

  .header-button {
    display: none;
  }
}

@media (max-width: 900px) {
  .header-inner {
    position: relative;
  }

  /* Simplify Services dropdown on mobile */

  .dropdown-menu a {
    padding: 0.75rem 1rem;
  }

  .dropdown-menu a span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--color-white);
    border-bottom: 1px solid rgba(23, 33, 38, 0.08);
    box-shadow: var(--shadow-medium);
    z-index: 1000;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open > a,
  .site-nav.is-open .dropdown-toggle {
    width: 100%;
    padding: 1rem;
    text-align: left;
  }

  .dropdown-menu {
    display: none;
    position: static;
    width: 100%;
    margin-top: 0;
    padding: 0 0 0.5rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-dropdown.is-open .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown-menu a {
    padding: 0.75rem 1rem;
  }

  .dropdown-menu a span {
    display: none;
  }

  .hero {
    padding-block: 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container-width));
  }

  .section,
  .section-dark {
    padding-block: 4.5rem;
  }

  .hero {
    padding-block: 4rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom > div {
    flex-direction: column;

    gap: 0.5rem;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   GETTING STARTED
========================================================= */

.getting-started {
  background: #162126;
  color: #ffffff;
  padding: 80px 0;
}

.getting-started-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.getting-started .eyebrow {
  color: #00aaa9;
}

.getting-started h2 {
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin: 20px 0 0;
  max-width: 500px;
}

.getting-started-content {
  padding-top: 5px;
}

.getting-started-content p {
  color: #ffffff;
  line-height: 1.7;
  margin: 0 0 20px;
}

.getting-started-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .getting-started-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .getting-started {
    padding: 60px 0;
  }
}

/* =========================================================
   RESOURCES PAGE - RECOMMENDED RESOURCES
========================================================= */

.resources-section {
  background: #f7f8f8;
  padding: 90px 0;
}

.resources-header {
  max-width: 720px;
  margin-bottom: 50px;
}

.resources-header h2 {
  color: #162126;
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 16px 0 20px;
}

.resources-intro {
  color: #5f696d;
  line-height: 1.7;
  margin: 0;
}

.recommended-resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.resource-guide-card {
  background: #ffffff;
  border: 1px solid #e4e8e9;
  border-radius: 10px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.resource-category {
  color: #00aaa9;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.resource-guide-card h3 {
  color: #162126;
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 16px;
}

.resource-guide-card p {
  color: #5f696d;
  line-height: 1.7;
  margin: 0 0 24px;
}

.resource-link {
  color: #008f8e;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}

.resource-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .resources-section {
    padding: 65px 0;
  }

  .recommended-resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-guide-card {
    padding: 30px;
  }
}

/* =========================================================
   RESOURCE GUIDE PAGES
========================================================= */

.guide-hero {
  background: #162126;
  color: #ffffff;
  padding: 95px 0 100px;
  position: relative;
  overflow: hidden;
}

.guide-hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: rgba(0, 170, 169, 0.07);
  top: -220px;
  right: -60px;
}

.guide-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.guide-hero .eyebrow {
  color: #00aaa9;
  margin-bottom: 24px;
}

.guide-hero h1 {
  color: #ffffff;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.08;
  max-width: 900px;
  margin: 0 0 28px;
}

.guide-hero-intro {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0;
}

@media (max-width: 768px) {
  .guide-hero {
    padding: 70px 0 75px;
  }

  .guide-hero h1 {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

/* Resource Guide Content */

.guide-content {
  background: #ffffff;
  padding: 90px 0;
}

.guide-content-inner {
  max-width: 800px;
}

.guide-content .eyebrow {
  color: #00aaa9;
  margin-bottom: 18px;
}

.guide-content h2 {
  color: #162126;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 28px;
}

.guide-content p {
  color: #5f696d;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 22px;
}

.guide-content p:last-child {
  margin-bottom: 0;
}

.guide-content strong {
  color: #162126;
}

@media (max-width: 768px) {
  .guide-content {
    padding: 65px 0;
  }
}

.guide-content-alt {
  background: #f7f8f8;
}

.guide-section-intro {
  margin-bottom: 45px !important;
}

.guide-list {
  margin-top: 45px;
}

.guide-list-item {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid #dce2e3;
}

.guide-list-item:last-child {
  border-bottom: 1px solid #dce2e3;
}

.guide-number {
  color: #00aaa9;
  font-size: 0.85rem;
  font-weight: 700;
  padding-top: 5px;
}

.guide-list-item h3 {
  color: #162126;
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 12px;
}

.guide-list-item p {
  margin: 0;
}

.guide-note {
  background: #ffffff;
  border-left: 4px solid #00aaa9;
  padding: 24px 28px;
  margin-top: 45px;
  color: #5f696d;
  line-height: 1.7;
}

.guide-note strong {
  color: #162126;
}

@media (max-width: 600px) {
  .guide-list-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.guide-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 45px;
  margin-top: 45px;
}

.guide-option {
  padding: 28px 0;
  border-top: 1px solid #dce2e3;
}

.guide-option h3 {
  color: #162126;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 12px;
}

.guide-option p {
  margin: 0;
}

@media (max-width: 700px) {
  .guide-options-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.guide-feature-list {
  margin-top: 45px;
}

.guide-feature {
  position: relative;
  padding: 30px 0 30px 32px;
  border-top: 1px solid #dce2e3;
}

.guide-feature:last-child {
  border-bottom: 1px solid #dce2e3;
}

.guide-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 38px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00aaa9;
}

.guide-feature h3 {
  color: #162126;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 10px;
}

.guide-feature p {
  margin: 0;
}

.guide-dont-need {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.guide-dont-item {
  border: 1px solid #dce2e3;
  border-radius: 8px;
  padding: 28px;
}

.guide-dont-item h3 {
  color: #162126;
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 0 0 12px;
}

.guide-dont-item p {
  margin: 0;
}

@media (max-width: 700px) {
  .guide-dont-need {
    grid-template-columns: 1fr;
  }
}

.guide-steps {
  margin-top: 45px;
}

.guide-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid #dce2e3;
}

.guide-step:last-child {
  border-bottom: 1px solid #dce2e3;
}

.guide-step-number {
  color: #00aaa9;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  padding-top: 3px;
}

.guide-step h3 {
  color: #162126;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 10px;
}

.guide-step p {
  margin: 0;
}

@media (max-width: 600px) {
  .guide-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.guide-conclusion {
  background: #162126;
  color: #ffffff;
  padding: 90px 0;
}

.guide-conclusion-inner {
  max-width: 800px;
}

.guide-conclusion .eyebrow {
  color: #00aaa9;
  margin-bottom: 18px;
}

.guide-conclusion h2 {
  color: #ffffff;
  font-size: clamp(2.1rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 30px;
}

.guide-conclusion-copy p {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 22px;
}

.guide-conclusion-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .guide-conclusion {
    padding: 65px 0;
  }
}

/* ========================================
   Related Resources
======================================== */

.guide-related {
  background: #ffffff;
  padding: 90px 0;
}

.guide-related-header {
  max-width: 760px;
  margin-bottom: 45px;
}

.guide-related-header .eyebrow {
  color: #00aaa9;
  margin-bottom: 16px;
}

.guide-related-header h2 {
  color: #162126;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 20px;
}

.guide-related-header > p:last-child {
  margin: 0;
  line-height: 1.8;
}

.guide-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-related-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dce2e3;
  border-radius: 10px;
  padding: 32px;
}

.guide-related-category {
  color: #00aaa9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}

.guide-related-card h3 {
  color: #162126;
  font-size: 1.3rem;
  line-height: 1.35;
  margin: 0 0 16px;
}

.guide-related-card > p:not(.guide-related-category) {
  line-height: 1.7;
  margin: 0 0 24px;
}

.guide-related-card a {
  color: #00aaa9;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
}

.guide-related-card a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .guide-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .guide-related {
    padding: 65px 0;
  }

  .guide-related-card {
    padding: 26px;
  }
}

/* Privacy Policy */

.legal-intro > .eyebrow {
  margin-top: 50px;
}

.legal-contact-link {
  margin-top: 30px;
}

.legal-contact-link a {
  color: #00aaa9;
  font-weight: 700;
  text-decoration: none;
}

.legal-contact-link a:hover {
  text-decoration: underline;
}

/* =========================
   HOMEPAGE RESOURCES
========================== */

.home-resources {
  background: #f5f7f7;
}

.home-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 45px;
}

.home-resource-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #dce2e3;
  border-radius: 10px;
  padding: 32px;
}

.home-resource-card .eyebrow {
  color: #00aaa9;
  margin-bottom: 16px;
}

.home-resource-card h3 {
  color: #162126;
  font-size: 1.3rem;
  line-height: 1.35;
  margin: 0 0 16px;
}

.home-resource-card > p:not(.eyebrow) {
  line-height: 1.7;
  margin: 0 0 24px;
}

.home-resource-card .text-link {
  margin-top: auto;
}

.home-resources-action {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 900px) {
  .home-resources-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-resource-card {
    padding: 26px;
  }
}

/* Fix Explore Resources button in the Hero */
.guide-hero .hero-actions a.button.button-secondary {
  color: #ffffff;
  border-color: #ffffff;
  background-color: transparent;
}

.guide-hero .hero-actions a.button.button-secondary:hover {
  color: #172327;
  border-color: #ffffff;
  background-color: #ffffff;
}
