@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/nunito-400.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/nunito-500.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/nunito-600.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/nunito-700.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/nunito-800.ttf") format("truetype");
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/nunito-900.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700.ttf") format("truetype");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/poppins-800.ttf") format("truetype");
}

:root {
  color-scheme: light;
  --canvas: #fff1de;
  --surface: #fffaf3;
  --surface-strong: #fffdf8;
  --surface-soft: #fff4ea;
  --ink: #14161f;
  --muted: #5f606c;
  --muted-soft: #8c7f7f;
  --line: #ead8c2;
  --berry: #a83e72;
  --berry-dark: #853156;
  --berry-deep: #37283d;
  --pink: #f2c3c8;
  --peach: #ffe6d2;
  --spark: #ffad78;
  --olive: #a5a268;
  --mint: #d9eeee;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 42px rgba(91, 59, 35, 0.13);
  --shadow-soft: 0 10px 26px rgba(91, 59, 35, 0.09);
  --font-heading: "Poppins", ui-rounded, "SF Pro Rounded", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Nunito", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 244, 229, 0.98), rgba(255, 239, 218, 0.98)),
    var(--canvas);
}

body,
button,
input,
textarea {
  font-family: var(--font-body);
}

a {
  color: inherit;
}

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

.page-frame {
  width: min(1320px, calc(100% - 44px));
  margin: 28px auto;
  overflow: hidden;
  border: 1px solid rgba(138, 91, 54, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.88);
  box-shadow: var(--shadow-card);
}

.app-frame {
  max-width: 1040px;
}

.site-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 54px;
  border-bottom: 1px solid rgba(138, 91, 54, 0.14);
  background: rgba(255, 253, 248, 0.74);
}

.brand-link,
.top-nav,
.breadcrumb-nav,
.store-row,
.app-links-bar,
.footer-social,
.legal-actions {
  display: flex;
  align-items: center;
}

.brand-link {
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
}

.brand-logo img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.top-nav,
.breadcrumb-nav {
  gap: 28px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.top-nav a,
.breadcrumb-nav a,
.app-footer a,
.text-link,
.back-link {
  color: inherit;
  text-decoration: none;
}

.top-nav a:hover,
.breadcrumb-nav a:hover,
.text-link:hover,
.back-link:hover,
.app-footer a:hover {
  color: var(--berry);
}

.breadcrumb-nav {
  gap: 12px;
  color: var(--muted);
}

.breadcrumb-nav a:first-child,
.breadcrumb-nav span:last-child {
  color: var(--berry);
}

.home-hero {
  display: grid;
  min-height: 400px;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 36px;
  padding: 56px 72px 62px;
  background: linear-gradient(90deg, #fffaf3 0%, #fff4e7 100%);
}

.hero-copy-block {
  max-width: 500px;
}

.brand-kicker {
  margin: 0 0 12px;
  color: var(--berry);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
}

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

h1,
h2,
h3,
.app-title,
.brand {
  color: var(--ink);
  font-family: var(--font-heading);
}

h1 {
  font-size: 66px;
  font-weight: 800;
  line-height: 0.98;
}

h2 {
  font-size: 33px;
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.16;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.hero-copy-block p:not(.brand-kicker) {
  max-width: 430px;
  margin-top: 26px;
  font-size: 18px;
}

button,
.button,
.button-link,
.card-pill,
.store-badge,
.soft-pill,
.app-status {
  border: 0;
  border-radius: 13px;
  font-family: var(--font-body);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  padding: 0 24px;
  background: var(--berry);
  color: #fff;
  box-shadow: 0 10px 20px rgba(168, 62, 114, 0.2);
  font-size: 14px;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.hero-flask {
  width: min(360px, 82%);
  filter: drop-shadow(0 20px 20px rgba(122, 73, 51, 0.12));
  z-index: 1;
}

.hero-sparkles {
  position: absolute;
  width: min(470px, 100%);
  opacity: 0.95;
}

.apps-section {
  padding: 32px 72px 76px;
  background: rgba(255, 250, 243, 0.78);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
}

.section-heading p {
  margin-top: 8px;
  color: var(--muted-soft);
}

.app-grid {
  display: grid;
  max-width: 1060px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 auto;
}

.app-card {
  display: grid;
  min-height: 322px;
  justify-items: center;
  align-content: start;
  padding: 34px 34px 30px;
  border: 1px solid rgba(145, 92, 61, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-card-featured:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.app-icon-card,
.app-icon-large,
.legal-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(145, 92, 61, 0.1);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #fffaf3, #ffeade);
  box-shadow: var(--shadow-soft);
}

.app-icon-card {
  width: 116px;
  height: 116px;
  margin-bottom: 24px;
}

.app-icon-card img {
  width: 82px;
  height: 82px;
}

.app-icon-card .gotchi-site-icon {
  width: 82px;
  height: auto;
}

.app-icon-card.is-gotchi,
.app-icon-large.is-gotchi {
  position: relative;
  isolation: isolate;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.app-icon-card.is-gotchi::before,
.app-icon-large.is-gotchi::before,
.gotchi-icon-frame::before {
  position: absolute;
  z-index: -2;
  content: "";
  border: 1px solid rgba(145, 92, 61, 0.14);
  background: rgba(255, 250, 243, 0.86);
  box-shadow:
    0 18px 38px rgba(91, 59, 35, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.app-icon-card.is-gotchi::after,
.app-icon-large.is-gotchi::after,
.gotchi-icon-frame::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(168, 62, 114, 0.12);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 -10px 18px rgba(255, 231, 218, 0.42);
}

.app-icon-card.is-gotchi::before {
  inset: -12px;
  border-radius: 36px;
}

.app-icon-card.is-gotchi::after {
  inset: -4px;
  border-radius: 31px;
}

.app-icon-large.is-gotchi::before {
  inset: -18px;
  border-radius: 50px;
}

.app-icon-large.is-gotchi::after {
  inset: -6px;
  border-radius: 42px;
}

.app-icon-card .gotchi-app-icon,
.app-icon-large .gotchi-app-icon,
.phone-mockup .gotchi-app-icon,
.feature-strip .gotchi-app-icon {
  position: relative;
  z-index: 1;
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.app-icon-card .gotchi-app-icon {
  width: 116px;
  height: 116px;
  border-radius: 28px;
}

.app-icon-card.is-flash,
.app-icon-large.is-flash {
  border: 0;
  background: linear-gradient(145deg, #111421, #07070d);
  box-shadow:
    0 20px 38px rgba(6, 8, 15, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.app-icon-card .flash-app-icon,
.app-icon-large .flash-app-icon {
  display: block;
  object-fit: cover;
  box-shadow: 0 18px 30px rgba(6, 8, 15, 0.24);
}

.app-icon-card .flash-app-icon {
  width: 116px;
  height: 116px;
  border-radius: 28px;
}

.app-card-flash {
  border-color: rgba(255, 189, 73, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.95), rgba(255, 245, 232, 0.92)),
    #fffaf3;
}

.card-title {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.card-copy {
  max-width: 320px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.58;
}

.card-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0 22px;
  background: #f9dce0;
  color: var(--berry-dark);
  font-size: 14px;
}

.card-pill-muted {
  color: #7d596b;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 0 54px;
  background: var(--berry-deep);
  color: #fffaf3;
}

.site-footer span {
  color: rgba(255, 250, 243, 0.82);
  font-size: 14px;
  text-align: center;
}

.footer-brand,
.footer-brand span {
  color: #fffaf3;
}

.footer-social {
  justify-self: end;
  gap: 20px;
}

.footer-social span,
.footer-social a {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fffaf3;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.gotchi-hero {
  position: relative;
  display: grid;
  min-height: 390px;
  grid-template-columns: 170px minmax(0, 1fr) 230px;
  gap: 34px;
  align-items: center;
  padding: 64px 64px 0;
  background: linear-gradient(90deg, #fffaf3 0%, #fff4e8 100%);
}

.app-icon-large {
  width: 150px;
  height: 150px;
}

.app-icon-large img {
  width: 112px;
  height: 112px;
}

.app-icon-large .gotchi-site-icon {
  width: 118px;
  height: auto;
}

.app-icon-large .gotchi-app-icon {
  width: 150px;
  height: 150px;
  border-radius: 36px;
}

.gotchi-copy h1 {
  font-size: 50px;
  line-height: 0.98;
}

.gotchi-copy p {
  max-width: 480px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.72;
}

.badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-top: 14px;
  padding: 0 14px;
  border-radius: 11px;
  background: #f7d9df;
  color: var(--berry);
  font-size: 13px;
  font-weight: 800;
}

.store-row {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.store-badge {
  display: flex;
  min-width: 142px;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #141414;
  color: #fff;
  box-shadow: 0 8px 16px rgba(20, 20, 20, 0.16);
}

.store-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.store-badge strong,
.store-badge small {
  display: block;
  line-height: 1.05;
}

.store-badge strong {
  font-size: 14px;
}

.store-badge small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.store-badge-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.store-badge-link {
  display: block;
  width: 148px;
  max-width: 100%;
  line-height: 0;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 140ms ease, opacity 140ms ease;
}

.store-badge-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.store-badge-link:hover,
.store-badge-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.95;
}

.phone-mockup {
  position: relative;
  align-self: end;
  width: 195px;
  height: 332px;
  overflow: hidden;
  border: 10px solid #121217;
  border-bottom-width: 0;
  border-radius: 32px 32px 0 0;
  background: #fffaf3;
  box-shadow: 0 20px 24px rgba(26, 18, 18, 0.16);
  text-align: center;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 76px;
  height: 19px;
  border-radius: 0 0 14px 14px;
  background: #121217;
  transform: translateX(-50%);
}

.phone-status {
  height: 34px;
}

.phone-mockup h3 {
  padding: 0 22px;
  font-size: 12px;
  line-height: 1.2;
}

.phone-mockup img {
  width: 80px;
  height: auto;
  margin: 14px auto 10px;
}

.phone-mockup .gotchi-site-icon {
  width: 94px;
  margin-top: 22px;
  margin-bottom: 18px;
}

.phone-mockup .gotchi-app-icon {
  width: 94px;
  height: 94px;
  border-radius: 24px;
}

.gotchi-icon-frame {
  position: relative;
  isolation: isolate;
  display: grid;
  width: max-content;
  place-items: center;
}

.gotchi-icon-frame-phone {
  margin: 16px auto 14px;
}

.gotchi-icon-frame-phone::before {
  inset: -9px;
  border-radius: 32px;
}

.gotchi-icon-frame-phone::after {
  inset: -3px;
  border-radius: 28px;
}

.gotchi-icon-frame-mini::before {
  inset: -5px;
  border-radius: 13px;
}

.gotchi-icon-frame-mini::after {
  inset: -2px;
  border-radius: 11px;
}

.mood-row {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 16px;
}

.mood-row span {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #f4d0bd;
}

.mood-row span:nth-child(4),
.mood-row span:nth-child(5) {
  background: #da698f;
}

.calendar-card {
  margin: 0 18px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(91, 59, 35, 0.08);
}

.calendar-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-grid span {
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f6eee6;
}

.calendar-grid .active-day {
  background: var(--berry);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 34px 64px;
  border-top: 1px solid rgba(138, 91, 54, 0.14);
  background: #fffaf3;
}

.feature-strip article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
}

.feature-strip img,
.mini-calendar {
  width: 28px;
  height: 28px;
}

.feature-strip .feature-gotchi-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  align-self: start;
  margin-top: 2px;
}

.feature-strip h2 {
  font-size: 17px;
}

.feature-strip p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.65;
}

.screenshot-showcase {
  padding: 44px 64px 48px;
  border-top: 1px solid rgba(138, 91, 54, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(255, 244, 234, 0.76));
}

.showcase-head {
  max-width: 620px;
  margin-bottom: 26px;
}

.showcase-head h2 {
  font-size: 34px;
  line-height: 1.05;
}

.showcase-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.screenshot-rail {
  display: grid;
  grid-auto-columns: minmax(190px, 220px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 6px 4px 18px;
  scroll-padding-inline: 4px;
  scroll-snap-type: inline mandatory;
}

.screenshot-card {
  scroll-snap-align: start;
  margin: 0;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 600 / 1298;
  object-fit: cover;
  border: 1px solid rgba(138, 91, 54, 0.13);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 18px 34px rgba(91, 59, 35, 0.14);
}

.screenshot-card figcaption {
  margin-top: 12px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.app-store-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 36px;
  padding: 42px 64px;
  border-top: 1px solid rgba(138, 91, 54, 0.14);
  background: rgba(255, 253, 248, 0.72);
}

.info-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 900;
}

.app-store-info h2 {
  max-width: 460px;
  font-size: 34px;
  line-height: 1.05;
}

.app-store-info p {
  max-width: 540px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.store-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.store-facts div {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(138, 91, 54, 0.12);
  border-radius: 14px;
  background: rgba(255, 250, 243, 0.86);
}

.store-facts dt {
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.store-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.health-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 64px;
  border-top: 1px solid rgba(138, 91, 54, 0.14);
  background: #fff4ea;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.health-note strong {
  flex: 0 0 auto;
  color: var(--berry);
  font-weight: 900;
}

.mini-calendar {
  display: block;
  border: 3px solid var(--berry);
  border-radius: 8px;
  background:
    linear-gradient(var(--berry), var(--berry)) 50% 34% / 16px 3px no-repeat,
    linear-gradient(var(--berry), var(--berry)) 50% 60% / 16px 3px no-repeat,
    #fff6ec;
}

.app-links-bar {
  justify-content: space-between;
  gap: 16px;
  padding: 28px 64px;
  border-top: 1px solid rgba(138, 91, 54, 0.14);
  background: #fffdf8;
}

.app-links-bar a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--berry);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.app-links-bar img {
  width: 27px;
  height: 27px;
}

.app-footer {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  border-top: 1px solid rgba(138, 91, 54, 0.14);
  background: rgba(255, 250, 243, 0.86);
  color: var(--muted-soft);
  font-size: 13px;
}

.app-footer a {
  color: var(--berry);
  font-weight: 800;
  text-decoration: none;
}

.flash-body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 196, 74, 0.18), transparent 34%),
    linear-gradient(180deg, #05070d 0%, #10151b 44%, #06070b 100%);
}

.flash-frame {
  border-color: rgba(255, 190, 71, 0.18);
  background: rgba(7, 9, 16, 0.92);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.flash-frame .site-header,
.flash-frame .app-footer {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 13, 0.78);
}

.flash-frame .brand-link,
.flash-frame .breadcrumb-nav span,
.flash-frame .breadcrumb-nav a,
.flash-frame .app-footer span,
.flash-frame .app-footer a {
  color: rgba(255, 248, 232, 0.92);
}

.flash-frame .breadcrumb-nav a:first-child,
.flash-frame .breadcrumb-nav span:last-child,
.flash-frame .app-footer a,
.flash-frame .text-link {
  color: #ffd36b;
}

.flash-hero {
  position: relative;
  display: grid;
  min-height: 560px;
  grid-template-columns: 160px minmax(0, 1fr) 310px;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  padding: 68px 64px 60px;
  background:
    linear-gradient(90deg, rgba(5, 7, 13, 0.75), rgba(5, 8, 15, 0.36)),
    url("/assets/img/flash-recall/forest-bg.png") center / cover no-repeat;
  isolation: isolate;
}

.flash-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 214, 117, 0.18), transparent 24%),
    radial-gradient(circle at 48% 70%, rgba(112, 235, 255, 0.12), transparent 25%),
    linear-gradient(180deg, rgba(4, 6, 10, 0.12), rgba(4, 6, 10, 0.88));
}

.app-icon-large.is-flash {
  width: 150px;
  height: 150px;
  border-radius: 36px;
}

.app-icon-large .flash-app-icon {
  width: 150px;
  height: 150px;
  border-radius: 35px;
}

.flash-copy h1,
.flash-copy h2,
.flash-copy p,
.flash-copy .badge {
  color: #fff7e4;
}

.flash-logo-text {
  width: min(340px, 100%);
  margin-bottom: 16px;
  filter: drop-shadow(0 0 16px rgba(119, 218, 255, 0.35));
}

.flash-copy h1 {
  font-size: 52px;
  line-height: 0.95;
}

.flash-copy p {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 248, 232, 0.78);
  font-size: 16px;
  line-height: 1.76;
}

.flash-copy .badge {
  background: rgba(255, 211, 107, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 211, 107, 0.25);
}

.flash-store-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.flash-status-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid rgba(255, 211, 107, 0.28);
  border-radius: 13px;
  background: rgba(10, 13, 21, 0.68);
  color: #ffd36b;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.flash-phone {
  position: relative;
  align-self: end;
  width: 250px;
  height: 430px;
  overflow: hidden;
  border: 10px solid #07080d;
  border-bottom-width: 0;
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 18, 0.25), rgba(7, 10, 18, 0.82)),
    url("/assets/img/flash-recall/ice-bg.png") center / cover no-repeat;
  box-shadow: 0 24px 34px rgba(0, 0, 0, 0.42);
}

.flash-phone .phone-notch {
  background: #07080d;
}

.flash-phone-title {
  display: grid;
  gap: 3px;
  padding: 34px 22px 0;
  color: #fff7e4;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.flash-phone-title small {
  color: #77e5ff;
  font-size: 10px;
  text-transform: uppercase;
}

.flash-boss-stage {
  position: relative;
  display: grid;
  min-height: 150px;
  place-items: end center;
  margin: 6px 0 4px;
}

.flash-boss-stage::before {
  position: absolute;
  width: 150px;
  height: 104px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  filter: blur(18px);
  content: "";
}

.flash-boss-stage img {
  position: relative;
  z-index: 1;
  width: 170px;
  max-height: 150px;
  object-fit: contain;
}

.flash-memory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 20px;
}

.flash-memory-card {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 248, 242, 0.92);
  box-shadow: 0 10px 20px rgba(4, 6, 10, 0.28);
}

.flash-memory-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.flash-soul-strike {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 14px 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, #6c1c16, #1a0c08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 197, 84, 0.42),
    0 10px 20px rgba(0, 0, 0, 0.32);
  color: #ffe2a0;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.flash-soul-strike img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.flash-feature-strip,
.flash-app-store-info,
.flash-note,
.flash-links-bar {
  border-color: rgba(255, 255, 255, 0.08);
}

.flash-feature-strip {
  background: #080b12;
}

.flash-feature-strip h2,
.flash-app-store-info h2,
.flash-app-store-info .store-facts dd {
  color: #fff7e4;
}

.flash-feature-strip p,
.flash-app-store-info p,
.flash-note span {
  color: rgba(255, 248, 232, 0.7);
}

.flash-feature-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 211, 107, 0.13);
  color: #ffd36b;
  font-size: 16px;
  font-weight: 900;
}

.flash-screenshot-showcase {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 87, 42, 0.16), transparent 34%),
    linear-gradient(180deg, #090c14, #11141d);
}

.flash-screenshot-showcase .showcase-head h2,
.flash-screenshot-showcase .screenshot-card figcaption {
  color: #fff7e4;
}

.flash-screenshot-showcase .showcase-head p {
  color: rgba(255, 248, 232, 0.68);
}

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

.flash-boss-card {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 211, 107, 0.16);
  border-radius: 18px;
  background: #080b12;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.flash-boss-card img {
  width: 100%;
  height: 194px;
  object-fit: cover;
}

.flash-boss-card figcaption {
  margin: 0;
  padding: 14px 16px 16px;
  color: #ffd36b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.flash-app-store-info {
  background: #070a11;
}

.flash-app-store-info .info-kicker,
.flash-app-store-info .store-facts dt,
.flash-note strong,
.flash-links-bar a {
  color: #ffd36b;
}

.flash-app-store-info .store-facts div {
  border-color: rgba(255, 211, 107, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.flash-note {
  background: #101017;
}

.flash-links-bar {
  background: #070a11;
}

.flash-links-bar img {
  filter: saturate(0.2) brightness(1.8);
}

.flash-body .legal-card,
.flash-body .support-card {
  border-color: rgba(255, 211, 107, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 19, 30, 0.96), rgba(8, 10, 17, 0.96)),
    #080b12;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.42);
}

.flash-body .legal-head h1,
.flash-body .legal-card h2,
.flash-body .support-card h2 {
  color: #fff7e4;
}

.flash-body .legal-card p,
.flash-body .legal-card li,
.flash-body .support-card p,
.flash-body .support-card li,
.flash-body .legal-head p {
  color: rgba(255, 248, 232, 0.74);
}

.flash-body .legal-icon {
  border-color: rgba(255, 211, 107, 0.18);
  background: #090c14;
}

.flash-body .legal-icon img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.flash-body .back-link,
.flash-body .text-link,
.flash-body .strong-link {
  color: #ffd36b;
}

.flash-body .button-link {
  background: linear-gradient(180deg, #f4a93a, #9d4a18);
  color: #1d0e07;
  box-shadow: 0 14px 26px rgba(244, 169, 58, 0.18);
}

.legal-page {
  width: min(1020px, calc(100% - 44px));
  min-height: 100vh;
  display: grid;
  align-items: start;
  justify-items: center;
  margin: 0 auto;
  padding: 48px 0;
}

.stacked-legal {
  justify-items: center;
}

.legal-card,
.support-card {
  border: 1px solid rgba(138, 91, 54, 0.13);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: var(--shadow-card);
}

.legal-card {
  width: min(100%, 590px);
  padding: 34px 42px 38px;
}

.compact-legal {
  width: min(100%, 560px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--berry);
  font-size: 13px;
  font-weight: 800;
}

.legal-head {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.legal-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  box-shadow: none;
}

.legal-icon img {
  width: 48px;
  height: 48px;
}

.legal-head h1 {
  font-size: 38px;
}

.legal-head p {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted-soft);
}

.legal-card h2 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 22px;
}

.legal-card > p,
.legal-card li,
.support-card li,
.support-card p {
  font-size: 14px;
}

.legal-card ul,
.support-card ul {
  margin: 0;
  padding-left: 20px;
}

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

.text-link,
.strong-link {
  color: var(--berry);
  font-weight: 800;
}

.support-card {
  width: min(100%, 920px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  padding: 34px 42px;
}

.support-copy {
  min-width: 0;
}

.contact-card {
  width: min(100%, 650px);
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.contact-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.contact-input,
.contact-textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(138, 91, 54, 0.22);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: 2px solid rgba(168, 62, 114, 0.25);
  outline-offset: 1px;
}

.contact-textarea {
  min-height: 156px;
  resize: vertical;
}

.contact-honey {
  position: absolute;
  left: -9999px;
}

.contact-submit {
  width: 100%;
}

.contact-status {
  display: none;
  margin: 0;
  min-height: 20px;
  padding: 10px 12px;
  border-radius: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.contact-status.success {
  display: block;
  background: #e8f4dd;
  color: #355d26;
}

.contact-status.error {
  display: block;
  background: #ffe0e0;
  color: #7b2222;
}

.contact-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.support-art {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: end center;
}

.support-flask {
  width: 220px;
  z-index: 1;
}

.support-sparkles {
  position: absolute;
  width: 290px;
  opacity: 0.86;
}

.not-found {
  margin-top: 56px;
}

.not-found h1 {
  margin-bottom: 14px;
}

@media (max-width: 960px) {
  .page-frame,
  .app-frame {
    width: min(100% - 28px, 720px);
    margin: 14px auto;
  }

  .site-header,
  .home-hero,
  .apps-section,
  .gotchi-hero,
  .feature-strip,
  .app-store-info,
  .health-note,
  .app-links-bar,
  .app-footer,
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .home-hero,
  .gotchi-hero,
  .flash-hero,
  .feature-strip,
  .app-store-info,
  .support-card {
    grid-template-columns: 1fr;
  }

  .health-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-art {
    min-height: 280px;
  }

  h1 {
    font-size: 48px;
  }

  .gotchi-copy h1 {
    font-size: 44px;
  }

  .gotchi-hero {
    gap: 24px;
    padding-top: 44px;
  }

  .flash-hero {
    gap: 26px;
    padding-top: 46px;
  }

  .phone-mockup,
  .flash-phone {
    justify-self: center;
  }

  .flash-showcase-grid {
    grid-template-columns: 1fr;
  }

  .app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .app-links-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .site-footer span {
    text-align: left;
  }

  .footer-social {
    justify-self: start;
  }

  .support-art {
    min-height: 250px;
    place-items: center;
  }
}

@media (max-width: 620px) {
  .page-frame,
  .app-frame,
  .legal-page {
    width: min(100% - 18px, 100%);
  }

  .site-header {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .top-nav,
  .breadcrumb-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .home-hero,
  .apps-section,
  .gotchi-hero,
  .flash-hero,
  .feature-strip,
  .app-store-info,
  .health-note,
  .app-links-bar,
  .app-footer,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy-block p:not(.brand-kicker) {
    font-size: 16px;
  }

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

  .app-card {
    min-height: 300px;
  }

  .store-row,
  .app-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .store-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .store-badge,
  .button-link {
    width: 100%;
  }

  .phone-mockup {
    width: 180px;
    height: 300px;
  }

  .flash-copy h1 {
    font-size: 42px;
  }

  .flash-phone {
    width: 214px;
    height: 374px;
  }

  .flash-boss-stage {
    min-height: 124px;
  }

  .flash-boss-stage img {
    width: 142px;
    max-height: 124px;
  }

  .flash-memory-grid {
    gap: 10px;
    padding: 0 16px;
  }

  .flash-memory-card {
    border-radius: 15px;
  }

  .legal-page {
    padding: 18px 0;
  }

  .legal-card,
  .support-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .legal-head {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }

  .legal-icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .legal-icon img {
    width: 40px;
    height: 40px;
  }

  .legal-head h1 {
    font-size: 30px;
  }
}

