:root {
  --ink: #2b211c;
  --muted: #66564d;
  --cream: #f6f0e5;
  --paper: #fffdf8;
  --rust: #a6402b;
  --rust-dark: #7e2e20;
  --gold: #edbd50;
  --sage: #687864;
  --line: rgba(43, 33, 28, 0.13);
  --shadow: 0 22px 60px rgba(71, 42, 27, 0.13);
}

* { box-sizing: border-box; }

html { overflow-x: hidden; background: var(--cream); }

body {
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, rgba(237, 189, 80, 0.16), transparent 24rem),
    radial-gradient(circle at 92% 68%, rgba(189, 77, 50, 0.08), transparent 25rem),
    var(--cream);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.24;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; }

.page-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { display: grid; width: 44px; height: 44px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--rust); box-shadow: 0 5px 15px rgba(143, 53, 38, 0.23); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mark-sun { fill: none; stroke: #f9d475; stroke-linecap: round; stroke-width: 2.2; }
.mark-bun { fill: #f9d475; }
.mark-slice { fill: none; stroke: var(--rust); stroke-linecap: round; stroke-width: 2.1; }
.mark-dot { fill: var(--rust); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-family: Georgia, serif; font-size: 1.17rem; letter-spacing: -0.03em; }
.brand-copy span, .header-label, .eyebrow, .panel-kicker, .chip-label, .site-footer { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.brand-copy span { color: var(--muted); font-size: 0.52rem; letter-spacing: 0.12em; }
.header-label { color: var(--rust); }

.main-content { padding: 76px 0 34px; }
.hero { display: grid; grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.8fr); align-items: center; gap: 70px; min-height: 430px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--rust); }
.eyebrow span { display: block; width: 21px; height: 2px; background: var(--gold); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 600px; margin-bottom: 22px; font-size: clamp(3.2rem, 6vw, 5.7rem); line-height: 0.94; letter-spacing: -0.065em; }
h1 em { color: var(--rust); font-style: italic; }
.intro { max-width: 430px; margin-bottom: 28px; color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.order-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 9px 15px 9px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 253, 248, 0.7); }
.chip-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--sage); font-size: 0.76rem; font-weight: 800; }
.order-chip > span:last-child { display: grid; min-width: 0; gap: 2px; }
.chip-label { color: var(--muted); font-size: 0.52rem; }
.order-chip strong { overflow-wrap: anywhere; font-size: 0.76rem; letter-spacing: 0.08em; }
.status-message { margin: 22px 0 0; color: #66564d; font-size: 0.8rem; }

.hero-art { position: relative; height: 370px; isolation: isolate; }
.sun-disc { position: absolute; top: 18px; right: 5%; width: 260px; height: 260px; border-radius: 50%; background: var(--gold); opacity: 0.85; }
.sun-disc::after { position: absolute; inset: 17px; border: 1px solid rgba(143, 53, 38, 0.25); border-radius: inherit; content: ""; }
.art-card { position: absolute; left: 21%; width: 224px; height: 282px; border-radius: 7px; transform: rotate(8deg); }
.art-card-back { top: 50px; background: var(--sage); box-shadow: 0 20px 30px rgba(60, 67, 50, 0.17); }
.art-card-front { top: 33px; z-index: 1; display: flex; flex-direction: column; padding: 25px 24px; color: var(--paper); background: var(--rust); box-shadow: 0 26px 40px rgba(104, 48, 32, 0.23); transform: rotate(-7deg); }
.art-card-front::before, .art-card-front::after { position: absolute; width: 52px; height: 52px; border: 1px solid rgba(255, 253, 248, 0.32); border-radius: 50%; content: ""; }
.art-card-front::before { top: -24px; right: -18px; }
.art-card-front::after { bottom: -30px; left: -18px; }
.art-card-label { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.16em; }
.art-card-number { margin: auto 0 8px; font-family: Georgia, serif; font-size: 8.5rem; line-height: 0.78; letter-spacing: -0.12em; }
.art-card-line { width: 100%; height: 1px; margin-bottom: 11px; background: rgba(255, 253, 248, 0.45); }
.art-card-note { font-family: Georgia, serif; font-size: 0.86rem; font-style: italic; }
.bread { position: absolute; z-index: 2; border: 3px solid var(--ink); background: #d78951; box-shadow: inset -5px -6px 0 rgba(143, 53, 38, 0.16); }
.bread::before, .bread::after { position: absolute; width: 2px; height: 34px; border-radius: 50%; background: rgba(143, 53, 38, 0.48); content: ""; transform: rotate(40deg); }
.bread::before { top: 16px; left: 30%; }
.bread::after { top: 10px; left: 60%; }
.bread-one { right: 3%; bottom: 38px; width: 108px; height: 61px; border-radius: 55% 45% 45% 55%; transform: rotate(-18deg); }
.bread-two { bottom: 16px; left: 4%; width: 73px; height: 43px; border-radius: 50%; transform: rotate(18deg); }
.crumb { position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); }
.crumb-one { right: 2%; top: 76px; }.crumb-two { right: 20%; bottom: 14px; width: 11px; height: 11px; background: var(--gold); }.crumb-three { left: 3%; top: 21px; width: 5px; height: 5px; background: var(--sage); }

.download-panel { position: relative; margin-top: 28px; padding: 35px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 253, 248, 0.73); box-shadow: var(--shadow); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-heading .eyebrow { margin-bottom: 8px; }
.panel-heading h2 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -0.05em; }
.platform-panels { display: grid; }
.platform-panel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 19px; padding: 22px; border: 1px solid rgba(43, 33, 28, 0.1); border-radius: 10px; background: var(--paper); }
.platform-panel[hidden] { display: none; }
.app-icon { width: 60px; height: 60px; flex: none; }
.app-icon img { display: block; width: 100%; height: 100%; border-radius: 23px; object-fit: cover; }
.icon-base { fill: var(--rust); }
.icon-bread { fill: var(--gold); }
.icon-score, .icon-stem { fill: none; stroke: var(--rust); stroke-linecap: round; stroke-width: 2.5; }
.icon-detail { fill: var(--rust); }.panel-copy { min-width: 0; }.panel-kicker { margin-bottom: 5px; color: var(--rust); font-size: 0.56rem; }.panel-copy h3 { margin-bottom: 5px; font-size: 1.55rem; letter-spacing: -0.035em; }.panel-copy p:not(.panel-kicker) { max-width: 470px; margin-bottom: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }
.store-button { display: inline-flex; align-items: center; gap: 10px; min-width: 198px; padding: 12px 13px; border-radius: 7px; color: var(--paper); text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.store-button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(43, 33, 28, 0.17); }.store-button:active { transform: translateY(0); }.play-button { background: var(--ink); }.play-button:hover { background: #1d1511; }.app-store-button { background: var(--rust); }.app-store-button:hover { background: var(--rust-dark); }
.store-glyph { position: relative; display: grid; width: 23px; height: 25px; place-items: center; flex: none; }.store-glyph + span { display: grid; gap: 1px; }.store-glyph small { font-size: 0.43rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1; }.store-glyph strong { font-size: 0.99rem; font-weight: 600; line-height: 1.05; }.play-glyph::before { width: 0; height: 0; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 19px solid #64cf88; content: ""; }.play-glyph::after { position: absolute; top: 7px; left: 6px; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid #f9d475; content: ""; }.apple-glyph { color: var(--paper); font-size: 1.62rem; line-height: 1; }.button-arrow { margin-left: auto; color: rgba(255, 253, 248, 0.65); font-size: 1rem; }
.store-badge { display: block; width: 180px; height: auto; }
.desktop-panel { grid-template-columns: auto minmax(0, 1fr) auto; }.phone-hint { display: flex; align-items: center; gap: 9px; color: var(--sage); font-family: Georgia, serif; font-size: 0.83rem; font-style: italic; line-height: 1.2; }.phone-hint-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--sage); border-radius: 50%; font-size: 1.35rem; font-style: normal; }
.no-redirect-note { display: flex; justify-content: center; gap: 8px; margin: 25px 0 0; color: var(--muted); font-size: 0.67rem; }.no-redirect-note span { color: var(--rust); font-size: 0.88rem; }
.site-footer { display: flex; align-items: center; gap: 15px; padding: 27px 0 35px; color: var(--muted); font-size: 0.54rem; }.footer-rule { display: block; width: 32px; height: 1px; background: var(--gold); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 34px, 570px); }.main-content { padding-top: 48px; }.hero { grid-template-columns: 1fr; gap: 10px; min-height: 0; }.hero-art { height: 245px; margin: 12px 0 0; transform: scale(0.82); transform-origin: top center; }.download-panel { margin-top: -15px; padding: 24px 18px; }.panel-heading { display: block; }.panel-heading h2 { margin-top: 4px; }.platform-panel, .desktop-panel { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 17px; }.store-button, .phone-hint { grid-column: 1 / -1; width: 100%; justify-content: center; }.phone-hint { padding-top: 4px; }.phone-hint-icon { width: 32px; height: 32px; }.site-footer { padding-bottom: 24px; }
}

@media (max-width: 420px) {
  .site-header { padding: 22px 0; }.header-label { font-size: 0.52rem; }.brand-mark { width: 39px; height: 39px; }.brand-mark svg { width: 27px; height: 27px; } h1 { font-size: 3rem; }.intro { font-size: 0.94rem; }.hero-art { margin-left: 0; margin-right: 0; }.platform-panel { padding: 14px; }.app-icon { width: 53px; height: 53px; }.panel-copy h3 { font-size: 1.32rem; }.panel-copy p:not(.panel-kicker) { font-size: 0.77rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
