@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --brand: #A998D6;
  --brand-light: #B8A8E8;
  --brand-dark: #7362A8;
  --brand-soft: rgba(169, 152, 214, 0.12);
  --brand-border: rgba(169, 152, 214, 0.35);
  --brand-glow: rgba(169, 152, 214, 0.25);
  --brand-gradient: linear-gradient(90deg, #A17EF5 0%, #625BEB 100%);

  /* Text */
  --text-primary: #111111;
  --text-active: #242424;
  --text-body: #374151;
  --text-secondary: #6b7280;
  --text-muted: #898989;

  /* Surfaces */
  --bg: #ffffff;
  --bg-warm: #FDFBF9;
  --bg-warm-alt: #F8F6FC;
  --surface-soft: #f8f9fa;
  --surface-card: #f5f5f5;
  --surface-strong: #e5e7eb;
  --border: #e5e7eb;
  --border-soft: #f3f4f6;
  --shadow-soft: 0 4px 24px rgba(115, 98, 168, 0.08);
  --shadow-card: 0 2px 12px rgba(17, 17, 17, 0.06);
  --shadow-mockup: 0 24px 48px rgba(115, 98, 168, 0.18);

  /* CTA */
  --cta-bg: #111111;
  --cta-text: #ffffff;
  --cta-hover: #242424;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* Logo container */
  --logo-bg: linear-gradient(135deg, #242424 0%, #7362A8 100%);
  --logo-border: rgba(169, 152, 214, 0.35);
  --logo-radius: 14px;
  --logo-shadow: 0 1px 3px rgba(17, 17, 17, 0.1);
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-body);
  background-color: var(--bg);
}

a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--brand);
}

/* Header / navbar */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 4.25rem;
  padding: 1rem 1.25rem;
  background-color: rgba(253, 251, 249, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem 1.5rem;
  max-width: 72rem;
  width: 100%;
  min-height: 2.375rem;
  margin-left: auto;
  margin-right: auto;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.site-header .brand:hover {
  color: inherit;
}

.site-header .logo-frame--header {
  width: 2.375rem;
  height: 2.375rem;
  padding: 0.3125rem;
  border-radius: 12px;
  flex: 0 0 auto;
}

.site-header .brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.site-header .site-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  white-space: nowrap;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  background-color: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.site-header .brand:hover .site-title {
  color: var(--text-primary);
  background-color: var(--brand-soft);
  border-color: var(--brand-border);
}

.site-header .site-nav {
  flex: 0 0 auto;
  margin-left: auto;
}

.site-header .site-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1rem;
}

.site-header .site-nav__list li {
  margin: 0;
}

.site-header .site-nav__link {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--text-secondary);
  text-decoration: none;
}

.site-header .site-nav__link:hover {
  color: var(--text-primary);
}

.site-header .site-nav__link[aria-current="page"] {
  color: var(--text-primary);
}

.header-language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.header-language-switcher summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 4.25rem;
  padding: 0.5rem 0.625rem;
  color: var(--text-secondary);
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  list-style: none;
}

.header-language-switcher summary::-webkit-details-marker {
  display: none;
}

.header-language-switcher summary::after {
  width: 0.4rem;
  height: 0.4rem;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.125rem) rotate(45deg);
  transition: transform 160ms ease;
}

.header-language-switcher[open] summary::after {
  transform: translateY(0.125rem) rotate(225deg);
}

.header-language-switcher summary:hover,
.header-language-switcher summary:focus-visible,
.header-language-switcher[open] summary {
  color: var(--text-primary);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.header-language-switcher summary:focus-visible {
  outline: 3px solid rgba(169, 152, 214, 0.45);
  outline-offset: 2px;
}

.header-language-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 110;
  display: grid;
  min-width: 10rem;
  padding: 0.375rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12);
}

.header-language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 0.75rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
}

.header-language-menu a span {
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 700;
}

.header-language-menu a:hover,
.header-language-menu a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--brand-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--logo-bg);
  border: 1px solid var(--logo-border);
  border-radius: var(--logo-radius);
  box-shadow: var(--logo-shadow);
  line-height: 0;
  overflow: hidden;
}

.logo-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-frame--header {
  width: 2.375rem;
  height: 2.375rem;
  padding: 0.3125rem;
  border-radius: 12px;
}

.logo-frame--hero {
  display: inline-flex;
  width: 6rem;
  height: 6rem;
  padding: 0.625rem;
  margin: 0 0 1.25rem;
  border-radius: var(--radius-xl);
}

.logo-frame--page {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.5rem;
}

.brand-logo,
.hero-logo,
.page-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.page-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1875;
  letter-spacing: -0.05rem;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

.page-header > div {
  min-width: 0;
}

.page-logo {
  flex-shrink: 0;
}

.page-header .meta {
  margin-bottom: 0;
}

.page-header + .disclaimer,
.page-header + p {
  margin-top: 1.5rem;
}

.site-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.brand .site-title,
.site-title a {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  background-color: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}

.brand:hover .site-title,
.site-title a:hover {
  color: var(--text-primary);
  background-color: var(--brand-soft);
  border-color: var(--brand-border);
}

/* Layout */

main {
  padding: 2rem 1.25rem 3.5rem;
}

.container {
  max-width: 42rem;
  margin: 0 auto;
}

/* Typography */

h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1875;
  letter-spacing: -0.05rem;
  color: var(--text-primary);
}

.meta {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
}

h2 {
  margin: 2.5rem 0 0.875rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.2727;
  letter-spacing: -0.01875rem;
  color: var(--text-primary);
}

h2:first-child {
  margin-top: 0;
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

li:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--text-active);
}

/* Home hero */

.hero {
  margin-bottom: 2.5rem;
  padding: 1.75rem 1.5rem;
  background-color: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-xl);
}

.hero h1 {
  font-size: clamp(1.625rem, 4.5vw, 2.125rem);
  line-height: 1.15;
  letter-spacing: -0.05rem;
}

.hero .meta {
  margin-bottom: 1rem;
}

.hero p:last-child {
  margin-bottom: 0;
}

.hero .disclaimer {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

/* Disclaimer / notice */

.disclaimer {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  background-color: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-body);
}

/* Link cards (home) */

.link-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cta-text);
  text-decoration: none;
  background-color: var(--cta-bg);
  border: 1px solid var(--cta-bg);
  border-radius: var(--radius-lg);
}

.link-card:hover {
  color: var(--cta-text);
  background-color: var(--cta-hover);
  border-color: var(--cta-hover);
}

.link-card::after {
  content: "→";
  font-weight: 400;
  opacity: 0.7;
}

.section-heading {
  margin-top: 0;
}

/* Support */

.contact-card {
  margin: 1rem 0 2rem;
  padding: 1.5rem;
  background-color: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-email {
  display: inline-block;
  margin: 0.25rem 0;
  padding: 0.625rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  background-color: var(--bg);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
}

.contact-email:hover {
  color: var(--brand-dark);
  background-color: var(--brand-soft);
}

.topic-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.topic-card {
  padding: 1.25rem 1.5rem;
  background-color: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.topic-card h3 {
  margin: 0 0 0.5rem;
}

.topic-card p {
  margin: 0;
  font-size: 0.9375rem;
}

.topic-card p + p {
  margin-top: 0.75rem;
}

/* Legal pages */

.language-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.language-switcher a {
  min-width: 2.25rem;
  padding: 0.375rem 0.5rem;
  color: var(--text-secondary);
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.language-switcher a:hover,
.language-switcher a[aria-current="page"] {
  color: var(--text-primary);
  background: var(--brand-soft);
  border-color: var(--brand-border);
}

.legal-content h2 {
  padding-top: 0.25rem;
}

.legal-content h2:not(:first-of-type) {
  border-top: 1px solid var(--border-soft);
  padding-top: 2rem;
}

/* Updates */

body.updates {
  background: var(--bg-warm);
}

body.updates main {
  padding-top: 0;
}

.updates-page {
  max-width: 56rem;
}

.updates-hero {
  padding: 3.5rem 0 2.25rem;
  text-align: center;
}

.updates-hero h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.06rem;
}

.updates-hero p:last-child {
  max-width: 36rem;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.release-list {
  display: grid;
  gap: 1.25rem;
}

.release-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.release-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.release-version {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.625rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
}

.release-card h2 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
}

.release-card time {
  flex: 0 0 auto;
  padding-top: 0.375rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.release-summary {
  color: var(--text-secondary);
  line-height: 1.65;
}

.release-changes {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.release-changes li {
  position: relative;
  margin: 0;
  padding: 0.65rem 0 0.65rem 1.75rem;
  border-top: 1px solid var(--border-soft);
  line-height: 1.55;
}

.release-changes li::before {
  content: "✓";
  position: absolute;
  left: 0.25rem;
  color: var(--brand-dark);
  font-weight: 700;
}

@media (max-width: 599px) {
  .release-card__header {
    display: block;
  }

  .release-card time {
    display: block;
    margin-top: 0.75rem;
  }
}

/* Responsive */

@media (max-width: 899px) {
  .site-header .header-inner {
    flex-wrap: wrap;
  }

  .site-header .site-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .site-header .site-nav__list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .header-language-switcher {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 599px) {
  .header-language-switcher {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
  }
}

@media (min-width: 600px) {
  .site-header {
    min-height: 4.5rem;
    padding: 1.125rem 1.5rem;
  }

  .site-header .site-nav__list {
    gap: 0.25rem 1.5rem;
  }

  .site-header .logo-frame--header,
  .brand--footer .logo-frame--header {
    width: 2.5rem;
    height: 2.5rem;
  }

  .logo-frame--hero {
    width: 6.5rem;
    height: 6.5rem;
  }

  main {
    padding: 2.5rem 1.5rem 4rem;
  }

  .hero {
    padding: 2rem 2rem;
  }

  .hero h1 {
    font-size: 2.125rem;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.1875;
    letter-spacing: -0.05rem;
  }
}

/* ==========================================================================
   Landing page
   ========================================================================== */

body.landing {
  background-color: var(--bg-warm);
  color: var(--text-body);
}

body.landing main {
  padding: 0;
}

body.landing .container--landing {
  max-width: 72rem;
}

.landing-section {
  padding: 3.5rem 1.25rem;
}

.landing-section + .landing-section {
  padding-top: 0;
}

/* Hero */

.hero-section {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(169, 152, 214, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(169, 152, 214, 0.08) 0%, transparent 60%),
    var(--bg-warm);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.06rem;
  margin-bottom: 1rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 34rem;
}

.hero-cta {
  margin-bottom: 1.25rem;
}

.app-store-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 12.25rem;
  padding: 0.65rem 1.125rem;
  color: var(--cta-text);
  background-color: var(--cta-bg);
  border: 1px solid rgba(169, 152, 214, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.app-store-cta:hover {
  color: var(--cta-text);
  background-color: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.14);
}

.app-store-cta:focus-visible {
  outline: 3px solid rgba(169, 152, 214, 0.45);
  outline-offset: 3px;
}

.app-store-cta__icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.app-store-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.app-store-cta__eyebrow {
  font-size: 0.6875rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.app-store-cta__title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.trust-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 28rem;
}

.trust-note svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* Phone mockups */

.phone-mockup {
  position: relative;
}

.phone-mockup__frame {
  position: relative;
  width: min(260px, 72vw);
  padding: 0.625rem;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 2.25rem;
  box-shadow: var(--shadow-mockup);
}

.phone-mockup--hero .phone-mockup__frame {
  width: min(280px, 78vw);
}

.phone-mockup--featured .phone-mockup__frame {
  box-shadow: 0 32px 64px rgba(115, 98, 168, 0.22);
}

.phone-mockup__notch {
  position: absolute;
  top: 0.875rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 1.375rem;
  background: #1a1a1a;
  border-radius: 0 0 0.75rem 0.75rem;
  z-index: 2;
}

.phone-mockup__screen {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  background-color: var(--bg-warm-alt);
}

/* Section intro */

.section-intro {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-intro--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-intro h2 {
  margin-top: 0;
  margin-bottom: 0.625rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.04rem;
}

.section-intro p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Features */

.features-section {
  background-color: var(--bg-warm);
  scroll-margin-top: 7rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.feature-card {
  padding: 1.5rem;
  background-color: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--brand-border);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  color: var(--brand-dark);
  background-color: var(--brand-soft);
  border-radius: var(--radius-lg);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* App preview */

.preview-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(169, 152, 214, 0.1) 0%, transparent 70%),
    var(--bg-warm-alt);
}

.preview-grid {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-end;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.preview-grid .phone-mockup {
  flex-shrink: 0;
  scroll-snap-align: center;
}

.preview-grid figure.phone-mockup {
  margin: 0;
}

.phone-mockup figcaption {
  width: max-content;
  max-width: 100%;
  margin: 1rem auto 0;
  padding: 0.4rem 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.preview-grid .phone-mockup--preview .phone-mockup__frame {
  width: min(200px, 52vw);
}

.preview-grid .phone-mockup--featured .phone-mockup__frame {
  width: min(220px, 58vw);
}

.preview-grid--4 {
  align-items: center;
  gap: 1rem;
}

.preview-grid--4 .phone-mockup--preview .phone-mockup__frame,
.preview-grid--4 .phone-mockup--featured .phone-mockup__frame {
  width: min(210px, 54vw);
}

/* Latest update */

.home-update-section {
  background: var(--bg-warm-alt);
}

.home-update-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(169, 152, 214, 0.2), transparent 42%),
    var(--bg);
  border: 1px solid var(--brand-border);
  border-radius: calc(var(--radius-xl) + 4px);
  box-shadow: var(--shadow-soft);
}

.home-update-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.home-update-card__meta .eyebrow {
  margin: 0;
}

.home-update-card__meta time {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.home-update-card h2 {
  margin: 0 0 0.875rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.home-update-card h2 span {
  color: var(--brand-dark);
}

.home-update-card > p {
  max-width: 48rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.home-update-card > a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration: none;
}

.home-update-card > a:hover {
  color: var(--text-primary);
}

/* Why Lulu */

.why-section {
  background-color: var(--bg-warm);
}

.landing-section.why-section {
  padding-top: 3.5rem;
}

.why-panel {
  padding: 2rem 1.5rem;
  background-color: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.why-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 0;
}

.why-list__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--brand-dark);
  background-color: var(--brand-soft);
  border-radius: var(--radius-md);
}

.why-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.why-list p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Disclaimer (landing) */

.disclaimer-section {
  padding-top: 0;
  padding-bottom: 2rem;
}

.disclaimer--landing {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
}

/* FAQ */

.faq-section {
  padding-bottom: 4rem;
  background-color: var(--bg-warm);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--brand-border);
}

.faq-item summary {
  padding: 1.125rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--brand-dark);
  transition: transform 0.2s ease;
}

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

.faq-item summary:hover {
  color: var(--brand-dark);
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-item p a {
  color: var(--brand-dark);
}

/* Bottom download prompt */

.bottom-cta-section {
  padding-bottom: 4rem;
  background: var(--bg-warm);
}

.bottom-cta-panel {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.75rem, 5vw, 3rem);
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 90% 10%, rgba(169, 152, 214, 0.42), transparent 38%),
    linear-gradient(135deg, #242424 0%, #4d426e 100%);
  border: 1px solid rgba(169, 152, 214, 0.35);
  border-radius: calc(var(--radius-xl) + 6px);
  box-shadow: 0 18px 48px rgba(77, 66, 110, 0.18);
}

.bottom-cta-panel h2 {
  margin: 0 0 0.625rem;
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.bottom-cta-panel p {
  max-width: 38rem;
  margin: 0;
  line-height: 1.6;
}

.bottom-cta-panel .app-store-cta {
  justify-self: start;
  background: #000;
}

/* Footer */

.site-footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  background-color: var(--bg);
}

.site-footer .container {
  max-width: 72rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.brand--footer .site-title {
  font-size: 1rem;
}

.footer-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 18rem;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* Landing responsive */

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .why-panel {
    padding: 2.5rem;
  }

  .why-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-nav ul {
    align-items: flex-end;
    text-align: right;
  }

  .footer-copy {
    text-align: left;
  }

  .bottom-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 900px) {
  .landing-section {
    padding: 4.5rem 1.5rem;
  }

  .landing-section + .landing-section {
    padding-top: 0;
  }

  .landing-section.why-section {
    padding-top: 4.5rem;
  }

  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero-visual {
    justify-content: flex-end;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .preview-grid {
    overflow-x: visible;
    gap: 2rem;
  }

  .preview-grid .phone-mockup--preview .phone-mockup__frame {
    width: 210px;
  }

  .preview-grid .phone-mockup--featured .phone-mockup__frame {
    width: 240px;
  }

  .preview-grid--4 {
    gap: clamp(1rem, 2vw, 1.75rem);
    padding-top: 1.5rem;
    padding-bottom: 2.25rem;
  }

  .preview-grid--4 .phone-mockup--preview .phone-mockup__frame,
  .preview-grid--4 .phone-mockup--featured .phone-mockup__frame {
    width: clamp(175px, 18vw, 205px);
  }

  .preview-grid--4 .phone-mockup:nth-child(1),
  .preview-grid--4 .phone-mockup:nth-child(4) {
    transform: translateY(1.25rem) scale(0.96);
  }

  .preview-grid--4 .phone-mockup:nth-child(2),
  .preview-grid--4 .phone-mockup:nth-child(3) {
    transform: translateY(-0.5rem);
  }
}
