:root {
  --ink: #171411;
  --muted: #6f6660;
  --line: #f0dfce;
  --paper: #fffdf8;
  --cream: #fff5e9;
  --orange: #ed5a19;
  --orange-dark: #c94717;
  --yellow: #ffc72f;
  --green: #78c914;
  --moss: #355119;
  --blue: #9fc9f9;
  --pink: #eba5c7;
  --shadow: 0 20px 60px rgba(81, 48, 25, 0.14);
  --radius-card: 8px;
  --max: 1160px;
  --hero-max: 1360px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.material-symbols-rounded {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25em;
  line-height: 1;
  vertical-align: -0.16em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px max(18px, calc((100% - var(--hero-max)) / 2 + 24px));
  border-bottom: 1px solid rgba(240, 223, 206, 0.78);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.12rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.2vw, 28px);
  color: #4d4640;
  font-weight: 800;
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 30px rgba(237, 90, 25, 0.22);
}

.button-secondary {
  border-color: #efd8c2;
  background: #fff;
  color: var(--ink);
}

.nav-cta:hover,
.button:hover,
.nav-cta:focus-visible,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--orange-dark);
  box-shadow: 0 18px 36px rgba(201, 71, 23, 0.28);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(740px, calc(100svh - 150px));
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.96) 0%, rgba(255, 253, 248, 0.86) 48%, rgba(255, 244, 226, 0.78) 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  content: "";
}

.hero-scene {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: min(100%, var(--hero-max));
  pointer-events: none;
  transform: translateX(-50%);
}

.board-cloud {
  position: absolute;
  top: 12%;
  right: 4%;
  display: none;
  width: min(42vw, 500px);
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  opacity: 0.42;
  transform: rotate(-4deg);
}

.board-cloud span {
  aspect-ratio: 1;
  border: 3px dashed rgba(237, 90, 25, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.board-cloud .done {
  border-style: solid;
  background: #fff;
}

.board-cloud .free {
  border-style: solid;
  background: var(--yellow);
}

.board-cloud .shot {
  border-style: solid;
  background: rgba(120, 201, 20, 0.7);
}

.phone-mock {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 10px solid #15110f;
  border-radius: 34px;
  background: #15110f;
  box-shadow: var(--shadow);
}

.phone-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 23px;
}

.hero-phone {
  position: absolute;
}

.primary-shot {
  right: clamp(0px, 4vw, 64px);
  bottom: -10%;
  width: min(31vw, 360px);
  aspect-ratio: 9 / 19.5;
  transform: rotate(5deg);
}

.secondary-shot {
  right: clamp(290px, 30vw, 430px);
  bottom: 7%;
  width: min(20vw, 240px);
  aspect-ratio: 9 / 19.5;
  opacity: 0.92;
  transform: rotate(-5deg);
}

.hero-tilly {
  position: absolute;
  top: 15%;
  right: clamp(24px, 5vw, 84px);
  width: clamp(88px, 10vw, 140px);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(237, 90, 25, 0.18);
  animation: tillyBob 4.8s ease-in-out infinite;
}

.hero-content {
  width: min(620px, calc(100% - 36px));
  align-self: center;
  margin-left: max(18px, calc((100% - var(--hero-max)) / 2 + 52px));
  padding: 58px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.download-section h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 0.95;
}

.hero h1 {
  font-size: clamp(5rem, 15vw, 12.5rem);
}

.hero-lede {
  max-width: 560px;
  margin: 22px 0 0;
  color: #352e29;
  font-size: clamp(1.16rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.32;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(237, 90, 25, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #443d37;
  font-weight: 900;
}

.hero-badges .material-symbols-rounded {
  color: var(--orange);
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(var(--max), calc(100% - 36px));
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: -34px auto 0;
}

.proof-strip div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 10px 28px rgba(81, 48, 25, 0.06);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  font-size: 1.08rem;
  font-weight: 900;
}

.proof-strip span {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 118px) 0 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 32px;
}

.section-heading h2,
.moments-copy h2,
.premium-copy h2,
.mode-section h2,
.download-section h2 {
  font-size: clamp(2.35rem, 5.4vw, 5rem);
}

.section-heading p:not(.eyebrow),
.moments-copy p,
.premium-copy p,
.mode-section p,
.download-section p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 700;
}

.steps,
.feature-grid,
.use-grid,
.pricing-grid,
.mode-cards {
  display: grid;
  gap: 16px;
}

.steps {
  grid-template-columns: repeat(4, 1fr);
}

.step-card,
.feature-card,
.use-grid article,
.price-card,
.mode-cards article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 14px 38px rgba(81, 48, 25, 0.06);
}

.step-card {
  padding: 54px 20px 22px;
}

.step-number {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
}

.step-icon,
.feature-card > .material-symbols-rounded,
.use-grid .material-symbols-rounded,
.mode-cards .material-symbols-rounded {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff1e7;
  color: var(--orange);
  font-size: 1.7rem;
}

h2,
h3,
h4,
p {
  overflow-wrap: anywhere;
}

.step-card h3,
.feature-card h3,
.use-grid h3,
.mode-cards h3,
.pack-card h4,
.price-card h3 {
  margin: 18px 0 8px;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.15;
}

.step-card p,
.feature-card p,
.use-grid p,
.mode-cards p,
.pack-card p,
.price-card li,
.price-note {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.gallery-section {
  width: min(1320px, calc(100% - 36px));
}

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

.gallery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(159, 201, 249, 0.16), rgba(255, 199, 47, 0.2)),
    #fff;
  box-shadow: 0 18px 54px rgba(81, 48, 25, 0.08);
}

.gallery-card:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(120, 201, 20, 0.12), rgba(255, 245, 233, 0.92)),
    #fff;
}

.gallery-card:nth-child(3) {
  background:
    linear-gradient(135deg, rgba(237, 90, 25, 0.12), rgba(255, 255, 255, 0.92)),
    #fff;
}

.gallery-card:nth-child(4) {
  background:
    linear-gradient(135deg, rgba(255, 199, 47, 0.2), rgba(255, 255, 255, 0.92)),
    #fff;
}

.gallery-card:nth-child(5) {
  background:
    linear-gradient(135deg, rgba(235, 165, 199, 0.18), rgba(255, 255, 255, 0.92)),
    #fff;
}

.gallery-phone {
  width: min(100%, 230px);
  aspect-ratio: 9 / 19.5;
  justify-self: center;
  border-width: 7px;
  border-radius: 26px;
}

.gallery-phone img {
  border-radius: 18px;
}

.gallery-copy {
  max-width: 100%;
}

.gallery-copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
}

.gallery-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: #4d4640;
  font-size: 1rem;
  font-weight: 800;
}

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

.feature-card,
.use-grid article,
.mode-cards article {
  padding: 24px;
}

.feature-card:nth-child(2) > .material-symbols-rounded,
.use-grid article:nth-child(2) .material-symbols-rounded {
  background: #edf8dc;
  color: var(--moss);
}

.feature-card:nth-child(3) > .material-symbols-rounded,
.use-grid article:nth-child(3) .material-symbols-rounded {
  background: #e9f4ff;
  color: #345c9e;
}

.feature-card:nth-child(4) > .material-symbols-rounded,
.use-grid article:nth-child(4) .material-symbols-rounded {
  background: #fff3c8;
  color: #9a6214;
}

.feature-card:nth-child(5) > .material-symbols-rounded {
  background: #fce7ef;
  color: #9a4367;
}

.feature-card:nth-child(6) > .material-symbols-rounded {
  background: #eef4e7;
  color: var(--moss);
}

.pack-groups {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 20px;
}

.pack-groups h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 900;
}

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

.pack-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 136px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 14px 36px rgba(81, 48, 25, 0.05);
}

.pack-card > .material-symbols-rounded {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  font-size: 2.25rem;
}

.pack-card h4 {
  margin-top: 0;
}

.pack-home > .material-symbols-rounded {
  background: #ffc47f;
  color: #72351f;
}

.pack-nature > .material-symbols-rounded {
  background: #a4d856;
  color: #213b10;
}

.pack-birthday > .material-symbols-rounded {
  background: var(--pink);
  color: #8b4564;
}

.pack-wedding > .material-symbols-rounded {
  background: #fff1f3;
  color: #b54452;
}

.pack-team > .material-symbols-rounded {
  background: var(--blue);
  color: #4a5b9c;
}

.pack-school > .material-symbols-rounded {
  background: #ffe183;
  color: #8d5d35;
}

.moments-section,
.premium-section,
.mode-section,
.download-section {
  display: grid;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
}

.moments-section {
  grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.1fr);
}

.check-list,
.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 900;
}

.check-list .material-symbols-rounded,
.price-card li .material-symbols-rounded {
  color: var(--green);
  font-size: 1.35rem;
}

.moment-phones {
  position: relative;
  min-height: 640px;
}

.result-phone {
  position: absolute;
  top: 0;
  left: 6%;
  width: min(48%, 300px);
  aspect-ratio: 9 / 19.5;
}

.result-phone.offset {
  top: 72px;
  right: 2%;
  left: auto;
}

.use-grid {
  grid-template-columns: repeat(4, 1fr);
}

.premium-section {
  width: min(1220px, calc(100% - 36px));
  grid-template-columns: minmax(280px, 0.8fr) minmax(500px, 1.2fr);
}

.pricing-grid {
  grid-template-columns: repeat(2, 1fr);
}

.price-card {
  padding: 26px;
}

.price-card h3 {
  margin: 0 0 4px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.price-note {
  font-weight: 900;
}

.premium-card {
  border: 3px solid var(--orange);
  background: #fff8e5;
}

.plan-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.mode-section {
  grid-template-columns: minmax(280px, 0.86fr) minmax(420px, 1fr);
  padding-bottom: clamp(60px, 9vw, 118px);
}

.mode-cards {
  grid-template-columns: repeat(2, 1fr);
}

.mode-cards .coming-soon {
  background: #f5f7fb;
}

.mode-cards .coming-soon .material-symbols-rounded {
  background: #e9edf5;
  color: #667188;
}

.download-section {
  width: min(var(--max), calc(100% - 36px));
  grid-template-columns: minmax(220px, 360px) minmax(300px, 1fr);
  margin: 0 auto clamp(42px, 7vw, 72px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid #f0d8bd;
  border-radius: var(--radius-card);
  background:
    linear-gradient(135deg, rgba(255, 199, 47, 0.2), rgba(237, 90, 25, 0.08)),
    #fff8ec;
  color: var(--ink);
  box-shadow: 0 18px 54px rgba(81, 48, 25, 0.08);
}

.download-section h2 {
  color: var(--ink);
}

.download-section p {
  color: #5f554d;
}

.download-section .button-secondary {
  border-color: #e8cdb1;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.download-section .store-button {
  position: relative;
  min-width: 156px;
  border-color: #e8cdb1;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(81, 48, 25, 0.08);
  font-size: 30px;
  padding: 20px;
}

.download-section .store-button:hover,
.download-section .store-button:focus-visible {
  border-color: #dcb88f;
  background: #fff;
  box-shadow: 0 16px 34px rgba(81, 48, 25, 0.12);
}

.coming-soon-badge {
  position: absolute;
  top: -11px;
  right: -10px;
  display: none;
  padding: 4px 8px;
  border: 1px solid rgba(237, 90, 25, 0.26);
  border-radius: 999px;
  background: #fff3df;
  color: var(--orange-dark);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(81, 48, 25, 0.08);
}

.download-actions.is-coming-soon .coming-soon-badge {
  display: inline-flex;
}

.tilly-widget {
  position: relative;
  display: grid;
  gap: 12px;
  justify-items: center;
  width: min(100%, 320px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.tilly-widget img {
  width: min(72%, 220px);
  border-radius: 24px;
  transition: transform 180ms ease;
}

.tilly-widget span {
  display: inline-flex;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid #efdbc6;
  background: rgba(255, 255, 255, 0.74);
  color: #4d4037;
  font-weight: 900;
}

.tilly-widget:hover img,
.tilly-widget:focus-visible img,
.tilly-widget.is-happy img {
  transform: translateY(-4px) rotate(-2deg) scale(1.02);
}

.spark {
  position: fixed;
  z-index: 100;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--yellow);
  pointer-events: none;
  animation: sparkOut 650ms ease-out forwards;
}

.spark:nth-child(2n) {
  background: var(--green);
}

.spark:nth-child(3n) {
  background: var(--blue);
}

.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 9999;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(240, 223, 206, 0.96);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 18px 50px rgba(81, 48, 25, 0.2);
  backdrop-filter: blur(18px);
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-consent p {
  margin: 0;
  color: #4d4640;
  font-size: 0.95rem;
  font-weight: 800;
}

.cookie-consent a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-buttons {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.cookie-btn {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.cookie-btn:hover,
.cookie-btn:focus-visible {
  transform: translateY(-1px);
}

.cookie-btn-reject {
  border: 1px solid #ead7c2;
  background: #fffaf2;
  color: #4d4640;
}

.cookie-btn-reject:hover,
.cookie-btn-reject:focus-visible {
  border-color: #d8bea3;
}

.cookie-btn-accept {
  border: 1px solid var(--orange);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 22px rgba(237, 90, 25, 0.22);
}

.cookie-btn-accept:hover,
.cookie-btn-accept:focus-visible {
  background: var(--orange-dark);
}

.more-from {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 8px;
}

.more-from-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.more-from-card:hover,
.more-from-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}

.more-from-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  flex-shrink: 0;
}

.more-from-body {
  flex: 1 1 280px;
  display: grid;
  gap: 3px;
}

.more-from-eyebrow {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
}

.more-from-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ink);
}

.more-from-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--muted);
}

.more-from-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 12px 22px;
  transition: background 0.2s ease;
}

.more-from-card:hover .more-from-cta,
.more-from-card:focus-visible .more-from-cta {
  background: var(--orange-dark);
}

.more-from-cta .material-symbols-rounded {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .more-from-cta {
    width: 100%;
    justify-content: center;
  }
}

.site-footer {
  display: flex;
  width: min(var(--max), calc(100% - 36px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #4d4640;
}

.footer-links a {
  font-weight: 900;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--orange-dark);
}

.footer-meta {
  display: grid;
  gap: 4px;
  text-align: right;
}

.footer-meta a {
  color: #4d4640;
  font-weight: 900;
}

.legal-page {
  background:
    linear-gradient(180deg, rgba(255, 245, 233, 0.8), rgba(255, 253, 248, 0.96) 360px),
    var(--paper);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(18px, calc((100% - var(--max)) / 2));
  border-bottom: 1px solid rgba(240, 223, 206, 0.78);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(18px);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4d4640;
  font-weight: 900;
}

.legal-back:hover,
.legal-back:focus-visible {
  color: var(--orange-dark);
}

.legal-wrapper {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 92px) 0 clamp(68px, 9vw, 110px);
}

.legal-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 900;
  line-height: 0.95;
}

.legal-date {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 800;
}

.legal-section {
  margin-top: 26px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 38px rgba(81, 48, 25, 0.05);
}

.legal-section h2,
.legal-section h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.12;
}

.legal-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.legal-section h3 {
  margin-top: 20px;
  font-size: 1.16rem;
}

.legal-section p,
.legal-section li {
  color: #4d4640;
  font-weight: 700;
}

.legal-section p {
  margin: 12px 0 0;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-section a {
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.legal-callout {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid #e6cfae;
  border-radius: var(--radius-card);
  background: #fff3df;
  color: #4d4037;
  font-weight: 800;
}

@keyframes tillyBob {
  0%,
  100% {
    transform: translateY(0) rotate(2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

@keyframes sparkOut {
  from {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(var(--spark-x), var(--spark-y)) rotate(160deg) scale(0.2);
  }
}

@media (max-width: 1200px) {
  .site-header {
    padding-right: 32px;
    padding-left: 32px;
  }

  .section,
  .proof-strip,
  .gallery-section,
  .premium-section,
  .download-section,
  .site-footer {
    width: calc(100% - 64px);
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    padding: 0 32px;
    background: #fffdf8;
  }

  .hero::before {
    background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  }

  .hero-content {
    z-index: 1;
    order: 1;
    width: min(720px, 100%);
    margin: 0 auto;
    padding: clamp(48px, 7vw, 74px) 0 0;
  }

  .hero-scene {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    z-index: 0;
    order: 2;
    width: min(720px, 100%);
    height: clamp(440px, 54vw, 560px);
    margin: clamp(18px, 3vw, 34px) auto 0;
    overflow: hidden;
    transform: none;
  }

  .primary-shot {
    right: 7%;
    bottom: -3%;
    width: min(30vw, 260px);
  }

  .secondary-shot {
    right: auto;
    bottom: 4%;
    left: 12%;
    width: min(22vw, 190px);
  }

  .hero-tilly {
    top: 2%;
    right: 11%;
    width: clamp(78px, 10vw, 116px);
  }

  .proof-strip {
    margin-top: 22px;
  }
}

@media (max-width: 1050px) {
  .steps,
  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pack-groups,
  .moments-section,
  .premium-section,
  .mode-section {
    grid-template-columns: 1fr;
  }

  .moment-phones {
    min-height: 560px;
  }

  .result-phone {
    left: 15%;
  }

  .result-phone.offset {
    right: 15%;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .nav-cta {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
    background: #fffdf8;
  }

  .hero::before {
    background: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  }

  .hero-scene {
    width: min(620px, 100%);
    height: clamp(390px, 64vw, 500px);
  }

  .board-cloud {
    display: none;
  }

  .hero-phone,
  .hero-tilly {
    display: block;
  }

  .primary-shot {
    right: 6%;
    top: 18px;
    bottom: auto;
    width: min(40vw, 220px);
    transform: rotate(3deg);
  }

  .secondary-shot {
    bottom: 5%;
    left: 8%;
    width: min(30vw, 160px);
    transform: rotate(-4deg);
  }

  .hero-tilly {
    top: 0;
    right: 9%;
    width: clamp(68px, 12vw, 92px);
  }

  .hero-content {
    align-self: start;
    margin: 0 auto;
    padding: clamp(42px, 10vw, 70px) 0 0;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 22vw, 7rem);
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-content {
    width: min(360px, 100%);
    margin-right: auto;
    margin-left: 0;
  }

  .hero-actions,
  .download-actions {
    align-items: stretch;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

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

  .hero-actions .button {
    flex: 0 0 auto;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  .steps,
  .feature-grid,
  .use-grid,
  .pricing-grid,
  .mode-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-phone {
    width: min(76vw, 260px);
  }

  .pack-card {
    grid-template-columns: 58px 1fr;
    min-height: auto;
  }

  .pack-card > .material-symbols-rounded {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    font-size: 1.9rem;
  }

  .moment-phones {
    min-height: 520px;
  }

  .result-phone {
    left: 0;
    width: min(54%, 250px);
  }

  .result-phone.offset {
    right: 0;
  }

  .download-section {
    grid-template-columns: 1fr;
  }

  .tilly-widget {
    width: 100%;
  }

  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 13px;
  }

  .cookie-consent-content {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .cookie-consent p {
    font-size: 0.9rem;
  }

  .cookie-consent-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .site-header,
  .section,
  .proof-strip,
  .gallery-section,
  .premium-section,
  .download-section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-header {
    width: 100%;
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-content {
    width: min(360px, calc(100% - 24px));
    padding-bottom: 218px;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .section-heading h2,
  .moments-copy h2,
  .premium-copy h2,
  .mode-section h2,
  .download-section h2 {
    font-size: clamp(2.15rem, 15vw, 3.2rem);
  }

}
