/* ===== Design tokens ===== */
:root {
  --beige: #F7F4ED;
  --beige-deep: #EFE9DC;
  --ink: #2B2A27;
  --ink-soft: #5C5A54;
  --gray: #B5B5B5;
  --line: #E4DECF;
  --accent: #C97B4A;          /* warm photographer's amber */
  --accent-dark: #A85F33;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(43, 42, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(43, 42, 39, 0.14);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--beige);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 237, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--accent); color: var(--white) !important;
  padding: 8px 18px; border-radius: 999px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-dark); }
.lang-switch { display: flex; gap: 4px; }
.lang-btn {
  background: none; border: 1px solid var(--line); color: var(--ink-soft);
  font-family: inherit; font-size: .8rem; font-weight: 600;
  padding: 4px 9px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.lang-btn:hover { color: var(--ink); border-color: var(--gray); }
.lang-btn.is-active { background: var(--accent); color: var(--white); border-color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36ch; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin: 28px 0 14px; flex-wrap: wrap; }
.store-badge { height: 52px; width: auto; }
.store-badge--lg { height: 58px; }
.badge-link { transition: transform .15s; }
.badge-link:hover { transform: translateY(-2px); }
.text-link { color: var(--accent-dark); font-weight: 600; }
.hero-platforms { color: var(--ink-soft); font-size: .9rem; }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.hero-shot {
  border-radius: 24px;
  max-height: 540px;
}
.hero-shot-back {
  transform: translateX(18%);
  opacity: .96;
}
.hero-shot-front {
  position: relative; z-index: 2;
  transform: translateX(-18%);
}

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--beige-deep); }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); text-align: center; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 48px; }

/* ===== Feature grid ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.card p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.tag {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: var(--accent); color: var(--white); padding: 2px 8px; border-radius: 999px;
}

/* ===== Screenshots ===== */
.shots {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.shot { margin: 0; }
.shot img {
  aspect-ratio: 603 / 1286; object-fit: contain; width: 100%;
}
.shot figcaption { text-align: center; color: var(--ink-soft); font-size: .9rem; margin-top: 10px; }

/* ===== Why ===== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 16px; font-size: 1.6rem;
  background: var(--beige-deep); border-radius: 14px;
}
.why-item h3 { font-size: 1.25rem; margin: 0 0 8px; }
.why-item p { color: var(--ink-soft); margin: 0; }

/* ===== Testimonials carousel ===== */
.carousel { --per-view: 3; --gap: 24px; display: flex; align-items: stretch; gap: 16px; }
.carousel-viewport { overflow: hidden; flex: 1; }
.carousel-track { display: flex; gap: var(--gap); transition: transform .4s ease; }
.testimonial {
  flex: 0 0 calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  min-width: 0; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; box-shadow: var(--shadow);
}
.testimonial-headline { font-size: 1.15rem; font-weight: 700; line-height: 1.35; color: var(--ink); margin: 0 0 12px; }
.testimonial-quote { flex: 1; font-size: .98rem; line-height: 1.55; color: var(--ink-soft); margin: 0 0 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem;
}
.testimonial-name { font-weight: 700; margin: 0; }
.testimonial-role { color: var(--ink-soft); font-size: .9rem; margin: 0; }
.carousel-btn {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
  transition: .15s; display: flex; align-items: center; justify-content: center;
}
.carousel-btn:hover { color: var(--accent-dark); border-color: var(--gray); }
.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0; cursor: pointer;
  background: var(--gray); border: 0; transition: .15s;
}
.carousel-dot.is-active { background: var(--accent); transform: scale(1.2); }

/* ===== CTA ===== */
.cta { background: var(--ink); color: var(--beige); padding: 88px 0; text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--white); }
.cta p { color: rgba(247, 244, 237, .8); font-size: 1.15rem; margin-bottom: 32px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }

/* ===== Footer ===== */
.site-footer { background: var(--beige-deep); border-top: 1px solid var(--line); padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-brand .brand-logo { width: 26px; height: 26px; border-radius: 7px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--ink-soft); font-size: .95rem; }
.footer-links a:hover { color: var(--ink); }
.footer-social { display: inline-flex; align-items: center; gap: 7px; }
.footer-social svg { transition: stroke .15s; }
.footer-copy { color: var(--ink-soft); font-size: .85rem; margin: 0; width: 100%; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { max-width: none; margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; min-height: 460px; }
  .hero-shot { max-height: 420px; }
  .hero-shot-back { transform: translateX(14%); }
  .hero-shot-front { transform: translateX(-14%); }
  .shots { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .carousel { --per-view: 2; }
}

@media (max-width: 680px) {
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--beige); border-bottom: 1px solid var(--line);
    padding: 12px 0; transform: translateY(-120%); transition: transform .25s; align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-cta { border-radius: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .carousel { --per-view: 1; }
}

/* ===== Legal pages (Privacy / Terms) ===== */
.legal { padding: 56px 0 72px; }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: .3em; }
.legal h2 { font-size: 1.4rem; margin: 2em 0 .6em; }
.legal h3 { font-size: 1.08rem; margin: 1.4em 0 .4em; }
.legal p { color: var(--ink-soft); }
.legal a { color: var(--accent-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--accent); }
.legal ul { color: var(--ink-soft); padding-left: 1.25em; margin: 0 0 1em; }
.legal li { margin: .25em 0; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.legal table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.4em;
  font-size: .95rem; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--beige-deep); color: var(--ink); font-weight: 600; }
.legal tr:last-child td { border-bottom: 0; }
.legal td { color: var(--ink-soft); }
