:root {
  --page: #fbf8f1;
  --cream: #f4ead3;
  --ink: #142621;
  --muted: #4f5d59;
  --soft-text: #717d79;
  --line: rgba(20, 38, 33, 0.15);
  --surface: rgba(255, 252, 246, 0.86);
  --orange: #f5a667;
  --orange-strong: #ef8844;
  --green: #294b35;
  --shadow: 0 26px 52px rgba(58, 42, 16, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 9%, rgba(239, 218, 181, 0.32), transparent 28%),
    linear-gradient(180deg, #fcfaf5 0%, var(--page) 43%, #f8f1e4 100%);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.4;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.landing {
  width: min(100vw, 1024px);
  margin: 0 auto;
  background: transparent;
}

.mock-hero {
  position: relative;
  height: 810px;
  overflow: hidden;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 151px;
  left: 82px;
  width: 600px;
}

.title-wrap {
  position: relative;
  display: inline-block;
}

.hero-title {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 128px;
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
}

.hero-title span {
  display: block;
}

.title-mark {
  position: absolute;
  top: 3px;
  right: 139px;
  width: 22px;
  height: 36px;
  border-radius: 0 100% 60% 100%;
  background: linear-gradient(180deg, #f6b170 0%, #ee8944 100%);
  transform: rotate(35deg);
}

.title-mark::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -12px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #925027;
}

.hero-lede {
  width: 360px;
  margin: 37px 0 0;
  color: var(--muted);
  font-size: 28px;
  line-height: 1.36;
}

.early-access {
  display: grid;
  grid-template-columns: 354px 218px;
  width: 572px;
  height: 78px;
  margin-top: 48px;
}

.signup-field {
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 0 19px;
  border: 1px solid rgba(20, 38, 33, 0.14);
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: rgba(255, 252, 247, 0.78);
  box-shadow: 0 14px 28px rgba(50, 36, 14, 0.06);
}

.field-icon {
  width: 28px;
  height: 28px;
  color: #7a8582;
}

.signup-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.signup-field input::placeholder {
  color: #7b8784;
  opacity: 1;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 0 13px 13px 0;
  background: linear-gradient(180deg, #f5b174 0%, #f6a15b 100%);
  color: #111c18;
  font-size: 18px;
  font-weight: 500;
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  width: 247px;
  height: 68px;
  margin-top: 34px;
  border: 2px solid #142621;
  border-radius: 14px;
  background: rgba(255, 252, 247, 0.72);
  box-shadow: 0 12px 28px rgba(50, 36, 14, 0.05);
  color: #111c18;
  font-size: 18px;
  font-weight: 500;
}

.ghost-icon {
  width: 24px;
  height: 24px;
}

.jar-art {
  position: absolute;
  z-index: 1;
  top: 118px;
  right: 0;
  width: 349px;
  height: 640px;
  object-fit: contain;
  object-position: right top;
}

.cream-wave {
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 1200px;
  height: 92px;
  transform: translateX(-50%);
  background: var(--cream);
  clip-path: path("M 0 73 C 150 29 280 22 437 55 C 575 84 676 90 791 43 C 928 -13 1035 17 1200 62 L 1200 92 L 0 92 Z");
}

.mock-feature {
  position: relative;
  display: block;
  height: 726px;
  background:
    radial-gradient(circle at 31% 28%, rgba(239, 218, 181, 0.18), transparent 27%),
    linear-gradient(180deg, #fbf8f1 0%, #f8f2e5 100%);
  overflow: hidden;
}

.phone-composite {
  position: absolute;
  top: 23px;
  left: 62px;
  width: 358px;
  height: 720px;
}

.phone-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}

.phone-overlay {
  position: absolute;
  top: 43px;
  left: 30px;
  width: 298px;
  height: 629px;
  padding: 27px 24px 0;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffaf1 0%, #f8f0de 100%);
  overflow: hidden;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  color: var(--ink);
}

.menu-lines,
.chart-lines {
  display: inline-block;
  position: relative;
  width: 17px;
  height: 14px;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  border-top: 2px solid currentColor;
}

.menu-lines::before,
.menu-lines::after,
.chart-lines::before,
.chart-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
}

.menu-lines::before {
  top: 5px;
}

.menu-lines::after {
  top: 10px;
}

.chart-lines {
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.chart-lines::before {
  bottom: 0;
  width: 2px;
  height: 9px;
  background: currentColor;
  left: 7px;
}

.chart-lines::after {
  bottom: 0;
  width: 2px;
  height: 15px;
  background: currentColor;
  left: 14px;
}

.phone-overlay h3 {
  margin: 44px 0 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.phone-overlay p {
  margin: 18px 0 0;
  color: #273631;
  font-size: 18px;
  line-height: 1.32;
  text-align: center;
}

.camera-card {
  display: grid;
  justify-items: center;
  width: 166px;
  min-height: 178px;
  margin: 21px auto 0;
  padding: 13px 6px 16px;
  border: 1px solid #e8dcc3;
  border-radius: 28px;
  background: rgba(255, 251, 243, 0.9);
  box-shadow: 0 14px 28px rgba(92, 68, 22, 0.08);
}

.camera-card svg {
  width: 145px;
  height: 112px;
}

.camera-card span {
  margin-top: 0;
  color: #6c746f;
  font-size: 13px;
}

.camera-card strong {
  margin-top: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 0.8;
}

.new-count-button {
  display: block;
  height: 38px;
  margin: 18px auto 0;
  padding: 0 29px;
  border: 1px solid #e7dcc4;
  border-radius: 999px;
  background: rgba(255, 251, 243, 0.9);
  color: #24332e;
  box-shadow: 0 10px 18px rgba(92, 68, 22, 0.06);
  font-size: 15px;
}

.phone-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 126px;
  background:
    radial-gradient(circle at 50% 50%, #f3a85d 0 37px, transparent 38px),
    linear-gradient(163deg, transparent 0 45%, #8b9165 46% 67%, transparent 68%),
    linear-gradient(11deg, transparent 0 45%, #737d53 46% 70%, transparent 71%),
    linear-gradient(180deg, transparent 0 58%, #d7be7a 59% 100%);
}

.feature-copy {
  position: absolute;
  top: 116px;
  left: 492px;
  width: 420px;
  z-index: 2;
}

.feature-kicker {
  margin: 0 0 15px;
  color: var(--orange-strong);
  font-size: 16px;
  letter-spacing: 0.18em;
}

.feature-copy h2,
.links-intro h1,
.link-card h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0;
}

.feature-copy h2 {
  font-size: 84px;
}

.feature-lede {
  width: 385px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 26px;
  line-height: 1.42;
}

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

.feature-list li {
  display: flex;
  align-items: center;
  gap: 19px;
  color: #333f3b;
  font-size: 20px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  flex: 0 0 auto;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.icon-fast {
  background: rgba(247, 190, 112, 0.28);
  color: #ef9a3f;
}

.icon-grid {
  background: rgba(191, 195, 156, 0.28);
  color: #627253;
}

.icon-lock {
  background: rgba(238, 219, 183, 0.5);
  color: #27332f;
}

.play-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: 307px;
  height: 74px;
  margin-top: 34px;
  padding: 0 27px;
  border-radius: 10px;
  background: linear-gradient(180deg, #31583c 0%, #244730 100%);
  color: #f5f6ef;
  box-shadow: 0 20px 40px rgba(24, 46, 30, 0.16);
  font-size: 21px;
  font-weight: 500;
}

.play-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.tester-note {
  margin: 16px 0 0;
  color: #7c8580;
  font-size: 18px;
  font-style: italic;
}

.apple-line {
  position: absolute;
  right: 18px;
  bottom: 41px;
  width: 223px;
  height: 266px;
  object-fit: contain;
  object-position: right bottom;
}

/* Links page */
body.links-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(241, 164, 99, 0.14), transparent 28%),
    linear-gradient(180deg, #fcf8f1 0%, #f8f1e4 100%);
}

.links-shell {
  width: min(980px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 16px 0 24px;
}

.links-main {
  display: grid;
  gap: 18px;
  padding: 10px 0 24px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(20, 38, 33, 0.08);
  border-radius: 18px;
  background: rgba(255, 250, 242, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.brand-subtitle,
.header-link,
.links-intro p,
.link-card p {
  color: var(--muted);
}

.brand-subtitle {
  font-size: 15px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.72);
  font-weight: 700;
}

.header-link.muted {
  font-weight: 500;
}

.links-intro,
.link-card {
  border: 1px solid rgba(20, 38, 33, 0.08);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.links-intro {
  padding: 28px;
}

.links-intro h1 {
  font-size: 56px;
}

.links-intro p {
  max-width: 42rem;
  margin: 14px 0 0;
  font-size: 17px;
}

.link-list {
  display: grid;
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
}

.link-card h2 {
  font-size: 32px;
}

.link-card p {
  margin: 8px 0 0;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fffaf0;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .landing {
    width: 100%;
  }

  .mock-hero {
    display: grid;
    height: auto;
    min-height: 0;
    padding: 64px 0 64px;
    overflow: hidden;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100vw - 64px);
    padding: 0 16px;
    margin: 0 32px;
    order: 1;
  }

  .hero-title {
    font-size: 66px;
    line-height: 0.86;
  }

  .title-mark {
    top: 3px;
    right: 101px;
    width: 17px;
    height: 28px;
  }

  .title-mark::before {
    left: -9px;
    top: 6px;
    width: 10px;
    height: 10px;
  }

  .hero-lede {
    width: 320px;
    margin-top: 26px;
    font-size: 22px;
  }

  .early-access {
    grid-template-columns: 1fr;
    gap: 12px;
    width: calc(100% - 16px);
    height: auto;
    margin-top: 42px;
  }

  .signup-field,
  .primary-button {
    height: 72px;
    border-radius: 14px;
  }

  .signup-field {
    border-right: 1px solid rgba(20, 38, 33, 0.14);
  }

  .primary-button {
    width: 100%;
  }

  .ghost-button {
    width: calc(100% - 16px);
  }

  .jar-art {
    position: relative;
    top: auto;
    right: auto;
    width: 349px;
    height: 640px;
    margin: 42px -38px 0 auto;
    order: 2;
  }

  .cream-wave {
    height: 76px;
  }

  .mock-feature {
    height: auto;
    padding: 64px 0 82px;
  }

  .phone-composite {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: min(358px, calc(100vw - 34px));
    height: min(720px, calc((100vw - 34px) * 2.01));
    margin: 0 auto 42px;
  }

  .feature-copy {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100vw - 64px);
    padding: 0 16px;
    margin: 0 32px;
  }

  .feature-copy h2 {
    font-size: 64px;
  }

  .feature-lede {
    width: 330px;
    font-size: 22px;
  }

  .feature-list li {
    font-size: 18px;
  }

  .apple-line {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: 210px;
    height: auto;
    margin: 32px 14px 0 auto;
  }

  .links-shell {
    width: min(100%, calc(100vw - 28px));
  }

  .site-header,
  .link-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .link-button {
    width: 100%;
  }
}
