/* Reeldish website. "Night Market" palette from ios/Shared/Design/Theme.swift; design: Figma page "Website". */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #110d0b;
  --card: #1e1714;
  --card-hi: #2a1a14;
  --line: #2e2420;
  --bezel: #3a2e29;
  --cream: #fff4e8;
  --body: #d8cabd;
  --dim: #a89a8e;
  --tomato: #ff5b35;
  --lime: #d9f35a;
  --honey: #f5b841;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --text: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 80px;
  --max: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 16px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.accent { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--tomato); letter-spacing: -0.01em; font-size: 1.14em; line-height: 0.9; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lime); }
.lead { color: var(--dim); font-size: 21px; line-height: 1.45; }
.muted { color: var(--dim); }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--dim); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; background: var(--tomato);
  color: var(--bg) !important; font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s ease, filter .15s ease;
}
.pill:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Apple's official "Download on the App Store" badge (black, en-US), from toolbox.marketingtools.apple.com. Keep it unaltered. */
.badge { display: inline-block; line-height: 0; border-radius: 9px; }
.badge img { height: 56px; width: auto; }

/* chips */
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip { padding: 7px 13px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.chip-label { color: var(--dim); font-size: 14px; font-weight: 500; margin-right: 2px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* phone mock */
.phone {
  aspect-ratio: 1320 / 2868; border-radius: 14% / 6.45%;
  outline: 7px solid var(--bezel); background: var(--card);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .55); overflow: hidden;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* hero */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 760px; padding-top: 20px; padding-bottom: 60px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; position: relative; z-index: 2; }
.hero h1 { font-size: 86px; line-height: .98; }
.hero h1 .line { white-space: nowrap; }
.hero h1 .accent { font-size: 1.15em; }
.hero .lead { max-width: 540px; }
.cta-row { display: flex; align-items: center; gap: 20px; }
.cta-note { color: var(--dim); font-weight: 500; font-size: 15px; }
.hero-art { position: relative; height: 720px; }
.glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; background: var(--tomato); opacity: .28; filter: blur(160px); left: 80px; top: 60px; pointer-events: none; }
.hero-art .phone { position: absolute; }
.hero-art .back { width: 280px; left: 340px; top: 70px; transform: rotate(7deg); }
.hero-art .front { width: 300px; left: 120px; top: 30px; transform: rotate(-4deg); }
.toast {
  position: absolute; left: -30px; top: 470px; z-index: 3;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
.toast img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.toast b { display: block; font-size: 15px; font-weight: 600; }
.toast span { font-size: 13px; color: var(--dim); }
.toast i { width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--bg); display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; }

/* sections */
section { scroll-margin-top: 20px; }
.section { padding-top: 120px; padding-bottom: 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: 60px; }
.section-head p { color: var(--dim); font-size: 19px; line-height: 1.5; max-width: 620px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { display: flex; flex-direction: column; }
.step-copy { padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 12px; min-height: 210px; }
.step-copy h3 { font-size: 30px; }
.step-copy p { color: var(--dim); line-height: 1.5; }
.num { align-self: flex-start; padding: 6px 12px; border-radius: 999px; color: var(--bg); font-size: 13px; font-weight: 600; }
.step-art { position: relative; height: 300px; overflow: hidden; }
.step-art .phone { width: 300px; margin: 30px auto 0; }
.share-sheet { position: absolute; left: 32px; top: 40px; padding: 22px 22px 26px; border-radius: 24px; background: #2a211d; }
.share-sheet > span { color: var(--dim); font-weight: 600; font-size: 15px; }
.share-apps { display: flex; gap: 16px; margin-top: 18px; }
.share-apps div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--dim); }
.share-apps div::before { content: ""; width: 58px; height: 58px; border-radius: 14px; background: var(--bezel); }
.share-apps .me { color: var(--cream); font-weight: 600; position: relative; }
.share-apps .me::before { background: url("img/icon-152.png") center / cover; outline: 3px solid var(--lime); outline-offset: 0; }
.share-apps .me::after { content: ""; position: absolute; width: 44px; height: 44px; border-radius: 50%; left: 30px; top: 30px; background: rgba(255, 255, 255, .35); border: 2px solid #fff; }

.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature { position: relative; height: 460px; }
.feature-copy { position: absolute; left: 40px; top: 44px; width: 260px; display: flex; flex-direction: column; gap: 14px; }
.feature-copy h3 { font-size: 38px; line-height: 1.02; }
.feature-copy p { color: var(--dim); font-size: 17px; line-height: 1.5; }
.feature .phone { position: absolute; width: 250px; right: 48px; top: 56px; }

.plans { display: flex; justify-content: center; gap: 24px; }
.plan { width: 440px; padding: 36px 36px 40px; display: flex; flex-direction: column; gap: 24px; overflow: visible; }
.plan.pro { background: var(--card-hi); border: 2px solid var(--tomato); }
.plan h3 { font-size: 34px; display: flex; align-items: center; gap: 12px; }
.plan h3 small { font: 600 12px/1 var(--text); letter-spacing: 0; background: var(--lime); color: var(--bg); padding: 6px 10px; border-radius: 999px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.plan li { display: flex; align-items: center; gap: 12px; }
.plan li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); flex: none; }
.plan.pro li::before { background: var(--tomato); }
.fineprint { text-align: center; color: var(--dim); font-size: 14px; margin-top: 56px; }

.cta-band { position: relative; margin-top: 120px; margin-bottom: 120px; height: 440px; border-radius: 36px; background: var(--tomato); overflow: hidden; }
.cta-copy { position: absolute; left: 72px; top: 72px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.cta-copy h2 { font-size: 64px; color: var(--bg); }
.cta-copy h2 .accent { color: var(--cream); }
.cta-copy p { font-size: 20px; color: #3a140a; }
.foods img { position: absolute; width: 230px; height: 230px; object-fit: cover; border-radius: 28px; border: 6px solid var(--bg); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }
.foods img:nth-child(1) { left: 63%; top: -40px; transform: rotate(8deg); }
.foods img:nth-child(2) { left: 78%; top: 120px; transform: rotate(-6deg); }
.foods img:nth-child(3) { left: 62%; top: 250px; transform: rotate(-4deg); }

/* footer */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-top: 48px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 32px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer .brand img { width: 32px; height: 32px; border-radius: 7px; }
.footer .brand span { font-size: 20px; }
.footer-tagline { color: var(--dim); font-size: 14px; margin-top: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.footer-links a { text-decoration: none; font-weight: 500; font-size: 15px; }
.footer-links a:hover { color: var(--tomato); }
.footer-bottom { color: var(--dim); font-size: 13px; }
.footer-bottom a { color: var(--dim); }

/* support */
.page-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding-top: 80px; }
.page-head h1 { font-size: 72px; }
.page-head p { color: var(--dim); font-size: 19px; line-height: 1.5; max-width: 600px; }
.narrow { max-width: 760px; margin: 48px auto 120px; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 32px; border-radius: 24px; }
.contact h2 { font-size: 26px; }
.contact a.mail { color: var(--tomato); font-weight: 500; font-size: 18px; text-decoration: none; }
.faq { margin-top: 48px; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-weight: 500; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--dim); font-size: 17px; line-height: 1.55; margin-top: 10px; max-width: 680px; }

/* legal */
.legal { display: grid; grid-template-columns: 260px minmax(0, 740px); gap: 80px; padding-top: 80px; padding-bottom: 120px; }
.toc { position: sticky; top: 32px; align-self: start; display: flex; flex-direction: column; gap: 14px; }
.toc a { color: var(--dim); text-decoration: none; font-weight: 500; font-size: 15px; }
.toc a:hover { color: var(--cream); }
.doc h1 { font-size: 72px; }
.doc .updated { color: var(--dim); font-weight: 500; font-size: 15px; margin: 24px 0; }
.doc h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: 30px; line-height: 1.1; margin: 40px 0 14px; scroll-margin-top: 24px; }
.doc p, .doc li { color: var(--body); font-size: 17px; line-height: 1.65; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--tomato); }
.summary { padding: 20px 24px; border-radius: 18px; }
.summary b { color: var(--lime); font-size: 15px; display: block; margin-bottom: 6px; }
.summary p { color: var(--cream); }

/* tablet */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-art { height: 640px; max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-art .front { left: 60px; }
  .hero-art .back { left: 250px; }
  .toast { left: 0; top: 470px; }
  .steps { grid-template-columns: 1fr; }
  .step { flex-direction: row; }
  .step-copy { flex: 1; min-height: 0; }
  .step-art { flex: 1; height: 260px; }
  .feature-copy { width: 220px; }
  .feature .phone { width: 210px; right: 32px; }
  .cta-copy h2 { font-size: 52px; }
  .legal { grid-template-columns: 1fr; gap: 32px; }
  .toc { display: none; }
}

/* phone */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  .nav { padding-top: 18px; padding-bottom: 18px; }
  .brand img { width: 32px; height: 32px; border-radius: 7px; }
  .brand span { font-size: 20px; }
  .nav-links { gap: 0; }
  .nav-links a:not(.pill) { display: none; }
  .pill { padding: 10px 16px; font-size: 14px; }
  .hero { gap: 0; padding-top: 28px; padding-bottom: 20px; }
  .hero-copy { gap: 22px; }
  .hero h1 { font-size: clamp(38px, 12.4vw, 50px); line-height: .98; }
  .hero h1 .line { white-space: normal; }
  .tag { font-size: 12px; }
  .lead { font-size: 17px; line-height: 1.5; }
  .badge img { height: 48px; }
  .cta-note { font-size: 13px; }
  .chip { font-size: 12px; padding: 6px 12px; }
  .chip-label { display: none; }
  .hero-art { height: 470px; margin-top: 22px; }
  .glow { width: 320px; height: 320px; filter: blur(110px); left: 0; }
  .hero-art .front { width: 205px; left: 30px; top: 20px; }
  .hero-art .back { width: 190px; left: 135px; top: 50px; }
  .toast { left: auto; right: 0; top: 360px; padding: 10px 14px 10px 10px; border-radius: 16px; gap: 10px; }
  .toast img { width: 40px; height: 40px; border-radius: 10px; }
  .toast b { font-size: 13px; }
  .toast span { font-size: 11px; }
  .toast i { display: none; }
  .section { padding-top: 72px; }
  .section-head { align-items: flex-start; text-align: left; gap: 12px; margin-bottom: 28px; }
  .section-head h2 { font-size: 38px; }
  .section-head p { font-size: 16px; }
  .steps { gap: 16px; }
  .step { flex-direction: row; align-items: flex-start; border-radius: 22px; }
  .step-copy { padding: 20px; flex-direction: row; gap: 16px; }
  .step-copy h3 { font-size: 22px; margin-bottom: 6px; }
  .step-copy p { font-size: 14px; }
  .step-copy .num { font-size: 12px; padding: 6px 10px; }
  .step-art { display: none; }
  .bento { grid-template-columns: 1fr; gap: 20px; }
  .feature { height: 420px; border-radius: 24px; }
  .feature-copy { position: relative; left: auto; top: auto; width: auto; padding: 26px 24px 0; gap: 10px; }
  .feature-copy h3 { font-size: 28px; }
  .feature-copy p { font-size: 15px; }
  .feature .phone { position: relative; width: 230px; right: auto; top: auto; margin: 26px auto 0; }
  .plans { flex-direction: column; gap: 20px; }
  .plan { width: auto; padding: 24px 24px 26px; gap: 18px; border-radius: 22px; }
  .plan h3 { font-size: 26px; }
  .plan ul { font-size: 15px; gap: 11px; }
  .fineprint { text-align: left; font-size: 12px; margin-top: 28px; }
  .cta-band { height: auto; margin-top: 48px; margin-bottom: 64px; border-radius: 28px; padding: 32px 24px 0; }
  .cta-copy { position: static; gap: 20px; }
  .cta-copy h2 { font-size: 36px; }
  .cta-copy p { font-size: 16px; }
  .foods { position: relative; height: 170px; margin-top: 20px; }
  .foods img { width: 120px; height: 120px; border-radius: 20px; border-width: 4px; }
  .foods img:nth-child(1) { left: 0; top: 20px; }
  .foods img:nth-child(2) { left: 105px; top: 0; }
  .foods img:nth-child(3) { left: 205px; top: 30px; }
  .footer .wrap { padding-top: 36px; padding-bottom: 40px; gap: 22px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 12px 20px; }
  .footer-bottom { gap: 8px; font-size: 12px; }
  .page-head { align-items: flex-start; text-align: left; padding-top: 36px; }
  .page-head h1 { font-size: 44px; }
  .page-head p { font-size: 16px; }
  .narrow { margin: 28px 0 64px; }
  .contact { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
  .contact h2 { font-size: 22px; }
  .faq { margin-top: 28px; }
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 15px; }
  .legal { padding-top: 36px; padding-bottom: 64px; }
  .doc h1 { font-size: 44px; }
  .doc h2 { font-size: 24px; }
  .doc p, .doc li { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pill { transition: none; }
}
