@font-face {
  font-family: "Tabiato Sans";
  src: local("Hiragino Kaku Gothic ProN"), local("Yu Gothic");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f1e7;
  --paper-deep: #eee4d5;
  --surface: #fffaf3;
  --ink: #49372e;
  --muted: #796a60;
  --coral: #e8896b;
  --coral-deep: #bd4a39;
  --sky: #a9c7d8;
  --sky-deep: #557a8f;
  --sage: #a9b89a;
  --sage-deep: #657957;
  --plum: #7b687d;
  --line: rgba(73, 55, 46, 0.14);
  --shadow: 0 30px 90px rgba(84, 61, 48, 0.14);
  --sans: "Tabiato Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
}

* { box-sizing: border-box; }

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

a:focus-visible,
.primary-action:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 5px;
}

.marketing-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 2.5rem));
  min-height: 88px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img { border-radius: 12px; box-shadow: 0 8px 20px rgba(57, 94, 159, 0.2); }

.marketing-header nav,
.marketing-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
}

.marketing-header nav a,
.marketing-footer nav a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.marketing-header nav a:hover,
.marketing-footer nav a:hover { color: var(--coral-deep); }

.release-pill {
  justify-self: end;
  padding: 0.48rem 0.8rem;
  background: rgba(169, 184, 154, 0.15);
  color: var(--sage-deep);
  border: 1px solid rgba(101, 121, 87, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  width: min(1240px, calc(100% - 2.5rem));
  min-height: min(820px, calc(100vh - 88px));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8.5rem) 0 6rem;
}

.home-hero::before {
  position: absolute;
  top: 7%;
  left: -18%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(232, 137, 107, 0.14), transparent 69%);
  content: "";
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--coral-deep);
  font-family: Georgia, var(--serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero-copy { position: relative; z-index: 2; }

.hero-copy h1,
.section-heading h2,
.privacy-copy h2,
.closing-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.hero-copy h1 { font-size: clamp(3rem, 6.4vw, 6.25rem); }

.hero-copy h1 em {
  position: relative;
  color: var(--coral-deep);
  font-style: normal;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 0.04em;
  bottom: -0.02em;
  left: -0.02em;
  height: 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'%3E%3Cpath d='M3 14c55-9 108 0 194-8' fill='none' stroke='%23e8896b' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  content: "";
}

.hero-lede {
  max-width: 38rem;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.6rem;
  margin-top: 2.3rem;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 54px;
  padding: 0.7rem 1.35rem;
  background: var(--ink);
  color: var(--surface);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(73, 55, 46, 0.18);
  font-size: 0.88rem;
  font-weight: 800;
}

.primary-action > span { color: var(--coral); font-size: 0.65rem; }

.text-action {
  color: var(--coral-deep);
  font-size: 0.86rem;
  font-weight: 800;
  text-underline-offset: 0.35em;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.3rem;
  margin: 2.2rem 0 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-list span { color: var(--sage-deep); }

.hero-visual { position: relative; min-height: 620px; }

.map-wash {
  position: absolute;
  inset: 2% -15% -5% -5%;
  color: var(--coral);
  background:
    radial-gradient(circle at 34% 34%, rgba(169, 199, 216, 0.45), transparent 27%),
    radial-gradient(circle at 67% 61%, rgba(169, 184, 154, 0.38), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 243, 0.92), rgba(238, 228, 213, 0.54));
  border-radius: 52% 48% 57% 43% / 44% 48% 52% 56%;
  transform: rotate(-5deg);
}

.map-wash::before,
.map-wash::after {
  position: absolute;
  background: rgba(255, 250, 243, 0.72);
  border-radius: 999px;
  content: "";
}

.map-wash::before { inset: 44% -8% 45% -6%; transform: rotate(18deg); }
.map-wash::after { inset: -6% 55% -6% 38%; transform: rotate(-12deg); }
.map-wash svg { position: relative; z-index: 2; width: 100%; height: 100%; transform: rotate(5deg); }

.phone {
  position: relative;
  overflow: hidden;
  background: #111;
  border: 9px solid #2b2826;
  border-radius: 42px;
  box-shadow: var(--shadow);
}

.phone img { display: block; width: 100%; height: auto; }

.phone-primary {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  width: min(330px, 52vw);
  transform: translateX(-50%) rotate(1.8deg);
}

.phone-island {
  position: absolute;
  z-index: 5;
  top: 9px;
  left: 50%;
  width: 34%;
  height: 25px;
  background: #050505;
  border-radius: 999px;
  transform: translateX(-50%);
}

.memory-card {
  position: absolute;
  z-index: 7;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  align-items: center;
  min-width: 210px;
  padding: 0.9rem;
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 17px;
  box-shadow: 0 20px 55px rgba(69, 54, 46, 0.17);
  backdrop-filter: blur(18px);
}

.memory-card strong { font-size: 0.78rem; }
.memory-card small { grid-column: 2; color: var(--muted); font-size: 0.64rem; }
.memory-card-one { right: -3%; bottom: 17%; transform: rotate(-3deg); }
.memory-card-two { left: -3%; top: 24%; transform: rotate(2deg); }

.mini-photo,
.pin {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.mini-photo.warm { background: linear-gradient(145deg, #e79a77, #b2644b); }
.pin { background: rgba(169, 199, 216, 0.35); color: var(--sky-deep); font-size: 1.3rem; }

.promise-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4rem);
  min-height: 94px;
  padding: 1.2rem;
  background: var(--ink);
  color: var(--surface);
}

.promise-strip p { margin: 0; font-family: var(--serif); font-size: clamp(0.82rem, 1.8vw, 1.08rem); font-weight: 700; }
.promise-strip p span { margin-right: 0.55rem; color: var(--coral); font-family: Georgia, serif; font-size: 0.68rem; }
.promise-strip i { width: 5.4rem; border-top: 1px dashed rgba(255, 250, 243, 0.35); }

.how-section {
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 10rem) 0;
}

.section-heading { max-width: 760px; margin-bottom: 3.5rem; }
.section-heading h2,
.privacy-copy h2 { font-size: clamp(2.1rem, 5vw, 4.35rem); }
.section-heading > p:last-child,
.privacy-copy > p { max-width: 42rem; margin: 1.4rem 0 0; color: var(--muted); }
.section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.section-heading.centered > p:last-child { margin-right: auto; margin-left: auto; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  position: relative;
  min-height: 410px;
  padding: 1.7rem;
  overflow: hidden;
  background: rgba(255, 250, 243, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
}

.step-featured { background: #e9f0f1; transform: translateY(-1.2rem); }
.step-number { color: var(--coral-deep); font-family: Georgia, serif; font-size: 0.72rem; font-weight: 800; }
.step-card h3 { margin: 1.3rem 0 0.6rem; font-family: var(--serif); font-size: 1.45rem; }
.step-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.step-icon {
  position: relative;
  width: 100%;
  height: 190px;
  margin-top: 1rem;
  border-radius: 20px;
}

.photo-stack { background: linear-gradient(145deg, #f3d9cc, #f0e6d8); }
.photo-stack i { position: absolute; width: 104px; height: 130px; border: 8px solid var(--surface); border-radius: 10px; box-shadow: 0 12px 28px rgba(87, 65, 50, 0.12); }
.photo-stack i:nth-child(1) { top: 32px; left: calc(50% - 100px); background: #a9c7d8; transform: rotate(-9deg); }
.photo-stack i:nth-child(2) { top: 22px; left: calc(50% - 35px); background: #e8896b; transform: rotate(7deg); }
.photo-stack i:nth-child(3) { top: 45px; left: calc(50% + 25px); background: #a9b89a; transform: rotate(14deg); }

.route-sketch { background: linear-gradient(145deg, rgba(169, 199, 216, 0.5), rgba(169, 184, 154, 0.4)); }
.route-sketch i { position: absolute; top: 50%; left: 12%; width: 75%; border-top: 4px dashed var(--coral-deep); transform: rotate(-14deg); }
.route-sketch b { position: absolute; top: 62%; left: 15%; width: 20px; height: 20px; background: var(--surface); border: 6px solid var(--coral); border-radius: 50%; }
.route-sketch b:last-child { top: 26%; right: 14%; left: auto; }

.poster-stack { background: linear-gradient(160deg, #777086, #3d4358); }
.poster-stack i { position: absolute; inset: 22px 17%; background: linear-gradient(160deg, #9bbfd2 0 45%, #839b78 45% 72%, #e8d8c4 72%); border: 7px solid var(--surface); box-shadow: 12px 13px 0 rgba(255, 250, 243, 0.25); transform: rotate(-3deg); }

.memories-section {
  padding: clamp(6rem, 11vw, 10rem) 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(169, 199, 216, 0.3), transparent 35rem),
    var(--paper-deep);
}

.memories-section > .section-heading { width: min(760px, calc(100% - 2.5rem)); }
.screens-stage { position: relative; width: min(1250px, calc(100% - 2.5rem)); min-height: 690px; margin: 0 auto; }
.phone-center { position: absolute; z-index: 6; top: 0; left: 50%; width: 310px; transform: translateX(-50%); }
.phone-side { position: absolute; z-index: 3; top: 110px; width: 260px; opacity: 0.88; }
.phone-left { left: 17%; transform: rotate(-8deg); }
.phone-right { right: 17%; transform: rotate(8deg); }

.screen-note { position: absolute; z-index: 8; max-width: 250px; }
.screen-note span { color: var(--coral-deep); font-family: Georgia, serif; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.screen-note h3 { margin: 0.65rem 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.55; }
.screen-note p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.note-left { top: 10%; left: 0; }
.note-right { right: 0; bottom: 14%; }

.privacy-promise {
  position: relative;
  display: grid;
  grid-template-columns: 0.46fr 1.15fr 0.72fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: min(1160px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) 0;
}

.privacy-seal {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: var(--sage-deep);
  color: white;
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px var(--sage-deep), inset 0 0 0 13px rgba(255, 255, 255, 0.5);
  transform: rotate(-8deg);
}

.privacy-seal span { font-family: Georgia, serif; font-size: clamp(0.72rem, 2vw, 1.05rem); font-weight: 800; letter-spacing: 0.12em; line-height: 1.45; text-align: center; }
.privacy-copy a { display: inline-block; margin-top: 1.5rem; color: var(--coral-deep); font-size: 0.85rem; font-weight: 800; text-underline-offset: 0.35em; }
.privacy-facts { margin: 0; border-top: 1px solid var(--line); }
.privacy-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.privacy-facts dt { color: var(--muted); font-size: 0.78rem; }
.privacy-facts dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; font-weight: 800; }

.closing-cta {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(6rem, 12vw, 10rem) 1.25rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(52, 45, 41, 0.86), rgba(52, 45, 41, 0.93)),
    radial-gradient(circle at 25% 30%, var(--coral), transparent 35%),
    var(--ink);
  color: var(--surface);
  text-align: center;
}

.closing-cta::before {
  position: absolute;
  width: 780px;
  height: 360px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  transform: rotate(-12deg);
}

.closing-cta img { position: relative; border-radius: 27px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28); }
.closing-cta .eyebrow { position: relative; margin-top: 1.8rem; color: var(--coral); }
.closing-cta h2 { position: relative; font-size: clamp(2.2rem, 5.5vw, 4.8rem); }
.closing-cta .primary-action { position: relative; margin-top: 2.2rem; background: var(--surface); color: var(--ink); }
.route-stamp { position: absolute; top: 2rem; right: 3rem; color: rgba(255, 255, 255, 0.34); font-family: Georgia, serif; font-size: 0.66rem; letter-spacing: 0.16em; }

.marketing-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 1rem 2.5rem;
  align-items: center;
  width: min(1240px, calc(100% - 2.5rem));
  min-height: 130px;
  margin: 0 auto;
  color: var(--muted);
}

.footer-brand { color: var(--ink); }
.marketing-footer p { margin: 0; font-family: var(--serif); font-size: 0.83rem; }
.marketing-footer small { font-size: 0.68rem; }

.not-found {
  display: grid;
  align-content: center;
  justify-items: start;
  width: min(760px, calc(100% - 2.5rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: 5rem 0;
}

.not-found .brand { margin-bottom: 5rem; }
.not-found h1 { margin: 0; font-family: var(--serif); font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1.25; letter-spacing: -0.055em; }
.not-found > p:not(.eyebrow) { max-width: 32rem; margin: 1.6rem 0 2rem; color: var(--muted); }
.not-found .primary-action { text-decoration: none; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s ease, transform 0.75s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.step-card:nth-child(2) { transition-delay: 0.1s; }
.step-card:nth-child(3) { transition-delay: 0.2s; }

@media (max-width: 980px) {
  .marketing-header { grid-template-columns: 1fr auto; }
  .marketing-header nav { display: none; }
  .home-hero { grid-template-columns: 1fr 0.9fr; gap: 2rem; }
  .memory-card-two { left: -15%; }
  .memory-card-one { right: -15%; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card { display: grid; grid-template-columns: minmax(180px, 0.8fr) 1.2fr; column-gap: 2rem; min-height: 260px; }
  .step-card .step-number { grid-column: 1 / -1; }
  .step-card .step-icon { grid-row: 2 / 4; height: 200px; }
  .step-card h3 { align-self: end; }
  .step-featured { transform: none; }
  .phone-left { left: 6%; }
  .phone-right { right: 6%; }
  .screen-note { display: none; }
  .privacy-promise { grid-template-columns: 180px 1fr; }
  .privacy-facts { grid-column: 2; }
  .marketing-footer { grid-template-columns: 1fr auto; padding: 2rem 0; }
  .marketing-footer > p { display: none; }
}

@media (max-width: 700px) {
  .marketing-header { width: min(100% - 1.5rem, 1240px); min-height: 72px; }
  .brand { font-size: 1.16rem; }
  .brand img { width: 38px; height: 38px; }
  .release-pill { font-size: 0.61rem; }
  .home-hero { display: block; width: min(100% - 2rem, 1240px); min-height: auto; padding: 4rem 0 3rem; }
  .hero-copy h1 { font-size: clamp(3.1rem, 16vw, 4.6rem); }
  .hero-lede br { display: none; }
  .hero-visual { min-height: 570px; margin-top: 3.5rem; }
  .hero-visual,
  .screens-stage { overflow: clip; }
  .map-wash { inset: 2% 0 -5%; transform: none; }
  .map-wash svg { transform: none; }
  .phone-primary { width: 270px; }
  .memory-card { min-width: 184px; padding: 0.72rem; }
  .memory-card-one { right: -2%; bottom: 18%; }
  .memory-card-two { top: 30%; left: -2%; }
  .promise-strip { gap: 0.7rem; padding: 1rem 0.5rem; }
  .promise-strip i { width: 1.2rem; }
  .promise-strip p span { display: none; }
  .how-section { width: min(100% - 2rem, 1160px); }
  .section-heading h2 br,
  .privacy-copy h2 br { display: none; }
  .step-card { display: block; min-height: 0; }
  .step-card .step-icon { height: 190px; }
  .screens-stage { min-height: 590px; }
  .phone-center { width: 260px; }
  .phone-side { top: 100px; width: 210px; opacity: 0.6; }
  .phone-left { left: -22%; }
  .phone-right { right: -22%; }
  .privacy-promise { display: block; width: min(100% - 2rem, 1160px); }
  .privacy-seal { width: 130px; margin-bottom: 2rem; }
  .privacy-facts { margin-top: 2.4rem; }
  .route-stamp { display: none; }
  .marketing-footer { display: flex; flex-wrap: wrap; justify-content: space-between; width: min(100% - 2rem, 1240px); }
  .marketing-footer nav { width: 100%; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
