@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f6efe4;
  --bg-deep: #ead9bc;
  --surface: rgba(255, 251, 245, 0.76);
  --surface-strong: rgba(255, 251, 245, 0.92);
  --ink: #18231d;
  --muted: #5d655d;
  --line: rgba(24, 35, 29, 0.12);
  --accent: #d86a33;
  --accent-deep: #b14d1b;
  --signal: #13795b;
  --signal-soft: rgba(19, 121, 91, 0.12);
  --shadow: 0 24px 80px rgba(29, 34, 24, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 106, 51, 0.16), transparent 34%),
    radial-gradient(circle at 85% 16%, rgba(19, 121, 91, 0.16), transparent 28%),
    linear-gradient(180deg, #fbf5ed 0%, var(--bg) 48%, #f2e6d4 100%);
}

body::selection {
  background: rgba(216, 106, 51, 0.22);
}

a {
  color: inherit;
  text-decoration: none;
}

.inline-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.background-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.4;
}

.glow-a {
  top: -7rem;
  left: -6rem;
  background: rgba(216, 106, 51, 0.28);
}

.glow-b {
  right: -4rem;
  top: 20rem;
  background: rgba(19, 121, 91, 0.2);
}

.grid-mask {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(24, 35, 29, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 35, 29, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 70%);
}

.topbar,
.hero,
.section,
.footer {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(251, 245, 237, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 40px rgba(38, 32, 24, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent), #d9953b 55%, var(--signal));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.brand-text {
  font-size: 1rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-cta {
  padding: 0.8rem 1.1rem;
  color: #fff7ef;
  background: var(--ink);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(24, 35, 29, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  gap: 1.5rem;
  padding: 4.5rem 0 2.5rem;
}

.hero-copy,
.hero-panel,
.card,
.advantage-card,
.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto auto -3rem -2rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 121, 91, 0.16), transparent 68%);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}

.hero h1,
.section h2 {
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.7rem, 9vw, 7.4rem);
}

.hero-lead,
.section-heading p,
.hero-panel p,
.card p,
.advantage-card p,
.process-step p,
.company-copy p,
.footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  max-width: 58ch;
  margin-top: 1.4rem;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  min-height: 3.4rem;
  padding: 0 1.3rem;
  border: 1px solid transparent;
}

.button-primary {
  color: #fff7ef;
  background: linear-gradient(135deg, var(--accent), #ce8f39);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.46);
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-signals span {
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(19, 121, 91, 0.18);
  border-radius: 999px;
  background: var(--signal-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-panel {
  padding: 2rem;
  align-self: stretch;
}

.panel-tag,
.card-label {
  display: inline-flex;
  padding: 0.46rem 0.75rem;
  border-radius: 999px;
  background: rgba(24, 35, 29, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero-panel p {
  margin-top: 1rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.panel-grid article {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.42);
}

.panel-grid span,
.legal-row span {
  display: block;
  margin-bottom: 0.42rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-grid strong,
.legal-row strong {
  font-size: 1rem;
  line-height: 1.5;
}

.section {
  padding: 2.5rem 0 0.5rem;
}

.section-heading {
  display: grid;
  gap: 0.8rem;
  max-width: 52rem;
  margin-bottom: 1.5rem;
}

.section h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.service-grid,
.advantage-grid {
  display: grid;
  gap: 1rem;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.advantage-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.advantage-card {
  padding: 1.6rem;
}

.card-index {
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.card h3,
.advantage-card h3,
.process-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.section-process {
  padding-top: 3rem;
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-step {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.4rem 0 1.5rem;
  border-top: 1px solid var(--line);
}

.process-step:last-child {
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  font-family: "Instrument Serif", "Iowan Old Style", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent-deep);
}

.section-company {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
  gap: 1rem;
  align-items: start;
  padding-top: 3rem;
}

.company-copy {
  padding: 1.2rem 0;
}

.legal-card {
  padding: 1.6rem;
}

.legal-row {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.legal-row:first-of-type {
  margin-top: 0.9rem;
}

.legal-address strong {
  max-width: 34ch;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 3.5rem 0 3rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.policy-shell {
  width: min(calc(100% - 2rem), 960px);
  margin: 0 auto;
  padding: 4rem 0 0;
}

.policy-hero,
.policy-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.policy-hero {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.policy-hero h1 {
  font-family: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.policy-meta,
.policy-intro,
.policy-card p,
.policy-card li {
  color: var(--muted);
  line-height: 1.75;
}

.policy-meta {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.policy-intro {
  margin-top: 1rem;
  max-width: 64ch;
}

.policy-card {
  margin-top: 1rem;
  padding: 1.6rem;
}

.policy-card h2 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.policy-list {
  margin: 0.7rem 0 0;
  padding-left: 1.3rem;
}

.policy-list li + li {
  margin-top: 0.55rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    border-radius: 28px;
  }

  .hero,
  .section-company,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero,
  .section,
  .footer {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .topbar {
    top: 0.65rem;
    padding: 0.8rem 0.9rem;
  }

  .brand-text {
    display: none;
  }

  .nav-cta {
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .policy-shell {
    width: min(calc(100% - 1.25rem), 960px);
    padding-top: 3rem;
  }

  .hero-copy,
  .hero-panel,
  .card,
  .advantage-card,
  .legal-card {
    border-radius: 22px;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 17vw, 4.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .process-step > span {
    font-size: 2.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .nav-cta,
  .button,
  .nav a {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
