:root {
  --blue-950: #10243f;
  --blue-850: #183f68;
  --blue-650: #226391;
  --blue-100: #e9f4fb;
  --blue-50: #f5fbff;
  --ink: #142033;
  --muted: #4d5b6a;
  --line: #d7e2eb;
  --paper: #ffffff;
  --accent: #f3b447;
  --coral: #c94f36;
  --shadow: 0 18px 45px rgba(16, 36, 63, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 4px;
  background: linear-gradient(145deg, #eff8ff, #c8e7fa);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(34, 99, 145, 0.22);
}

.berry-logo {
  display: block;
  width: 40px;
  height: 40px;
  overflow: visible;
  filter: drop-shadow(0 2px 2px rgba(16, 36, 63, 0.16));
}

.berry {
  fill: var(--blue-850);
  stroke: rgba(255, 255, 255, 0.82);
  stroke-width: 1.4;
}

.berry:nth-child(3n + 1) {
  fill: var(--blue-650);
}

.berry:nth-child(4n) {
  fill: #17466f;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  color: var(--blue-950);
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  color: var(--blue-850);
  background: var(--blue-100);
  border-color: rgba(34, 99, 145, 0.34);
}

.site-nav .nav-cta {
  color: white !important;
  background: var(--blue-850);
  border-color: var(--blue-850) !important;
}

.site-nav .nav-cta:hover {
  color: white !important;
  background: var(--blue-950);
  border-color: var(--blue-950) !important;
}

section,
.site-footer {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-band {
  background:
    linear-gradient(180deg, rgba(233, 244, 251, 0.76), rgba(255, 255, 255, 0.92)),
    var(--blue-50);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 76px);
}

.hero-content,
.section-intro,
.split,
.cards,
.word-grid,
.steps,
.pricing-grid,
.package-grid,
.article-grid,
.movement-grid,
.culture-grid,
.site-footer {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-650);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

h4 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.hero-lead {
  color: var(--blue-850);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
}

.hero-content p:not(.eyebrow):not(.hero-lead),
.section-intro p:not(.eyebrow),
.card p,
.price-card p,
.package-card p,
.article-card p,
.word-grid p,
.steps p,
.about p,
.contact p,
.movement p,
.mt-section p {
  color: var(--muted);
}

.hero-actions,
.center-action,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: white;
  background: var(--coral);
}

.button.secondary {
  color: var(--blue-950);
  background: var(--accent);
}

.button.ghost {
  color: var(--blue-950);
  background: var(--blue-100);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  color: white;
  background: var(--coral);
}

.btn--ghost {
  color: var(--blue-950);
  background: var(--blue-100);
}

.hidden {
  display: none !important;
}

.hero-panel {
  padding: clamp(24px, 4vw, 40px);
  color: white;
  background: var(--blue-950);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.hero-panel p,
.site-footer p {
  color: #d8e8f4;
}

.panel-topline {
  margin-bottom: 24px;
  color: #bcd7ed !important;
  font-weight: 800;
}

.bridge {
  padding-top: clamp(42px, 6vw, 72px);
  padding-bottom: clamp(42px, 6vw, 72px);
}

.section-intro {
  margin-bottom: 34px;
}

.section-intro.compact {
  max-width: 820px;
  margin-bottom: 0;
}

.movement-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.quality-ring {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quality-ring span {
  display: grid;
  min-height: 110px;
  place-items: center;
  padding: 16px;
  color: white;
  background: var(--blue-850);
  border-radius: 8px;
  font-weight: 800;
  text-align: center;
}

.cards,
.pricing-grid,
.package-grid,
.culture-grid {
  display: grid;
  gap: 18px;
}

.cards.three,
.pricing-grid,
.package-grid,
.culture-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.price-card,
.package-card,
.article-card,
.word-grid article,
.steps article,
.form-card,
.culture-grid article,
.contact-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card,
.price-card,
.package-card,
.article-card,
.steps article,
.culture-grid article {
  padding: 26px;
}

.accent-card {
  border-color: rgba(201, 79, 54, 0.45);
}

.card-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  color: white;
  background: var(--blue-850);
  border-radius: 8px;
  font-weight: 800;
}

.text-link {
  color: var(--blue-850);
  font-weight: 800;
}

.mini-list,
.article-card ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
}

.word-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.word-grid article {
  padding: 20px;
}

.word-grid h3 {
  font-size: 1rem;
}

.word-grid p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.center-action {
  justify-content: center;
}

.breadcrumbs,
.word-page {
  max-width: 960px;
  margin: 0 auto;
}

.breadcrumbs {
  padding: 34px clamp(18px, 5vw, 72px) 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a,
.back-link,
.related a {
  color: var(--blue-850);
  font-weight: 800;
}

.word-page {
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.word-page__header {
  margin-bottom: 36px;
}

.word-page__header .lead {
  max-width: 760px;
  color: var(--blue-850);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  font-weight: 700;
}

.word-page section,
.word-page aside {
  padding: 0;
  margin-top: 34px;
}

.word-page h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.word-page ul {
  padding-left: 22px;
  color: var(--muted);
}

.checklist {
  padding: 0 !important;
  list-style: none;
}

.checklist li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
}

.checklist li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "✓";
  font-weight: 800;
}

.callout {
  padding: clamp(22px, 4vw, 34px) !important;
  border-radius: 8px;
}

.callout--blue {
  color: white;
  background: var(--blue-950);
}

.callout--blue h2,
.callout--blue blockquote {
  color: white;
}

.callout blockquote {
  margin: 0 0 22px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.35;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 !important;
  list-style: none;
}

.related a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 12px;
  background: var(--blue-100);
  border-radius: 8px;
  text-decoration: none;
}

.cta-block {
  padding: clamp(24px, 4vw, 36px) !important;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cta-block .btn + .btn {
  margin-left: 10px;
}

.word-overview {
  max-width: 1180px;
}

.word-grid--links article {
  display: flex;
  min-height: 220px;
  flex-direction: column;
}

.word-grid--links .text-link {
  margin-top: auto;
}

.word-overview-card h2 {
  font-size: 1.35rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steps span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue-950);
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.check-list {
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "✓";
  font-weight: 800;
}

.muted-list li::before {
  color: var(--blue-650);
}

.form-card {
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.scan-card {
  min-height: 620px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: 1.35rem;
  font-weight: 800;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

label,
.field-label {
  display: block;
  margin-bottom: 16px;
  color: var(--blue-950);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  margin-top: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9cad8;
  border-radius: 8px;
  font: inherit;
}

select[multiple] {
  min-height: 210px;
}

textarea {
  resize: vertical;
}

.optional,
.form-hint,
.privacy-note,
.form-errors,
.form-status {
  color: var(--muted);
  font-size: 0.92rem;
}

.privacy-note a {
  color: var(--blue-850);
  font-weight: 800;
}

.field-group {
  margin-bottom: 16px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font-weight: 600;
}

.choice input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.word-choice {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.word-choice input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.word-choice:has(input:checked) {
  color: white;
  background: var(--blue-850);
  border-color: var(--blue-850);
}

.word-choice:has(input:disabled:not(:checked)) {
  opacity: 0.45;
}

.progress {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.progress-step {
  display: grid;
  min-height: 34px;
  place-items: center;
  color: var(--blue-950);
  background: var(--blue-100);
  border-radius: 8px;
  font-weight: 800;
}

.progress-step.active {
  color: white;
  background: var(--blue-850);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 34px;
  margin: 12px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: var(--blue-950);
  background: var(--blue-100);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.summary-box {
  display: grid;
  gap: 12px;
}

.summary-item,
.yield-box {
  padding: 14px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.form-errors {
  min-height: 24px;
  margin-top: 14px;
  color: #a23927;
  font-weight: 800;
}

.confirmation {
  display: grid;
  gap: 12px;
}

.price-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--coral);
  box-shadow: var(--shadow);
}

.package-label {
  color: var(--blue-650) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price {
  margin: 10px 0 18px;
  color: var(--blue-950) !important;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.price-card .button {
  margin-top: auto;
}

.package-grid {
  margin-top: 24px;
}

dl {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

dl div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
}

dt {
  color: var(--blue-850);
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--muted);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.article-card span,
.related {
  color: var(--blue-650) !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.article-card .lead {
  font-weight: 700;
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 26px;
  padding: 20px;
}

.contact-note a {
  color: var(--blue-850);
  font-weight: 800;
}

.about-split {
  align-items: center;
}

.portrait-card {
  max-width: 360px;
  margin: 28px 0 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.portrait-picture {
  display: block;
  max-width: 360px;
  margin: 28px 0 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.filter-row,
.search-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.search-box {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.faq-block details {
  margin-bottom: 10px;
  padding: 16px;
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-block summary {
  color: var(--blue-950);
  cursor: pointer;
  font-weight: 800;
}

.portrait-card figcaption {
  display: grid;
  gap: 2px;
  padding: 16px;
}

.portrait-card strong {
  color: var(--blue-950);
}

.portrait-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 38px;
  padding-bottom: 38px;
  color: white;
  background: var(--blue-950);
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .site-nav {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .hero,
  .split,
  .movement-grid,
  .cards.three,
  .pricing-grid,
  .package-grid,
  .culture-grid,
  .steps,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand small {
    display: none;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 8px);
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
    text-align: center;
  }

  .site-nav .nav-cta {
    flex-basis: 100%;
  }

  section,
  .site-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .word-grid,
  .quality-ring,
  .checkbox-grid,
  .filter-row,
  .search-box {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .form-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .cta-block .btn + .btn {
    margin-top: 10px;
    margin-left: 0;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
