/* ==========================================================================
   Englishpix Network Landing Page Stylesheet
   Palette: Butter Yellow (#F8D981), Lavender (#AEB9ED), Mint (#CBEEDB),
            Warm Offwhite (#F9F8F2), Charcoal (#20211F)
   ========================================================================== */

/* 1. Typography & CSS Custom Properties */
@font-face {
  font-family: 'Manrope';
  src: url('assets/Manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  font-style: normal;
}

:root {
  --color-yellow: #F8D981;
  --color-lavender: #AEB9ED;
  --color-mint: #CBEEDB;
  --color-offwhite: #F9F8F2;
  --color-charcoal: #20211F;
  --color-charcoal-light: #2c2e2a;
  --color-charcoal-card: #282926;
  --color-white: #FFFFFF;
  --color-muted: #5e6159;
  --color-subtle-border: rgba(32, 33, 31, 0.08);

  --font-family-base: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(32, 33, 31, 0.04);
  --shadow-md: 0 8px 24px rgba(32, 33, 31, 0.08);
  --shadow-lg: 0 16px 40px rgba(32, 33, 31, 0.12);
  --shadow-phone: 0 24px 60px rgba(32, 33, 31, 0.16), 0 4px 12px rgba(32, 33, 31, 0.06);

  --transition-fast: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 450ms cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1200px;
  --container-pad: 24px;
}

/* 2. Global Resets & Base Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-base);
  background-color: var(--color-offwhite);
  color: var(--color-charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-height: 100vh;
  background-color: var(--color-offwhite);
  color: var(--color-charcoal);
  overflow-x: hidden;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-charcoal);
  outline-offset: 3px;
}

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* 3. Header & Sticky Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 248, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-subtle-border);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 12px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--color-charcoal);
  border-radius: var(--radius-sm);
  padding: 4px;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-charcoal);
  opacity: 0.82;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  min-height: 44px;
  padding: 0 24px;
  transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}

.btn:active {
  transform: scale(0.97);
}

.btn-pill-nav {
  background-color: var(--color-charcoal);
  color: var(--color-offwhite);
  padding: 0 20px;
  font-size: 0.9rem;
  min-height: 44px;
}

.btn-pill-nav:hover {
  background-color: var(--color-charcoal-light);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(32, 33, 31, 0.05);
}

.menu-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-icon .line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.site-header.menu-open .menu-icon .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.site-header.menu-open .menu-icon .line-2 {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(249, 248, 242, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 16px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  padding: 10px 0;
  display: block;
  min-height: 44px;
}

.mobile-cta {
  width: 100%;
  font-size: 1.1rem;
  padding: 14px;
  min-height: 48px;
}

/* 4. Hero Section & Three-Phone Stage */
.hero-section {
  position: relative;
  padding: 56px 0 72px 0;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 700px;
  background: radial-gradient(circle at 50% 35%, rgba(248, 217, 129, 0.45) 0%, rgba(203, 238, 219, 0.35) 40%, rgba(174, 185, 237, 0.25) 70%, transparent 100%);
  filter: blur(50px);
  z-index: -1;
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto 52px auto;
}

.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--color-charcoal);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: var(--color-charcoal);
  color: var(--color-offwhite);
  box-shadow: 0 4px 14px rgba(32, 33, 31, 0.18);
}

.btn-primary:hover {
  background-color: var(--color-charcoal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 33, 31, 0.25);
}

.btn-secondary {
  background: rgba(32, 33, 31, 0.06);
  color: var(--color-charcoal);
}

.btn-secondary:hover {
  background: rgba(32, 33, 31, 0.1);
  transform: translateY(-2px);
}

/* Hero Stage */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-top: 10px;
  padding: 20px 0 30px 0;
  perspective: 1200px;
}

/* Floating Chips */
.floating-chip {
  position: absolute;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(32, 33, 31, 0.08);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-charcoal);
  pointer-events: none;
  animation: floatChip 4s ease-in-out infinite alternate;
}

.chip-left {
  top: 18%;
  left: 2%;
  animation-delay: 0s;
}

.chip-right {
  top: 24%;
  right: 2%;
  animation-delay: 1.5s;
}

.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-yellow { background-color: var(--color-yellow); }
.dot-lavender { background-color: var(--color-lavender); }

@keyframes floatChip {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

/* Phones Fan Container */
.phones-group {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  width: 100%;
  min-height: 460px;
}

.phone-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-smooth), filter var(--transition-normal);
  will-change: transform;
}

.phone-pill-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-charcoal);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.pill-badge-accent {
  background: var(--color-yellow);
}

/* Apple-style phone frame */
.phone-frame {
  width: 250px;
  height: 510px;
  background-color: #121312;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 3.5px solid #2f312d;
  position: relative;
  overflow: hidden;
}

.phone-frame-lead {
  width: 275px;
  height: 560px;
  border-radius: 46px;
  border-color: #3b3d38;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 16px;
  background-color: #000;
  border-radius: 12px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background-color: #fff;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Default Fan Positions */
.phone-card-left {
  transform: translateX(45px) rotate(-7deg) scale(0.92);
  z-index: 1;
}

.phone-card-center {
  transform: translateY(-16px) scale(1);
  z-index: 3;
}

.phone-card-right {
  transform: translateX(-45px) rotate(7deg) scale(0.92);
  z-index: 2;
}

/* 5. Apps Section: Distinct Alternating Color Compositions */
.apps-section {
  padding: 90px 0 40px 0;
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin-bottom: 60px;
}

.section-headline {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-charcoal);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtext {
  font-size: 1.1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Product Scene Cards / Strips */
.product-scene {
  margin: 32px var(--container-pad);
  border-radius: var(--radius-xl);
  padding: 64px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.scene-yellow {
  background: linear-gradient(135deg, #FDF4D4 0%, #F8D981 100%);
}

.scene-lavender {
  background: linear-gradient(135deg, #E6EAF9 0%, #AEB9ED 100%);
}

.scene-mint {
  background: linear-gradient(135deg, #E4F7ED 0%, #CBEEDB 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  max-width: 1060px;
}

.product-scene-reverse .product-grid {
  grid-template-columns: 0.85fr 1.15fr;
}

.product-scene-reverse .product-copy {
  order: 2;
}

.product-scene-reverse .product-visual {
  order: 1;
}

.pill-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-charcoal);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.product-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--color-charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}

.product-lead {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #383a35;
  margin-bottom: 24px;
  max-width: 480px;
}

.feature-pills {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #2b2d28;
}

.feature-icon {
  color: var(--color-charcoal);
  font-size: 0.85rem;
  margin-top: 3px;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-store {
  background-color: var(--color-charcoal);
  color: var(--color-offwhite);
  padding: 0 22px;
  gap: 10px;
}

.btn-store:hover {
  background-color: var(--color-charcoal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(32, 33, 31, 0.2);
}

.btn-link-pill {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-charcoal);
  padding: 0 20px;
  gap: 6px;
}

.btn-link-pill:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.arrow-icon {
  transition: transform var(--transition-fast);
}

.btn-link-pill:hover .arrow-icon {
  transform: translateX(3px);
}

/* Scene Visuals & Ambient Circles */
.scene-phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.decor-circle {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(36px);
  z-index: 0;
  opacity: 0.6;
}

.decor-circle-yellow { background-color: #f7ca54; }
.decor-circle-lavender { background-color: #8f9ee6; }
.decor-circle-mint { background-color: #9ee2bc; }

.phone-frame-scene {
  width: 260px;
  height: 530px;
  z-index: 1;
  transform: rotate(1.5deg);
  transition: transform var(--transition-smooth);
}

.product-scene:hover .phone-frame-scene {
  transform: rotate(0deg) translateY(-4px);
}

/* 6. Resources Section: Editorial Link Rows */
.resources-section {
  padding: 80px 0 100px 0;
}

.resources-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.resources-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.resource-row {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  border: 1px solid var(--color-subtle-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.resource-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(32, 33, 31, 0.16);
}

.resource-info {
  flex: 1;
}

.resource-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.resource-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-charcoal);
  margin-bottom: 6px;
}

.resource-desc {
  font-size: 0.98rem;
  color: var(--color-muted);
  line-height: 1.5;
  max-width: 620px;
}

.btn-resource {
  background: rgba(32, 33, 31, 0.06);
  color: var(--color-charcoal);
  font-size: 0.92rem;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-resource:hover {
  background: var(--color-charcoal);
  color: var(--color-offwhite);
  transform: translateY(-1px);
}

/* 7. Social Finale Section (Dark Charcoal Surface) */
.social-section {
  background-color: var(--color-charcoal);
  color: var(--color-offwhite);
  padding: 90px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.social-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.social-headline {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--color-offwhite);
}

.social-subtext {
  font-size: 1.1rem;
  color: #c2c4bc;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 48px auto;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.social-card {
  background-color: var(--color-charcoal-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  display: block;
  min-height: 44px;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  background-color: var(--color-charcoal-light);
}

.social-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.social-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-card-instagram .social-icon-wrapper {
  background: rgba(248, 217, 129, 0.15);
  color: var(--color-yellow);
}

.social-card-facebook .social-icon-wrapper {
  background: rgba(174, 185, 237, 0.15);
  color: var(--color-lavender);
}

.social-card-pinterest .social-icon-wrapper {
  background: rgba(203, 238, 219, 0.15);
  color: var(--color-mint);
}

.social-meta {
  flex: 1;
}

.social-platform {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-offwhite);
}

.social-handle {
  display: block;
  font-size: 0.85rem;
  color: #9fa29a;
}

.social-arrow {
  font-size: 1.1rem;
  color: #9fa29a;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.social-card:hover .social-arrow {
  transform: translateX(4px);
  color: var(--color-offwhite);
}

/* Native Share Box */
.share-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 560px;
  margin: 0 auto;
}

.share-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-offwhite);
  margin-bottom: 16px;
}

.share-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-share {
  background-color: var(--color-yellow);
  color: var(--color-charcoal);
  font-size: 0.98rem;
  font-weight: 800;
  gap: 10px;
  padding: 0 28px;
}

.btn-share:hover {
  background-color: #fae29f;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.share-status {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-mint);
  min-height: 20px;
}

/* 8. Footer */
.site-footer {
  background-color: #1a1b19;
  color: #8c8f87;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-offwhite);
}

.footer-copy-text {
  font-size: 0.92rem;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: #b2b4ac;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-offwhite);
}

.footer-bottom {
  font-size: 0.85rem;
  color: #b8bcb2;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  width: 100%;
}

/* 9. Responsive Layouts & Breakpoints */
@media (max-width: 992px) {
  .product-grid, .product-scene-reverse .product-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .product-scene-reverse .product-copy {
    order: 1;
  }

  .product-scene-reverse .product-visual {
    order: 2;
  }

  .product-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-pills {
    align-items: center;
  }

  .product-actions {
    justify-content: center;
  }

  .social-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .phones-group {
    min-height: 400px;
  }

  .phone-frame {
    width: 160px;
    height: 330px;
    border-radius: 28px;
    padding: 6px;
  }

  .phone-frame-lead {
    width: 180px;
    height: 370px;
    border-radius: 32px;
  }

  .phone-notch {
    width: 48px;
    height: 11px;
    top: 9px;
  }

  .phone-card-left {
    transform: translateX(25px) rotate(-6deg) scale(0.9);
  }

  .phone-card-right {
    transform: translateX(-25px) rotate(6deg) scale(0.9);
  }

  .floating-chip {
    display: none;
  }

  .resource-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
  }

  .btn-resource {
    width: 100%;
  }

  .product-scene {
    margin-left: 12px;
    margin-right: 12px;
    padding: 44px 20px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
  }

  .hero-headline {
    font-size: 2.15rem;
  }

  .phone-frame {
    width: 125px;
    height: 260px;
    border-radius: 22px;
    padding: 5px;
  }

  .phone-frame-lead {
    width: 140px;
    height: 290px;
    border-radius: 26px;
  }

  .phone-notch {
    width: 36px;
    height: 9px;
    top: 7px;
  }

  .phone-card-left {
    transform: translateX(18px) rotate(-5deg) scale(0.88);
  }

  .phone-card-right {
    transform: translateX(-18px) rotate(5deg) scale(0.88);
  }

  .hero-actions .btn {
    width: 100%;
  }
}

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

  .floating-chip {
    animation: none !important;
  }

  .phone-card-left {
    transform: translateX(30px) rotate(-3deg) scale(0.95) !important;
  }

  .phone-card-center {
    transform: none !important;
  }

  .phone-card-right {
    transform: translateX(-30px) rotate(3deg) scale(0.95) !important;
  }
}

/* Network launch composition */
::selection { background: #AEB9ED; color: #20211F; }
html { scrollbar-color: #9b9fbe #F9F8F2; }
a { text-underline-offset: .22em; }
.hero-section { isolation: isolate; padding-top: 34px; background: linear-gradient(155deg,#fbf9ee 5%,#fff0bf 52%,#dce3fa 100%); }
.hero-backdrop { z-index: -1; filter: none; opacity: .7; }
.hero-copy { margin-bottom: 18px; max-width: 980px; }
.hero-headline { font-size: clamp(2.4rem,4.4vw,4rem); margin-bottom: 16px; }
.hero-description { font-size: 1.07rem; max-width: 570px; margin-bottom: 22px; }
.hero-stage { padding-top: 12px; margin-top: 0; }
.phones-group { min-height: 380px; }
.hero-stage .phone-frame { width: 222px; height: 445px; }
.hero-stage .phone-frame-lead { width: 240px; height: 490px; }
.product-scene { border-radius: 30px; }
.product-title { font-size: clamp(2.3rem,4.2vw,3.7rem); }
.mobile-nav[aria-hidden="true"] { visibility: hidden; }
.mobile-nav[aria-hidden="false"] { visibility: visible; }
.scene-yellow .product-lead,.scene-lavender .product-lead,.scene-mint .product-lead { color: #383a35; }
@supports (animation-timeline: view()) {
 @media (prefers-reduced-motion: no-preference) {
  .product-visual .phone-frame { animation: scene-arrive linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes scene-arrive { from { transform: translateY(60px) rotate(-5deg); } to { transform: translateY(0) rotate(1.5deg); } }
 }
}
@media (max-width:768px) {
 .hero-section { padding-top: 32px; padding-bottom: 35px; }
 .hero-copy { margin-bottom: 18px; }
 .hero-headline { font-size: clamp(2rem,6.5vw,3rem); }
 .hero-description { font-size: 1rem; max-width: 34ch; }
 .hero-stage .phone-frame { width: 145px; height: 305px; border-radius: 28px; }
 .hero-stage .phone-frame-lead { width: 162px; height: 345px; }
 .phones-group { min-height: 345px; }
 .phone-pill-badge { font-size: .7rem; padding: 4px 7px; }
 .hero-actions { gap: 10px; }
 .hero-actions .btn { width: auto; min-height: 44px; font-size: .8rem; padding: 0 16px; }
}
@media (max-width:480px) {
 .hero-stage .phone-frame { width: 116px; height: 245px; border-radius: 23px; }
 .hero-stage .phone-frame-lead { width: 132px; height: 285px; border-radius: 26px; }
 .hero-stage .phone-screen { border-radius: 16px; }
 .phones-group { min-height: 300px; }
 .product-title { font-size: 2.2rem; }
 .product-scene .phone-frame-scene { width: 225px; height: 460px; border-radius: 36px; padding: 8px; }
 .product-scene .phone-screen { border-radius: 25px; }
}
.hero-backdrop { display: none; }
.mobile-drawer { position: absolute; top: 68px; bottom: auto; height: calc(100dvh - 68px); background: #F9F8F2; overflow-y: auto; }
