:root {
  --bg: #fffdfb;
  --surface: #ffffff;
  --card: #f7f5f3;
  --text: #5c4a3e;
  --heading: #503828;
  --muted: #8a7366;
  --line: #f0e6e2;
  --accent: #f9c7d6;
  --accent-hover: #f4b7cb;
  --teal: #4b758d;
  --teal-hover: #3d6578;
  --focus: #4b758d;
  --space: 1.25rem;
  --content: 72rem;
  --break: 56rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  max-width: 100%;
}

p,
address {
  margin: 0 0 0.85rem;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 7vw, 3.15rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  margin-bottom: 1.35rem;
}

h3 {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

a {
  color: var(--heading);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal);
}

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

::selection {
  background: var(--accent);
  color: var(--heading);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.55rem 0.9rem;
  background: var(--surface);
  color: var(--heading);
}

.skip-link:focus {
  top: 0.75rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--content));
  margin-inline: auto;
}

.site-header {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, var(--content));
  min-height: 4.5rem;
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--heading);
  text-decoration: none;
}

.logo img {
  display: block;
  height: 3.15rem;
  width: auto;
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
}

.nav-toggle__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--heading);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__close {
  display: none;
}

.nav-toggle:checked + .nav-toggle__label .nav-toggle__open {
  display: none;
}

.nav-toggle:checked + .nav-toggle__label .nav-toggle__close {
  display: inline;
}

.nav-toggle:focus-visible + .nav-toggle__label {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 5;
  padding: 0.35rem 1.25rem 0.85rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.nav-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav a {
  display: block;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}

.site-nav a.site-nav__shop {
  color: var(--muted);
  font-weight: 500;
}

.hero__layout {
  display: flex;
  flex-direction: column;
}

.hero {
  padding-bottom: 0;
}

.hero + .section {
  padding-top: 1.35rem;
}

.hero__copy {
  width: min(100% - 2.5rem, 38rem);
  margin: 1.5rem auto 0;
}

.hero__copy p,
.closing__copy p {
  max-width: 38rem;
  margin-bottom: 1.35rem;
  font-size: 1.125rem;
}

.frame {
  position: relative;
  background: var(--card);
  overflow: hidden;
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__frame {
  aspect-ratio: 1 / 1;
}

.closing__layout {
  width: min(100% - 2.5rem, 38rem);
  margin-inline: auto;
  text-align: center;
}

.closing .actions {
  justify-content: center;
}

.frame img.only-desktop {
  display: none;
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--accent);
  border-radius: 4px;
  background: var(--accent);
  color: var(--heading);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: var(--heading);
}

.button--ghost {
  background: transparent;
  border-color: #f3b7c8;
  color: var(--heading);
}

.button--ghost:hover {
  background: #fdeef3;
  border-color: #f3b7c8;
  color: var(--heading);
}

.text-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--teal-hover);
  text-decoration: underline;
}

.section {
  padding: 3.25rem 0;
}

.section--tight-top {
  padding-top: 0.5rem;
}

.cards,
.steps,
.trust-grid {
  display: grid;
  gap: 1.25rem;
}

.step {
  background: var(--card);
}

.card {
  background: #fffcfa;
  border-radius: 12px;
  overflow: hidden;
}

.card img,
.step img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
}

.card img.is-contain {
  object-fit: contain;
  padding: 0.75rem;
}

.card__body,
.step {
  padding-bottom: 1.35rem;
}

.card__body {
  padding: 1.05rem 1.15rem 1.25rem;
}

.step h3,
.step p {
  margin-right: 1.2rem;
  margin-left: 1.2rem;
}

.step h3 {
  margin-top: 1rem;
}

.card p,
.step p,
.trust-card p {
  margin-bottom: 0.9rem;
}

.note,
.section-link {
  margin: 1.6rem 0 0;
  color: var(--muted);
  text-align: center;
}

.trust-card {
  padding: 1.1rem 1.05rem 1rem;
  background: #fff;
  border: 1px solid #f3ebe7;
  border-radius: 12px;
  text-align: center;
}

.trust-card p {
  margin-bottom: 0;
}

.closing {
  padding-bottom: 3.5rem;
}

.begin {
  background: var(--card);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.begin__intro {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.begin__intro p {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.begin__themes {
  display: grid;
  gap: 1.5rem;
}

.begin__theme img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.begin__theme img.is-contain {
  object-fit: contain;
  padding: 0.75rem;
}

.begin__theme h3 {
  margin: 0.85rem 0 0;
}

.begin .actions {
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}

.begin .button {
  min-width: min(100%, 22rem);
  padding-inline: 1.6rem;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

.site-footer a {
  color: var(--heading);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--teal);
  text-decoration: underline;
}

.site-footer__name {
  margin-bottom: 0.45rem;
  color: var(--heading);
  font-weight: 600;
}

.site-footer__meta {
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__legal {
  margin-top: 0.85rem;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer__mark {
  display: block;
  height: 2.75rem;
  width: auto;
  margin: 2.25rem 0 0;
}

@media (min-width: 40rem) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .button {
    width: auto;
  }
}

@media (min-width: 48rem) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 56rem) {
  .hero {
    padding: 2.5rem 0 0;
  }

  .hero + .section {
    padding-top: 2rem;
  }

  .hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: center;
    width: min(100% - 4rem, var(--content));
    margin-inline: auto;
  }

  .hero__copy {
    width: auto;
    margin: 0;
    order: -1;
  }

  .hero__frame {
    aspect-ratio: 1 / 1;
  }


  .logo img {
    height: 3.5rem;
  }

  .frame img.only-mobile {
    display: none;
  }

  .frame img.only-desktop {
    display: block;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 0;
  }

  .section:has(+ .closing) {
    padding-bottom: 6rem;
  }

  .begin + .section {
    padding-top: 2rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

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

  .begin {
    margin-top: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .begin__themes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .closing {
    padding-bottom: 5rem;
  }

  .site-footer__grid {
    grid-template-columns: 1.05fr 1.35fr 1fr;
    gap: 2.5rem;
  }
}

@media (min-width: 64rem) {
  .nav-toggle,
  .nav-toggle__label {
    display: none;
  }

  .site-nav,
  .nav-toggle:checked ~ .site-nav {
    display: flex;
    position: static;
    gap: 1.75rem;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-nav a {
    display: inline;
    padding: 0.25rem 0;
    border: 0;
    font-weight: 500;
    white-space: nowrap;
  }
}

@media (min-width: 72rem) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
