:root {
  --brand: #555f3a;
  --brand-muted: #80876b;
  --brand-soft: #e2e5d6;
  --ink: #2e361c;
  --text: #3d4330;
  --body: #5f6751;
  --line: #d4d9c5;
  --paper: #ffffff;
  --wash: #f6f7f1;
  --page: #f8f8f8;
  --focus: #657044;
  --shadow: 0 12px 28px rgba(46, 54, 28, 0.08);
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/Quicksand_400Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("/assets/Quicksand_500Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("/assets/Quicksand_700Bold.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  background: var(--page);
  color: var(--text);
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--brand-muted);
  outline-offset: 3px;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 28px;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 21px;
  font-weight: 700;
  gap: 9px;
  text-decoration: none;
}
.brand-mark {
  height: 27px;
  object-fit: contain;
  width: 27px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.nav-links a {
  color: var(--body);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
}
.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--brand);
}

.hero {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-grid {
  min-height: 410px;
  padding: 70px 28px;
}
.hero-copy {
  align-items: center;
  column-gap: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}
.hero-copy > .eyebrow,
.hero-copy > h1,
.hero-copy > .lead,
.hero-copy > .availability-row {
  grid-column: 1;
}
.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  margin: 0 0 10px;
}
h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}
h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  max-width: 700px;
}
.lead {
  color: var(--body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  margin: 18px 0 0;
  max-width: 620px;
}

.app-preview {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 4;
  height: 374px;
  margin-left: auto;
  position: relative;
  width: min(100%, 366px);
}
.app-shot {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  object-fit: cover;
  position: absolute;
}
.app-shot-upload {
  left: 0;
  top: 40px;
  transform: rotate(-6deg);
  transform-origin: 50% 100%;
  width: 166px;
  z-index: 1;
}
.app-shot-explore {
  bottom: 4px;
  right: 66px;
  transform: rotate(4deg);
  transform-origin: 50% 100%;
  width: 198px;
  z-index: 2;
}

.content {
  padding: 76px 28px;
}
.section-label {
  color: var(--brand);
  font-size: 13px;
  font-weight: 500;
  margin: 0;
}
h2 {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  margin: 8px 0 0;
}
.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  border-top: 3px solid var(--brand-muted);
  padding: 26px;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}
.feature:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.feature-icon {
  background: var(--brand-soft);
  border-radius: 50%;
  color: var(--brand-muted);
  display: grid;
  height: 44px;
  place-items: center;
  width: 44px;
}
.feature-icon svg {
  fill: currentColor;
  height: 23px;
  width: 23px;
}
.feature h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 18px 0 7px;
}
.feature p,
.copy-block p {
  color: var(--body);
  line-height: 1.65;
  margin: 0;
}

.availability-row {
  display: flex;
  margin-top: 30px;
}
.store-options {
  display: flex;
  gap: 10px;
}
.store-badge {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: #ffffff;
  display: inline-flex;
  flex: 1 1 0;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  justify-content: center;
  line-height: 1.15;
  min-height: 48px;
  min-width: 144px;
  padding: 10px 14px;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease;
}
.store-badge:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.store-icon {
  flex: 0 0 auto;
  height: 22px;
  width: 22px;
}
.store-icon-apple {
  fill: currentColor;
}
.store-icon-google-play {
  fill: currentColor;
}
.business-details {
  line-height: 1.6;
}

.page-hero {
  min-height: 286px;
}
.page-hero .hero-grid {
  display: block;
  min-height: 0;
  padding-bottom: 58px;
  padding-top: 58px;
}
.copy-list {
  margin: 0 auto;
  max-width: 880px;
}
.copy-block {
  border-left: 3px solid #aaaf9d;
  border-top: 1px solid var(--line);
  padding: 30px 0 30px 20px;
}
.copy-block:first-child {
  border-top: 0;
  padding-top: 0;
}
.copy-block h2 {
  font-size: 23px;
  margin: 0 0 9px;
}
.contact-panel {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 46px;
  padding: 32px;
}
.contact-panel h2 {
  font-size: 24px;
}
.email-link {
  color: var(--brand);
  display: inline-block;
  font-weight: 700;
  margin-top: 16px;
}
.email-link:hover,
.footer-inner a:hover {
  color: var(--ink);
}

.auth-content {
  max-width: 640px;
}
.auth-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.auth-panel h2 {
  font-size: 26px;
  margin: 0;
}
.auth-panel > p {
  color: var(--body);
  margin: 10px 0 0;
}
.auth-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.auth-field {
  display: grid;
  gap: 7px;
}
.auth-field label {
  color: var(--text);
  font-weight: 700;
}
.auth-field input {
  background: var(--paper);
  border: 1px solid var(--brand-muted);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  min-height: 48px;
  padding: 10px 12px;
}
.auth-field input:focus {
  border-color: var(--brand);
  outline: 2px solid var(--brand-soft);
  outline-offset: 1px;
}
.auth-submit {
  background: var(--brand);
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  padding: 10px 16px;
}
.auth-submit:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
}
.auth-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}
.auth-status {
  border-left: 3px solid var(--brand-muted);
  color: var(--body);
  margin: 22px 0 0;
  padding-left: 12px;
}
.auth-status[data-state="error"] {
  border-left-color: #a84435;
  color: #7d3329;
}
.auth-status[data-state="success"] {
  border-left-color: var(--brand);
  color: var(--ink);
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.footer-inner {
  align-items: center;
  color: var(--body);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  min-height: 86px;
}
.footer-inner nav {
  display: flex;
  gap: 18px;
}
.footer-inner a {
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
}

@media (max-width: 720px) {
  .hero-grid {
    min-height: 0;
    padding-bottom: 54px;
    padding-top: 54px;
  }
  .hero-copy {
    align-items: stretch;
    display: flex;
    flex-direction: column;
  }
  .app-preview {
    align-self: center;
    display: block;
    height: min(78vw, 300px);
    margin: 26px auto 2px;
    width: min(70vw, 272px);
  }
  .app-shot {
    height: auto;
    position: absolute;
  }
  .app-shot-upload {
    left: 0;
    top: 30px;
    width: min(34vw, 132px);
  }
  .app-shot-explore {
    bottom: 2px;
    right: 22px;
    width: min(40vw, 156px);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature:hover {
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 540px) {
  .shell,
  .hero-grid,
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px 14px;
  }
  .nav-links {
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 8px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    width: 100%;
  }
  .nav-links a {
    flex: 0 0 auto;
  }
  h1 {
    font-size: 38px;
  }
  .lead {
    font-size: 17px;
  }
  .availability-row {
    margin-top: 26px;
  }
  .store-options {
    width: 100%;
  }
  .store-badge {
    font-size: 12px;
    gap: 6px;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
  .store-icon {
    height: 20px;
    width: 20px;
  }
  .store-badge-name {
    white-space: nowrap;
  }
  .content {
    padding-bottom: 58px;
    padding-top: 58px;
  }
  .contact-panel {
    padding: 24px;
  }
  .auth-panel {
    padding: 24px;
  }
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    padding: 20px;
  }
}
