:root {
  --bg: #faf5eb;
  --accent: #c7856b;
  --accent2: #73947a;
  --text: #473d33;
  --muted: #736b5f;
  --sand: #ede3d1;
  --surface: rgba(255, 255, 255, 0.9);
  --radius: 18px;
  --shadow: 0 18px 50px rgba(71, 61, 51, 0.12);
  --font: "Nunito", system-ui, sans-serif;
  --max: 1120px;
  --dot-nav: 88px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  padding-right: var(--dot-nav);
}

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

a {
  color: var(--accent2);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.margin-dots {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 20;
}

.dot-link {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--sand);
  border: 2px solid rgba(71, 61, 51, 0.15);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot-link span {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.dot-link:hover span,
.dot-link:focus-visible span,
.dot-link.is-active span {
  opacity: 1;
}

.dot-link.is-active,
.dot-link:hover,
.dot-link:focus-visible {
  background: var(--accent);
  transform: scale(1.15);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 245, 235, 0.15) 0%,
    rgba(250, 245, 235, 0.72) 48%,
    rgba(250, 245, 235, 0.96) 100%
  );
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent2);
}

.hero h1 {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hero__line1 {
  font-size: clamp(2.8rem, 8vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero__line2 {
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  font-weight: 600;
  color: var(--muted);
}

.hero__tagline {
  margin: 0 auto;
  max-width: 640px;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--text);
}

section {
  padding: 4.5rem 1.5rem;
}

.section-intro {
  max-width: var(--max);
  margin: 0 auto 2rem;
}

.section-intro--left {
  text-align: left;
}

.section-intro--right {
  text-align: right;
  margin-left: auto;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-intro h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-lede {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
}

.section-intro--right .section-lede {
  margin-left: auto;
}

.bento {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento__tile {
  grid-column: span 6;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento__tile--wide {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 260px;
}

.bento__tile--tall {
  grid-column: span 4;
  grid-row: span 2;
}

.bento__art {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

.bento__art--small {
  min-height: 120px;
  max-height: 140px;
}

.bento__art--tall {
  min-height: 220px;
}

.bento__copy {
  padding: 1.25rem 1.35rem 1.5rem;
}

.bento__copy h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.bento__copy p {
  margin: 0;
  color: var(--muted);
}

.device-pair {
  max-width: 920px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: end;
}

.device-frame {
  margin: 0;
  background: var(--surface);
  border-radius: 28px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.device-frame--offset {
  transform: translateY(-28px);
}

.device-frame img {
  border-radius: 20px;
  width: 100%;
}

.device-frame figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

.screen-thumb {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.screen-thumb img {
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.screen-thumb p {
  margin: 1rem 0 0;
  color: var(--muted);
}

.legal {
  padding-bottom: 5rem;
}

.tab-switch {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--surface);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tab-switch__controls {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--sand);
}

.tab-btn {
  flex: 1;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
}

.tab-btn.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(71, 61, 51, 0.08);
}

.tab-switch__panels {
  padding: 1.75rem 1.5rem 2rem;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel h3 {
  margin-top: 0;
}

.tab-panel p {
  color: var(--muted);
}

.site-footer {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  body {
    padding-right: 0;
    padding-bottom: 4.5rem;
  }

  .margin-dots {
    top: auto;
    bottom: 1rem;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
  }

  .dot-link span {
    display: none;
  }

  .bento__tile,
  .bento__tile--wide,
  .bento__tile--tall {
    grid-column: span 12;
    grid-row: auto;
  }

  .bento__tile--wide {
    grid-template-columns: 1fr;
  }

  .device-pair {
    grid-template-columns: 1fr;
  }

  .device-frame--offset {
    transform: none;
  }

  .section-intro--right {
    text-align: left;
  }

  .section-intro--right .section-lede {
    margin-left: 0;
  }
}
