/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #7ED321;
  --green-dark: #5fa018;
  --green-light: #E5FAA8;
  --green-glow: rgba(126, 211, 33, 0.18);
  --dark: #1C1C1E;
  --gray-900: #2C2C2E;
  --gray-700: #636366;
  --gray-400: #AEAEB2;
  --gray-200: #E5E5EA;
  --gray-100: #F3F1EC;
  --white: #fff;
  --bg: #FAFAF7;
  --font: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1100px;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --radius-pill: 100px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.04), 0 4px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.10);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.06), 0 24px 64px rgba(0,0,0,0.14);
  --shadow-green: 0 4px 20px rgba(126, 211, 33, 0.32);
  --shadow-green-hover: 0 8px 32px rgba(126, 211, 33, 0.44);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease;
}

/* Suppress transitions during initial page load color restore */
.no-transition,
.no-transition * {
  transition: none !important;
}

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  font-family: var(--font);
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green-hover);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.22);
}

.btn-dark:hover {
  background: #2C2C2E;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
}

.section-label {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--green-light);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 600px;
  line-height: 1.7;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(250, 250, 250, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  overflow: visible;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.header__logo span {
  font-weight: 900;
  font-family: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: color 0.5s ease;
}

.header__logo img {
  height: 34px;
  width: 34px;
  border-radius: 10px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background-color 0.5s ease;
}

.header__nav a {
  padding: 7px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-pill);
  transition: all 0.5s ease;
  position: relative;
}

.header__nav a:hover {
  color: var(--dark);
  background: rgba(0,0,0,0.05);
}

.header__nav a.active {
  color: var(--green-dark);
  background: var(--green-light);
  font-weight: 600;
}

.header__nav a.active::after {
  display: none;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__cta .btn {
  padding: 9px 22px;
  font-size: 0.88rem;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: var(--radius-pill);
  transition: all 0.3s, background-color 0.5s ease;
}

/* ===== Color Picker (Nav) ===== */
.header__color-picker {
  position: relative;
  display: flex;
  align-items: center;
}

.header__color-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0,0,0,0.05);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.5s ease;
}

.header__color-btn svg {
  width: 18px;
  height: 18px;
  color: var(--gray-700);
  transition: color 0.5s ease;
}

.header__color-btn:hover {
  background: rgba(0,0,0,0.1);
}

.header__color-btn .color-indicator {
  position: absolute;
  top: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(250, 250, 250, 0.88);
  display: none;
}

.header__color-btn .color-indicator.active {
  display: block;
}

.color-picker-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: white;
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 1001;
  width: 264px;
  /* Genie animation: scale from button origin */
  transform-origin: top right;
  transform: scale(0.2);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.14s ease-in,
              opacity 0.12s ease-in,
              background-color 0.5s ease,
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}

.color-picker-dropdown.color-active {
  box-shadow: var(--shadow-green);
  border-color: rgba(126, 211, 33, 0.3);
}

.color-picker-dropdown.open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
  transition: transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1),
              opacity 0.15s ease-out,
              background-color 0.5s ease,
              box-shadow 0.5s ease,
              border-color 0.5s ease;
}

.color-picker-dropdown__title {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  text-align: left;
  transition: color 0.5s ease;
}

.color-picker-dropdown.color-active .color-picker-dropdown__title {
  color: white;
}

.color-picker-dropdown__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.color-picker-dropdown__swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.color-picker-dropdown__swatch:hover {
  transform: scale(1.2);
}

.color-picker-dropdown__swatch.active {
  outline: 2px solid white;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.25);
}

/* Header color-active state */
.header--color-active {
  border-bottom-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.header--color-active .header__logo span {
  color: white;
}

.header--color-active .header__nav a {
  color: rgba(255, 255, 255, 0.8);
}

.header--color-active .header__nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.header--color-active .header__nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.header--color-active .header__toggle span {
  background: white;
}

.header--color-active .header__color-btn {
  background: rgba(255,255,255,0.2);
}

.header--color-active .header__color-btn svg {
  color: white;
}

.header--color-active .header__color-btn:hover {
  background: rgba(255,255,255,0.3);
}

.header--color-active .header__color-btn .color-indicator {
  border-color: rgba(255,255,255,0.5);
}

/*
 * Base background for all <section> elements.
 * This ensures every section has an opaque starting color and a smooth
 * background-color transition for the color-swatch feature.
 *
 * NEW PAGES: any new <section> inherits this automatically.
 * If you add a gradient, use separate background-color + background-image
 * (not the background shorthand) so the transition still works.
 * Cards/sub-elements with their own background need their own
 * transition: background-color 0.5s ease declaration.
 */
section {
  background-color: var(--bg);
  transition: background-color 0.5s ease;
}

/* ===== Hero ===== */
.hero {
  padding: 136px 0 80px;
  text-align: center;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 55% 60% at 15% 90%, rgba(245, 220, 50, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(126, 211, 33, 0.14) 0%, transparent 60%),
    linear-gradient(170deg, #ECFFB8 0%, #F6FFDE 28%, #FAFAF7 62%);
  transition: background-color 0.5s ease;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.07);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 64px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.hero__badge img {
  height: 20px;
  width: 20px;
  border-radius: 6px;
}

.brand {
  font-family: 'Avenir Black', 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
}

.hero__name {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: 'Avenir Black', 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero__name span {
  font-weight: 400;
  font-family: var(--font);
  color: var(--gray-700);
}

.hero__name .brand {
  font-family: 'Avenir Black', 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
  color: var(--dark);
}


.hero__title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  max-width: 700px;
  margin: 0 auto 20px;
  color: var(--dark);
  letter-spacing: -0.04em;
}

.hero__title span {
  color: var(--green);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 64px;
}

.hero__app-store {
  height: 50px;
  width: auto;
  transition: all 0.25s ease;
}

.hero__app-store:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.hero__image {
  max-width: 580px;
  margin: 0 auto;
}

/* ===== Split Section (text + image) ===== */
.split {
  padding: 100px 0;
  transition: background-color 0.5s ease;
}

.split .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split--reverse .split__content {
  order: 2;
}

.split--reverse .split__visual {
  order: 1;
}

.split__visual img {
  border-radius: var(--radius);
}

.split__content .btn {
  margin-top: 28px;
}

/* ===== Features Grid ===== */
.features {
  padding: 100px 0;
  background: var(--gray-100);
  transition: background-color 0.5s ease;
}

.features__header {
  text-align: center;
  margin-bottom: 56px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background-color 0.5s ease;
}

.feature-card__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.feature-card__text {
  font-size: 0.93rem;
  color: var(--gray-700);
  line-height: 1.65;
}

/* ===== Colors Section ===== */
.colors-section {
  padding: 100px 0;
  text-align: center;
  transition: background-color 0.5s ease;
}

.colors-section--active .section-title,
.colors-section--active .section-subtitle {
  color: white;
  transition: color 0.5s ease;
}

.colors-section--active .section-label {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transition: background-color 0.5s ease, color 0.5s ease;
}

/* Base color transitions so text/icons animate smoothly on deselect */
.section-title,
.section-subtitle,
.hero__title,
.hero__title span,
.hero__subtitle,
.hero__name,
.hero__name span,
.feature-card__title,
.feature-card__text,
.split__content p,
.split__content h2,
.devices__header p,
.page-hero__title,
.page-hero__subtitle,
.faq__question,
.faq__answer p,
.faq__answer li,
.faq__answer a,
.contact-info__label,
.contact-info__value,
.contact-info__value a,
.contact-info svg,
.legal-content,
.legal-content h2,
.legal-content p,
.legal-content li,
.legal-content a,
.press-card__source,
.press-card__quote,
.press-card__link,
label,
.social-card p,
.wn-feature-card__title,
.wn-feature-card__text,
.wn-improvement-item h4,
.wn-improvement-item p,
.wn-list-item p,
.wn-screenshot-placeholder span {
  transition: color 0.5s ease;
}

.section-label,
.hero__badge {
  transition: background-color 0.5s ease, color 0.5s ease;
}

.social-card svg {
  transition: stroke 0.5s ease;
}

/* Global color swatch active state for all sections */
.section--color-active {
  background-image: none !important;
  transition: background-color 0.5s ease;
}

.section--color-active .section-title,
.section--color-active .section-subtitle,
.section--color-active .hero__title,
.section--color-active .hero__title span,
.section--color-active .hero__subtitle,
.section--color-active .hero__name,
.section--color-active .hero__name span,
.section--color-active .feature-card__title,
.section--color-active .feature-card__text,
.section--color-active .split__content p,
.section--color-active .split__content h2,
.section--color-active .devices__header p,
.section--color-active .social-card__name,
.section--color-active .social-card__handle,
.section--color-active .page-hero__title,
.section--color-active .page-hero__subtitle,
.section--color-active .faq__question,
.section--color-active .faq__question::after,
.section--color-active .faq__answer p,
.section--color-active .faq__answer li,
.section--color-active .faq__answer a,
.section--color-active .contact-info__label,
.section--color-active .contact-info__value,
.section--color-active .contact-info__value a,
.section--color-active .contact-info svg,
.section--color-active .legal-content,
.section--color-active .legal-content h2,
.section--color-active .legal-content p,
.section--color-active .legal-content li,
.section--color-active .legal-content a {
  color: white;
  transition: color 0.5s ease;
}

.section--color-active .section-label,
.section--color-active .hero__badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.section--color-active .feature-card,
.section--color-active .social-card,
.section--color-active .press-card,
.section--color-active .contact-form {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: white;
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.section--color-active .press-card__source,
.section--color-active .press-card__quote,
.section--color-active .press-card__link {
  color: white;
}

.section--color-active .feature-card__icon {
  background: white;
  transition: background-color 0.5s ease;
}

.section--color-active .btn-primary {
  background: white !important;
  color: var(--dark) !important;
  box-shadow: var(--shadow-green) !important;
  transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

.section--color-active .btn-primary:hover {
  box-shadow: var(--shadow-green-hover) !important;
}

.section--color-active .faq__item {
  border-color: rgba(255, 255, 255, 0.2);
  transition: border-color 0.5s ease;
}

.section--color-active .contact-info__icon {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.section--color-active input,
.section--color-active textarea {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.section--color-active input::placeholder,
.section--color-active textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.section--color-active label {
  color: white;
  transition: color 0.5s ease;
}

.section--color-active .pill span {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.section--color-active .contact-form .section-title,
.section--color-active .contact-form label {
  color: white !important;
  transition: color 0.5s ease;
}

.section--color-active .social-card p {
  color: white !important;
  transition: color 0.5s ease;
}

.section--color-active .social-card svg {
  stroke: white;
  transition: stroke 0.5s ease;
}

/* Green highlight on cards when color is active */
.section--color-active .social-card,
.section--color-active .press-card {
  box-shadow: var(--shadow-green) !important;
}

.section--color-active .social-card:hover,
.section--color-active .press-card:hover {
  box-shadow: var(--shadow-green-hover) !important;
}

.colors-section__header {
  margin-bottom: 56px;
}

.colors-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

.color-swatch {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.14);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.color-swatch.active {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(0,0,0,0.2);
}

.colors-random-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 24px auto 0;
  padding: 8px 20px;
  border-radius: 999px;
  border: none;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: background-color 0.5s ease, color 0.5s ease, box-shadow 0.5s ease, transform 0.2s ease;
}

.colors-random-btn__icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

.colors-random-btn:hover {
  transform: scale(1.06);
}

.colors-section--active .colors-random-btn {
  background: white;
  color: black;
  box-shadow: var(--shadow-green);
}

.colors-section--active .colors-random-btn:hover {
  box-shadow: var(--shadow-green-hover);
}

/* ===== Devices Section ===== */
.devices {
  padding: 100px 0;
  text-align: center;
  transition: background-color 0.5s ease;
}

.devices__header {
  margin-bottom: 56px;
}

.devices__header .section-subtitle {
  margin: 0 auto;
}

.devices__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr 0.6fr 0.5fr;
  gap: 20px;
  align-items: end;
  max-width: 900px;
  margin: 0 auto;
}

.devices__grid img {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* ===== Smart Tasks Plus / CTA ===== */
.cta-section {
  padding: 100px 0;
  background-color: var(--bg);
  background-image: linear-gradient(160deg, #F4F9EA 0%, #F8FAF2 50%, #FAFAF7 100%);
  text-align: center;
  transition: background-color 0.5s ease;
}

.cta-section .section-subtitle {
  margin: 0 auto 36px;
}

/* ===== Student Discount ===== */
.student {
  padding: 80px 0;
  text-align: center;
}

.student__badge {
  display: inline-block;
  margin-bottom: 16px;
}

.student__badge img {
  height: 72px;
}

.student .section-subtitle {
  margin: 0 auto 32px;
}

/* ===== Page Hero ===== */
.page-hero {
  padding: 130px 0 60px;
  text-align: center;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(245, 220, 50, 0.12) 0%, transparent 55%),
    linear-gradient(170deg, #EEFFBC 0%, #F7FFDF 30%, #FAFAF7 65%);
  transition: background-color 0.5s ease;
}

.page-hero__title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: -0.04em;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Press Page ===== */
.press-section {
  padding: 80px 0;
  transition: background-color 0.5s ease;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.press-card {
  display: block;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
  color: inherit;
  text-decoration: none;
}

.press-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.press-card__source {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.press-card__quote {
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.press-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.press-card__link:hover {
  color: var(--green-dark);
}

/* Press Kit */
.press-kit {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
  transition: background-color 0.5s ease;
}

/* ===== Education Page ===== */
.edu-hero-image {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 0 0;
}

.edu-pricing {
  padding: 80px 0;
}

.edu-pricing__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 40px auto 0;
}

.edu-pricing__card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.edu-pricing__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.edu-pricing__card--highlight {
  border-color: var(--green);
}

.edu-pricing__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.edu-pricing__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.edu-pricing__desc {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.edu-pricing__note {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  transition: background-color 0.5s ease;
}

.faq--alt {
  background-color: var(--gray-100);
}

.faq__header {
  text-align: center;
  margin-bottom: 48px;
}

.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--gray-200);
  transition: border-color 0.5s ease;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.01em;
}

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: transform 0.2s, color 0.5s ease;
  flex-shrink: 0;
}

.faq__item.open .faq__question::after {
  content: '−';
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.open .faq__answer {
  max-height: 500px;
}

.faq__answer p {
  padding: 0 0 22px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ===== Contact Page ===== */
.contact-section {
  padding: 80px 0;
  transition: background-color 0.5s ease;
}

.contact-section .container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-info {
  order: 1;
  padding-top: 20px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.contact-info__icon svg {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.contact-info__label {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-info__value {
  font-weight: 600;
  color: var(--dark);
}

.contact-form {
  order: 2;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.5s ease, color 0.5s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Checkbox group */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  cursor: pointer;
}

.pill input[type="checkbox"] {
  display: none;
}

.pill span {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gray-200);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  background: var(--bg);
  transition: all 0.2s, background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

.pill:hover span {
  border-color: var(--green);
}

.pill input[type="checkbox"]:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.form-status {
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: var(--green-light);
  color: var(--green-dark);
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #dc2626;
}

/* ===== Footer ===== */
.footer {
  background: #FAFAF7;
  color: var(--gray-500);
  padding: 48px 0 28px;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__brand img {
  height: 28px;
  width: 28px;
  border-radius: 8px;
}

.footer__brand span {
  font-weight: 900;
  color: var(--dark);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  transition: color 0.5s ease;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--gray-500);
  transition: color 0.5s ease;
}

.footer__links a:hover {
  color: var(--dark);
}

.footer__bottom {
  border-top: 1px solid rgba(0,0,0,0.08);
  margin-top: 28px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  transition: border-top-color 0.5s ease, color 0.5s ease;
}

/* Footer color-active state */
.footer--color-active {
  color: white;
  transition: background-color 0.5s ease, color 0.5s ease;
}

.footer--color-active .footer__brand span {
  color: white;
}

.footer--color-active .footer__links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.5s ease;
}

.footer--color-active .footer__links a:hover {
  color: white;
}

.footer--color-active .footer__bottom {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  transition: border-top-color 0.5s ease, color 0.5s ease;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero__title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .split .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split--reverse .split__content {
    order: 1;
  }

  .split--reverse .split__visual {
    order: 2;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .devices__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .press-grid {
    grid-template-columns: 1fr;
  }

  .edu-pricing__cards {
    grid-template-columns: 1fr;
  }

  .contact-section .container {
    grid-template-columns: 1fr;
  }

  .contact-form {
    order: 0;
  }

  .contact-info {
    order: 0;
  }
}

@media (max-width: 640px) {
  .header__nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #FAFAF7;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: 4px;
  }

  .header__nav.open {
    display: flex;
  }

  .header__nav a.active::after {
    display: none;
  }

  .header__toggle {
    display: flex;
  }

  .header__cta > a {
    display: none;
  }

  .header__cta {
    margin-left: auto;
    margin-right: 16px;
  }

  .hero {
    padding: 108px 0 60px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .devices__grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-hero__title {
    font-size: 2.2rem;
  }

  .color-picker-dropdown {
    width: calc(100vw - 64px);
    right: -44px;
    transform-origin: calc(100% - 44px) top;
  }

  .color-picker-dropdown__swatch {
    width: 38px;
    height: 38px;
  }

  .color-picker-dropdown__grid {
    gap: 10px;
  }

  .header__nav {
    border-radius: 0 0 16px 16px;
  }

  .header--color-active .header__nav {
    background: var(--active-color);
    border-bottom: none;
    box-shadow: 0 12px 16px -4px rgba(126, 211, 33, 0.45);
  }
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 40px 0 12px;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ===== What's New / Update Page ===== */
.wn-showcase {
  padding: 0 0 80px;
  text-align: center;
  transition: background-color 0.5s ease;
}

.wn-screenshot-placeholder {
  background: var(--gray-200);
  border-radius: var(--radius);
  padding: 80px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  border: 2px dashed var(--gray-400);
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.wn-screenshot-placeholder--hero {
  padding: 120px 32px;
  max-width: 700px;
  margin: 0 auto;
}

/* Hero Mac screenshot */
.wn-hero-screenshot {
  max-width: 700px;
  margin: 0 auto;
}

.wn-hero-screenshot img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: opacity 0.4s ease;
}

/* Sun / Moon toggle */
.wn-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.wn-mode-toggle__icon {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.wn-mode-toggle__icon--sun {
  color: var(--gray-400);
}

.wn-mode-toggle__icon--moon {
  color: var(--dark);
}

.wn-mode-toggle__switch {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  padding: 0;
  background: var(--dark);
  transition: background-color 0.3s ease;
}

.wn-mode-toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* Dark state = thumb on left (moon side) */
.wn-mode-toggle__switch--dark .wn-mode-toggle__thumb {
  transform: translateX(0);
}

/* Light state = thumb on right (sun side) */
.wn-mode-toggle__switch--light {
  background: var(--green);
}

.wn-mode-toggle__switch--light .wn-mode-toggle__thumb {
  transform: translateX(24px);
}

/* Icon highlighting based on active mode */
.wn-mode-toggle:has(.wn-mode-toggle__switch--dark) .wn-mode-toggle__icon--moon {
  color: var(--dark);
}

.wn-mode-toggle:has(.wn-mode-toggle__switch--dark) .wn-mode-toggle__icon--sun {
  color: var(--gray-400);
}

.wn-mode-toggle:has(.wn-mode-toggle__switch--light) .wn-mode-toggle__icon--sun {
  color: var(--green);
}

.wn-mode-toggle:has(.wn-mode-toggle__switch--light) .wn-mode-toggle__icon--moon {
  color: var(--gray-400);
}

/* Toggle overrides when a color swatch is active */
.section--color-active .wn-mode-toggle__switch--dark {
  background: white;
}

.section--color-active .wn-mode-toggle__switch--dark .wn-mode-toggle__thumb {
  background: var(--dark);
}

.section--color-active .wn-mode-toggle__switch--light {
  background: white;
}

.section--color-active .wn-mode-toggle__switch--light .wn-mode-toggle__thumb {
  background: var(--dark);
}

.section--color-active .wn-mode-toggle:has(.wn-mode-toggle__switch--dark) .wn-mode-toggle__icon--moon {
  color: white;
}

.section--color-active .wn-mode-toggle:has(.wn-mode-toggle__switch--dark) .wn-mode-toggle__icon--sun {
  color: rgba(255, 255, 255, 0.4);
}

.section--color-active .wn-mode-toggle:has(.wn-mode-toggle__switch--light) .wn-mode-toggle__icon--sun {
  color: white;
}

.section--color-active .wn-mode-toggle:has(.wn-mode-toggle__switch--light) .wn-mode-toggle__icon--moon {
  color: rgba(255, 255, 255, 0.4);
}

/* Text labels for toggle (version compare, etc.) */
.wn-mode-toggle__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
  user-select: none;
}

.wn-mode-toggle:has(.wn-mode-toggle__switch--dark) .wn-mode-toggle__label:first-child {
  color: var(--dark);
}

.wn-mode-toggle:has(.wn-mode-toggle__switch--light) .wn-mode-toggle__label:last-child {
  color: var(--green);
}

.section--color-active .wn-mode-toggle__label {
  color: rgba(255, 255, 255, 0.4);
}

.section--color-active .wn-mode-toggle:has(.wn-mode-toggle__switch--dark) .wn-mode-toggle__label:first-child {
  color: white;
}

.section--color-active .wn-mode-toggle:has(.wn-mode-toggle__switch--light) .wn-mode-toggle__label:last-child {
  color: white;
}

.wn-screenshot-placeholder span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  letter-spacing: -0.01em;
}

.wn-section {
  padding: 80px 0;
  transition: background-color 0.5s ease;
}

.wn-section--compact {
  padding: 64px 0;
}

.wn-section__header {
  margin-bottom: 40px;
}

.wn-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wn-feature-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.wn-feature-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.wn-feature-card__text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.wn-features-list {
  max-width: 640px;
}

.wn-list-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
}

.wn-list-item__dot {
  width: 7px;
  height: 7px;
  min-width: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 2px;
}

.wn-list-item p {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.section--color-active .wn-list-item__dot {
  background: white;
}

.wn-improvements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.wn-improvement-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.wn-improvement-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.wn-improvement-item p {
  font-size: 0.85rem;
  color: var(--gray-700);
  line-height: 1.55;
}

/* What's New color-active overrides */
.section--color-active .wn-feature-card,
.section--color-active .wn-improvement-item {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.section--color-active .wn-feature-card__title,
.section--color-active .wn-feature-card__text,
.section--color-active .wn-improvement-item h4,
.section--color-active .wn-improvement-item p,
.section--color-active .wn-list-item p {
  color: white;
  transition: color 0.5s ease;
}

.section--color-active .wn-screenshot-placeholder {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.section--color-active .wn-screenshot-placeholder span {
  color: rgba(255, 255, 255, 0.7);
}

/* What's New responsive */
@media (max-width: 968px) {
  .wn-improvements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wn-features-grid {
    grid-template-columns: 1fr;
  }

  .wn-improvements-grid {
    grid-template-columns: 1fr;
  }

  .wn-screenshot-placeholder--hero {
    padding: 80px 24px;
  }
}
