/* Last Summer landing. Palette and type come from the app: #1A1A1C, #FF8C00, VCR OSD Mono. */
@font-face {
  font-family: "VCR";
  src: url("/assets/fonts/vcr-osd-mono.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #1a1a1c;
  --surface: #242427;
  --surface-2: #2d2d31;
  --line: #3a3a3f;
  --text: #f3eee6;
  --muted: #aaa49b;
  --orange: #ff8c00;
  --orange-soft: #ffb35c;
  --red: #d8452b;
  --radius: 14px;
  --display: "VCR", ui-monospace, "SF Mono", Menlo, monospace;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Fixed film-grain overlay. Decorative only. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--orange-soft);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.1rem, 6.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.35rem);
}

h3 {
  font-size: 1.1rem;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow {
  max-width: 760px;
}

section {
  padding: 72px 0;
}

.section-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
  margin: 0 0 32px;
}

.stamp {
  font-family: var(--display);
  color: var(--orange);
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.55);
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 26, 28, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  white-space: nowrap;
}

.logo img {
  border-radius: 8px;
}

.nav-links {
  display: none;
  gap: 22px;
  margin-inline-start: auto;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  margin-inline-start: 10px;
  background: var(--orange);
  color: #1a1a1c;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  white-space: nowrap;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
  .lang {
    margin-inline-start: 0;
  }
}

/* Language menu: a native <details> dropdown, so the page still ships no JS. */
.lang {
  position: relative;
  margin-inline-start: auto;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 6px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary:hover,
.lang[open] summary {
  color: var(--text);
  background: var(--surface);
}

.lang ul {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  columns: 2;
  column-gap: 4px;
  min-width: 290px;
}

.lang li a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.lang li a:hover {
  background: var(--surface-2);
}

.lang li a[aria-current] {
  color: var(--orange);
}

@media (max-width: 520px) {
  .lang summary {
    font-size: 0;
    gap: 0;
  }
}

/* VCR OSD Mono only covers Latin; scripts it lacks use a bold system sans for display type. */
:lang(ar),
:lang(hi),
:lang(ja),
:lang(ko),
:lang(ru),
:lang(tr),
:lang(zh) {
  --display: var(--body);
}

:is(:lang(ar), :lang(hi), :lang(ja), :lang(ko), :lang(ru), :lang(tr), :lang(zh)) :is(h1, h2, h3) {
  font-weight: 700;
  letter-spacing: 0;
}

/* Right-to-left: mirror the hero phone and arrow links. */
[dir="rtl"] .hero-phone {
  left: auto;
  right: 3%;
  transform: rotate(5deg);
}

@media (min-width: 860px) {
  [dir="rtl"] .hero-phone {
    right: -9%;
  }
}

/* Store badge (Apple's black badge style) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1px solid #a6a6a6;
  border-radius: 12px;
  padding: 9px 20px 9px 16px;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
}

.store-badge small {
  display: block;
  font-size: 0.7rem;
}

.store-badge strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.download {
  display: flex;
  align-items: center;
  gap: 28px;
}

.download-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 12px 0 0;
}

.qr {
  display: none;
  align-items: center;
  gap: 12px;
  margin: 0;
  max-width: 220px;
}

.qr img {
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  flex: none;
}

.qr figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (min-width: 860px) {
  .qr {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 44px 0 64px;
  background: radial-gradient(ellipse 80% 70% at 85% 30%, rgba(255, 140, 0, 0.22), transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero-sub {
  font-size: 1.15rem;
  color: #d9d3c9;
  max-width: 34rem;
  margin: 0 0 28px;
}

.hero-art {
  position: relative;
  width: min(88vw, 440px);
  margin: 0 auto;
}

.hero-photo {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

/* Real camera screen layered over the scene: the product in the moment. */
.hero-phone {
  position: absolute;
  width: 34%;
  left: 3%;
  bottom: -5%;
  border-radius: 15% / 7.5%;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
  transform: rotate(-5deg);
}

@media (min-width: 860px) {
  .hero-phone {
    left: -9%;
  }
}

@media (min-width: 860px) {
  .hero {
    padding: 72px 0 88px;
  }
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }
}

/* How it works */
.how-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 22px;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding-inline-start: 58px;
  color: #d9d3c9;
}

.steps li::before {
  content: "0" counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: -2px;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--orange);
}

.steps strong {
  color: var(--text);
}

.phone-figure {
  margin: 0;
}

.phone-figure img {
  width: min(70vw, 300px);
  margin: 0 auto;
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-figure figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 12px;
}

@media (min-width: 860px) {
  .how-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Film rolls */
.rolls {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.roll-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.roll {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.roll img {
  width: 48px;
  flex: none;
}

.roll h3 {
  margin: 0 0 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.roll p {
  margin: 0;
  font-size: 0.95rem;
  color: #d9d3c9;
}

.roll .roll-insp {
  font-size: 0.82rem;
  color: var(--muted);
}

.tag {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.tag-free {
  border-color: var(--orange);
  color: var(--orange);
}

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

@media (min-width: 600px) {
  .roll-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .roll-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Looks */
.look-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.look {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.look img {
  width: calc(100% + 48px);
  max-width: none;
  margin: 0 -24px 20px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.look p {
  color: #d9d3c9;
  margin: 0 0 16px;
}

.look .look-meta {
  margin: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.look-meta span {
  font-family: var(--display);
  color: var(--orange);
}

@media (min-width: 760px) {
  .look-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Contrast */
.contrast-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.compare {
  display: grid;
  gap: 14px;
}

.compare-col {
  border-radius: var(--radius);
  padding: 22px 24px;
  border: 1px solid var(--line);
}

.compare-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.compare-no {
  background: var(--surface);
}

.compare-no li {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: var(--red);
}

.compare-yes {
  background: rgba(255, 140, 0, 0.1);
  border-color: rgba(255, 140, 0, 0.45);
}

.compare-yes li::before {
  content: "● ";
  color: var(--orange);
}

@media (min-width: 860px) {
  .contrast-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

/* Screens */
.screens {
  padding-bottom: 56px;
}

.screen-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 16px 20px;
  max-width: 1120px;
  margin: 0 auto;
  scrollbar-width: thin;
}

.screen-strip img {
  flex: none;
  width: 210px;
  border-radius: 18px;
  scroll-snap-align: start;
}

/* Guides */
.guide-grid {
  display: grid;
  gap: 20px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.guide-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.card-thumb {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.guide-card h3 {
  padding: 18px 20px 0;
  margin: 0 0 8px;
}

.guide-card p {
  padding: 0 20px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.read-more {
  margin-top: auto;
  padding: 0 20px 20px;
  color: var(--orange-soft);
  font-size: 0.92rem;
}

.more-link {
  margin: 28px 0 0;
}

.page-top {
  padding-top: 40px;
}

.index-cta {
  margin-top: 56px;
}

@media (min-width: 760px) {
  .guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding-block: 20px;
  padding-inline: 0 36px;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 4px;
  top: 16px;
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--orange);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-a p {
  margin: 0 0 16px;
  color: #d9d3c9;
}

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 0 96px;
}

.final-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0.65;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(26, 26, 28, 0.3) 30%, rgba(26, 26, 28, 0.78) 58%, rgba(26, 26, 28, 0.92) 100%);
}

.final-cta .wrap {
  position: relative;
}

.final-cta .section-lede {
  margin-inline: auto;
}

.final-cta .download {
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta .qr {
  text-align: start;
}

/* Article */
.article {
  max-width: 760px;
  padding-top: 32px;
  padding-bottom: 72px;
}

.article h1 {
  font-size: clamp(1.9rem, 5.4vw, 2.8rem);
}

.article h2 {
  font-size: clamp(1.4rem, 3.6vw, 1.85rem);
  margin-top: 1.9em;
}

.article p,
.article li {
  color: #ddd7cd;
}

.article p strong {
  color: var(--text);
}

.guide-hero {
  width: 100%;
  border-radius: var(--radius);
  margin: 12px 0 28px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.article-intro {
  font-size: 1.15rem;
  color: var(--text) !important;
}

.howto-steps {
  list-style: decimal;
  padding: 20px 20px 20px 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
}

.howto-steps li::marker {
  color: var(--orange);
  font-family: var(--display);
}

.article .phone-figure {
  margin: 32px 0;
}

.cta-callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255, 140, 0, 0.1);
  border: 1px solid rgba(255, 140, 0, 0.45);
  border-radius: var(--radius);
  padding: 22px;
  margin: 32px 0;
}

.cta-callout img {
  border-radius: 12px;
  flex: none;
}

.cta-callout p {
  margin: 0 0 14px;
}

.breadcrumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--muted);
}

.related {
  padding: 24px 0 0;
}

.related .guide-grid {
  margin-top: 16px;
}

@media (max-width: 520px) {
  .cta-callout {
    flex-direction: column;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  background: #151517;
}

.site-footer .wrap {
  display: grid;
  gap: 32px;
}

.foot-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.foot-brand img {
  border-radius: 8px;
}

.foot-brand p {
  width: 100%;
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-col h2 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}

.foot-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
}

.foot-col a:hover {
  color: var(--text);
}

.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 40px 0 0;
}

@media (min-width: 760px) {
  .site-footer .wrap {
    grid-template-columns: 1.3fr 1.2fr 0.8fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .store-badge,
  .guide-card {
    transition: none;
  }
}

/* Microcopy sits over the beach photo in the closing section. */
.final-cta .download-note,
.final-cta .qr figcaption,
.final-cta .section-lede {
  color: #e6e0d6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
