:root {
  --ink: #171512;
  --muted: #686056;
  --paper: #fbf6ec;
  --panel: #ffffff;
  --panel-warm: #f3eadc;
  --line: #dfd1bd;
  --gold: #f4b93f;
  --gold-dark: #b46c12;
  --teal: #69c7c4;
  --teal-dark: #196f71;
  --berry: #9f3d62;
  --green: #477a54;
  --shadow: 0 24px 70px rgba(38, 26, 10, 0.14);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 21, 18, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 246, 236, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-bee {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(23, 21, 18, 0.22);
  border-radius: var(--radius);
  background: #fff;
}

.brand-logo {
  display: block;
  width: 132px;
  height: 40px;
  object-fit: cover;
  object-position: center 82%;
  border-radius: 6px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--gold);
  box-shadow: 5px 5px 0 var(--teal);
  font-size: 0.9rem;
}

.brand-word {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a,
.footer-links a {
  padding: 10px 12px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 0;
  position: relative;
}

.menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink);
}

.hero {
  padding: 86px 0 54px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 18%, rgba(105, 199, 196, 0.34), transparent 28%),
    linear-gradient(135deg, #fff9ed 0%, #f7e7cf 48%, #ebf8f5 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
}

h2 {
  font-size: clamp(2.1rem, 4.4vw, 4.3rem);
}

h3 {
  font-size: 1.35rem;
}

.lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: #514a40;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.button-row,
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 820;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(23, 21, 18, 0.18);
}

.button-primary {
  background: var(--ink);
  color: #fffaf0;
}

.button-secondary {
  background: var(--panel);
  color: var(--ink);
}

.studio-board {
  position: relative;
  min-height: 520px;
  padding: 26px;
  background: var(--ink);
  border: 1px solid #000;
  box-shadow: var(--shadow);
  color: #fff8e9;
  overflow: hidden;
}

.studio-board::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(244, 185, 63, 0.28);
}

.board-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  color: #f8d182;
  font-weight: 820;
  font-size: 0.8rem;
}

.hero-logo-card {
  position: relative;
  margin: 34px auto 0;
  width: min(100%, 410px);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 185, 63, 0.45);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--gold);
}

.hero-logo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.board-note {
  position: relative;
  margin-top: 32px;
  padding: 16px;
  background: rgba(105, 199, 196, 0.16);
  border: 1px solid rgba(105, 199, 196, 0.35);
}

.section {
  padding: 74px 0;
}

.section-muted {
  background: #efe4d5;
  border-block: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head p,
.copy p,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.7;
}

.copy {
  max-width: 760px;
}

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

.app-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(48, 36, 18, 0.08);
}

.app-card-link {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  text-decoration: none;
}

.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.app-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid rgba(23, 21, 18, 0.2);
  background: var(--teal);
  color: #082c2e;
  font-weight: 950;
  overflow: hidden;
  flex: 0 0 auto;
}

.app-icon-image {
  background: #111;
  border: 0;
  box-shadow: 0 10px 24px rgba(23, 21, 18, 0.16);
}

.app-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.app-card p {
  color: var(--muted);
  line-height: 1.55;
}

.mini-meta,
.text-link {
  margin-top: auto;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 780;
}

.status-pill,
.badge-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1e3c9;
  color: #6a4310;
  font-size: 0.72rem;
  font-weight: 880;
  text-transform: uppercase;
}

.status-live {
  background: #dff3e4;
  color: var(--green);
}

.status-beta {
  background: #e8eefc;
  color: #385d91;
}

.status-development {
  background: #f7e1ea;
  color: var(--berry);
}

.status-coming-soon {
  background: #efe5d5;
  color: #79502a;
}

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

.principle {
  padding: 22px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.principle strong {
  display: block;
  margin-bottom: 8px;
}

.page-hero {
  padding: 72px 0 48px;
  background: linear-gradient(135deg, #fff9ed, #ebf8f5);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
}

.legal-copy {
  max-width: 790px;
}

.legal-copy h2 {
  margin-top: 38px;
  font-size: 1.65rem;
  line-height: 1.1;
}

.contact-grid,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item,
.facts-panel,
.request-panel {
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.info-item a {
  font-weight: 830;
  color: var(--teal-dark);
}

.app-hero {
  padding: 74px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff9ed, #e8f7f4);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal-dark);
  font-weight: 820;
  text-decoration: none;
}

.app-title-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-title-lockup .app-icon {
  width: clamp(66px, 9vw, 88px);
  height: clamp(66px, 9vw, 88px);
  border-radius: 18px;
}

.device-cluster {
  display: grid;
  grid-template-columns: repeat(3, minmax(88px, 1fr));
  gap: 14px;
  align-items: end;
}

.screen {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  border: 10px solid var(--ink);
  border-radius: 30px;
  background: linear-gradient(150deg, var(--teal), #fff8e9 50%, var(--gold));
  box-shadow: var(--shadow);
}

.screen-image {
  margin: 0;
  padding: 0;
  background: #0d0d0d;
  overflow: hidden;
}

.screen-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.screen-image figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.72);
  color: #fff8e9;
  font-size: 0.78rem;
  font-weight: 820;
}

.screen:nth-child(2) {
  transform: translateY(24px);
}

.screen:nth-child(3) {
  transform: translateY(48px);
}

.screen-top {
  width: 42px;
  height: 6px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(23, 21, 18, 0.36);
}

.screen-content {
  display: grid;
  gap: 12px;
}

.screen-content span {
  font-size: 2rem;
  font-weight: 950;
}

.screen-content strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  line-height: 1;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.facts-panel dl {
  display: grid;
  gap: 14px;
  margin: 0 0 22px;
}

.facts-panel div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.facts-panel dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.facts-panel dd {
  margin: 5px 0 0;
  font-weight: 750;
}

.next-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-footer {
  padding: 46px 0;
  background: var(--ink);
  color: #fff8e9;
}

.site-footer .brand-logo {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.18));
}

.site-footer .brand-bee {
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer .brand-word {
  color: #fff8e9;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.footer-links a {
  color: #d8c7a9;
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .page-hero,
  .app-hero {
    padding-top: 46px;
  }

  .split,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .studio-board {
    min-height: 430px;
  }

  .app-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .section-head,
  .next-row,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .device-cluster {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .screen {
    min-height: 260px;
    border-width: 7px;
    border-radius: 22px;
  }

  .screen-content strong {
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .studio-board {
    padding: 18px;
  }

  .board-window {
    margin-top: 42px;
  }

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

  .app-title-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .screen,
  .screen:nth-child(2),
  .screen:nth-child(3) {
    min-height: 220px;
    transform: none;
  }
}
