:root {
  color-scheme: light;
  --ink: #25211d;
  --muted: #71665c;
  --line: #e6ddd1;
  --paper: #fbf7f0;
  --white: #fffdf8;
  --sage: #7d9a84;
  --sage-dark: #4d6655;
  --rose: #c87d70;
  --gold: #b99054;
  --blue: #6f92a4;
  --lilac: #d8cedf;
  --shadow: 0 18px 46px rgba(74, 59, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 253, 248, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.42) 1px, transparent 1px),
    var(--paper);
  background-size: 38px 38px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(255, 253, 248, 0.78);
  border-bottom: 1px solid rgba(255, 253, 248, 0.28);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--sage-dark);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.58);
}

.hero {
  position: relative;
  min-height: 76vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(37, 33, 29, 0.72), rgba(37, 33, 29, 0.34) 54%, rgba(37, 33, 29, 0.08)),
    url("https://images.unsplash.com/photo-1516627145497-ae6968895b74?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: clamp(78px, 12vw, 128px) auto clamp(54px, 8vw, 96px) clamp(12px, 4vw, 46px);
  z-index: -1;
  width: min(780px, calc(100% - 24px));
  border-radius: 32px;
  background: rgba(37, 33, 29, 0.16);
  filter: blur(24px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 38%;
  background: linear-gradient(0deg, var(--paper), rgba(247, 245, 239, 0));
}

.hero-content {
  position: relative;
  width: min(820px, 100%);
  padding: clamp(90px, 16vw, 150px) clamp(20px, 6vw, 76px) clamp(76px, 11vw, 128px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.75rem, 7vw, 5.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.8vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.lede {
  max-width: 640px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.beta-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.primary,
.beta-form button {
  background: var(--rose);
  color: var(--white);
}

.secondary {
  border-color: rgba(255, 253, 248, 0.5);
  color: var(--white);
  background: rgba(255, 253, 248, 0.11);
}

.trust-strip,
.workspace,
.section,
.beta {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transform: translateY(-32px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.trust-strip article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf4;
  box-shadow: 0 14px 30px rgba(74, 59, 48, 0.11);
}

.trust-strip article:nth-child(1) {
  transform: rotate(-1deg);
}

.trust-strip article:nth-child(2) {
  background: #eef5ef;
  transform: translateY(10px) rotate(0.8deg);
}

.trust-strip article:nth-child(3) {
  background: #f7efd7;
  transform: rotate(-0.4deg);
}

.trust-strip article:last-child {
  border-right: 1px solid var(--line);
}

.trust-strip span,
.date,
.status-pill,
.beta-form p {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.trust-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
  margin-top: 4px;
}

.workspace > *,
.scrapbook-row > *,
.memory-grid > *,
.steps > *,
.security-grid > *,
.story-section > *,
.story-stack > *,
.beta > * {
  min-width: 0;
}

.vault-preview,
.privacy-panel,
.steps article,
.security-grid article,
.pricing-grid article,
.beta-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(74, 59, 48, 0.07);
}

.vault-preview,
.privacy-panel {
  padding: clamp(18px, 3vw, 28px);
}

.vault-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.status-pill {
  min-width: max-content;
  padding: 6px 10px;
  border: 1px solid rgba(96, 121, 107, 0.26);
  border-radius: 999px;
  background: rgba(125, 154, 132, 0.12);
  color: var(--sage-dark);
  font-weight: 760;
}

.upload-panel {
  display: grid;
  min-height: 210px;
  margin: 12px 0 18px;
  padding: 26px;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(111, 146, 164, 0.45);
  border-radius: 18px;
  background: #f4f0f6;
}

.upload-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 10px;
  place-items: center;
  border-radius: 50%;
  background: var(--rose);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.upload-panel p,
.memory-grid p,
.steps p,
.security-grid p,
.story-copy p,
.beta p,
.privacy-panel li {
  color: var(--muted);
}

.scrapbook-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
  gap: 18px;
  align-items: center;
  margin: 12px 0 22px;
}

.keepsake-photo,
.keepsake-note {
  width: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 18px;
  background: #fffaf4;
  box-shadow: 0 18px 34px rgba(74, 59, 48, 0.12);
}

.keepsake-photo {
  padding: 10px 10px 16px;
}

.keepsake-photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.keepsake-photo figcaption,
.keepsake-note figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.35;
}

.keepsake-note {
  padding: 22px;
  background: #f7efd7;
}

.keepsake-note blockquote {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.25;
}

.tilted-left {
  transform: rotate(-1.5deg);
}

.tilted-right {
  transform: rotate(1.2deg);
}

.memory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.memory-grid article {
  min-height: 138px;
  padding: 16px;
  border-radius: 18px;
  background: #f6eee6;
  border: 1px solid rgba(230, 221, 209, 0.72);
}

.memory-grid article:nth-child(2) {
  background: #eef5ef;
}

.memory-grid article:nth-child(3) {
  background: #f0edf5;
}

.privacy-panel ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-panel li {
  position: relative;
  padding-left: 28px;
}

.privacy-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.43em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: inset 0 0 0 3px var(--white);
  outline: 1px solid rgba(96, 121, 107, 0.45);
}

.section {
  padding: clamp(64px, 10vw, 112px) 0 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(240px, 0.58fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 70px);
}

.steps,
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.steps article,
.security-grid article {
  padding: 20px;
}

.steps article {
  background:
    linear-gradient(90deg, rgba(125, 154, 132, 0.12), transparent 6px),
    var(--white);
}

.steps span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--white);
  font-weight: 760;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-section .section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
}

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

.pricing-grid article {
  display: grid;
  align-content: start;
  min-height: 430px;
  padding: 24px;
  background: #fffaf4;
}

.pricing-grid article:nth-child(3) {
  background: #f7efd7;
}

.featured-plan {
  border-color: rgba(77, 102, 85, 0.44);
  background: #eef5ef !important;
  box-shadow: 0 18px 42px rgba(77, 102, 85, 0.16);
}

.plan-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.plan-price {
  margin: 4px 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4vw, 3.2rem);
  line-height: 1;
}

.plan-price span {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
}

.pricing-grid ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-grid li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.pricing-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.plan-note {
  margin: 18px 0 0;
  color: var(--sage-dark);
  font-size: 0.92rem;
  font-weight: 760;
}

.plan-guardrails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.plan-guardrails span {
  padding: 8px 11px;
  border: 1px solid rgba(111, 146, 164, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 680;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 6vw, 74px);
  align-items: center;
}

.story-copy {
  max-width: 680px;
}

.story-stack {
  display: grid;
  gap: 14px;
}

.story-stack article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffaf4;
  box-shadow: 0 12px 26px rgba(74, 59, 48, 0.07);
}

.story-stack article:nth-child(2) {
  background: #eef5ef;
  transform: translateX(-16px);
}

.story-stack article:nth-child(3) {
  background: #f0edf5;
}

.story-stack span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.story-stack strong {
  font-size: 1.06rem;
}

.beta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 7vw, 82px);
  align-items: center;
  padding: clamp(64px, 10vw, 112px) 0;
}

.beta-form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.beta-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 760;
}

.beta-form input,
.beta-form select {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf4;
  color: var(--ink);
  font: inherit;
  padding: 0 12px;
}

.beta-form p {
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .topbar {
    align-items: center;
    padding-block: 12px;
  }

  .nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(37, 33, 29, 0.94), rgba(37, 33, 29, 0.72)),
      url("https://images.unsplash.com/photo-1516627145497-ae6968895b74?auto=format&fit=crop&w=1400&q=82") 66% center / cover;
  }

  .trust-strip,
  .workspace,
  .two-column,
  .story-section,
  .security-grid,
  .pricing-grid,
  .beta {
    grid-template-columns: 1fr;
  }

  .pricing-grid article {
    min-height: auto;
  }

  .section {
    padding-top: 54px;
  }

  .memory-grid,
  .scrapbook-row,
  .steps {
    grid-template-columns: 1fr;
  }

  .story-stack article:nth-child(2) {
    transform: none;
  }

  .trust-strip {
    transform: translateY(-18px);
  }

  .trust-strip article,
  .trust-strip article:nth-child(1),
  .trust-strip article:nth-child(2),
  .trust-strip article:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 560px) {
  .topbar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    font-size: 0.82rem;
  }

  .hero-content {
    padding-inline: 20px;
    padding-top: 74px;
    padding-bottom: 72px;
  }

  h1 {
    font-size: clamp(2.25rem, 13vw, 3.35rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .lede {
    font-size: 1.02rem;
  }

  .trust-strip,
  .workspace,
  .section,
  .beta {
    width: min(100% - 28px, 1180px);
  }

  .vault-preview,
  .privacy-panel,
  .steps article,
  .security-grid article,
  .beta-form {
    padding: 18px;
  }

  .upload-panel {
    min-height: 178px;
    padding: 20px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .vault-header {
    display: grid;
  }

  .tilted-left,
  .tilted-right {
    transform: none;
  }
}
