/* =========================================================
   Effortless Lifestyle — Mobile-First Site Stylesheet
   Designed for iPhone, iPad, and desktop
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --surface-soft: #fff3f7;
  --text: #2e2927;
  --muted: #716965;
  --accent: #d85c8a;
  --accent-dark: #a83c65;
  --gold: #b88a44;
  --border: #eaded7;
  --shadow: 0 14px 34px rgba(74, 48, 39, 0.10);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --page-width: 1180px;
  --section-gap: clamp(3.5rem, 8vw, 7rem);
}

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

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, white);
  outline-offset: 3px;
}

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

/* ---------- Shared Layout ---------- */
.section-shell {
  width: min(100% - 2rem, var(--page-width));
  margin-inline: auto;
}

main > section,
main > aside {
  margin-block: var(--section-gap);
}

.eyebrow {
  margin-bottom: 0.55rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 1.75rem;
}

.section-heading h2,
.editor-note h2,
.meet-editor h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  font-weight: 500;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  margin-top: 0.85rem;
  background: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding:
    max(0.9rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    0.9rem
    max(1rem, env(safe-area-inset-left));
  background: rgba(255, 250, 245, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.9rem;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.2rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--accent-dark);
}

/* ---------- Hero ---------- */
.hero {
  width: min(100%, 1440px);
  margin: 0 auto var(--section-gap);
  padding: clamp(2.2rem, 8vw, 5rem) 1rem 0;
  text-align: center;
}

.hero h1 {
  max-width: 950px;
  margin: 0 auto 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 10vw, 5.6rem);
  font-weight: 500;
}

.hero-intro {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 3.3vw, 1.25rem);
}

.hero > img {
  width: min(100%, 1100px);
  margin-inline: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  object-fit: cover;
}

/* ---------- Editor Note / Meet Editor ---------- */
.editor-note,
.meet-editor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  padding: clamp(1.35rem, 5vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.avatar {
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}

.editor-note h2 span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-note p:last-child,
.meet-editor p:last-child {
  margin-bottom: 0;
}

/* ---------- Product Grid ---------- */
.product-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.product-image {
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 1.25rem;
  background: linear-gradient(145deg, #fff, var(--surface-soft));
}

.product-image img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.product-copy {
  padding: clamp(1.35rem, 5vw, 2.5rem);
}

.product-copy .number {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--accent-dark);
  font-weight: 900;
}

.product-copy h3 {
  margin-bottom: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  font-weight: 500;
}

.product-copy p {
  color: var(--muted);
}

/* ---------- Buttons / Links ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 800;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--accent);
  transform: translateY(-1px);
}

.text-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------- Supporting Cards ---------- */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.support-card {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.support-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--surface-soft);
}

.support-card h3 {
  margin-bottom: 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.support-card p:last-of-type {
  color: var(--muted);
}

/* ---------- Editor Tip ---------- */
.tip {
  padding: clamp(1.5rem, 6vw, 3rem);
  background: linear-gradient(145deg, #fff0f5, #fffaf5);
  border: 1px solid #f0d8e2;
  border-radius: var(--radius-lg);
  text-align: center;
}

.tip blockquote {
  max-width: 850px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 5vw, 2.6rem);
  font-style: italic;
  line-height: 1.35;
}

/* ---------- Journey ---------- */
.journey-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.journey-card {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.journey-card:hover,
.journey-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.journey-card span {
  margin-bottom: auto;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journey-card strong {
  margin-top: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
}

.journey-card small {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
footer {
  margin-top: var(--section-gap);
  padding:
    2.25rem
    max(1rem, env(safe-area-inset-right))
    max(2.25rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  background: #2e2927;
  color: #fff;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  margin-bottom: 1.3rem;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
}

.disclosure {
  max-width: 760px;
  margin: 0 auto 1rem;
  color: #ddd3ce;
  font-size: 0.88rem;
}

/* ---------- Small Phones ---------- */
@media (max-width: 380px) {
  .section-shell {
    width: min(100% - 1.25rem, var(--page-width));
  }

  .hero {
    padding-inline: 0.625rem;
  }

  .product-copy,
  .editor-note,
  .meet-editor,
  .support-card,
  .journey-card {
    padding: 1.1rem;
  }
}

/* ---------- Tablets ---------- */
@media (min-width: 640px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline:
      max(1.5rem, env(safe-area-inset-left))
      max(1.5rem, env(safe-area-inset-right));
  }

  .brand {
    text-align: left;
  }

  .section-shell {
    width: min(100% - 3rem, var(--page-width));
  }

  .editor-note,
  .meet-editor {
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 1.75rem;
  }

  .avatar {
    width: 118px;
  }

  .support-grid,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    width: auto;
    min-width: 180px;
  }
}

/* ---------- iPad Landscape / Small Desktop ---------- */
@media (min-width: 820px) {
  .product-card {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .product-card.reverse .product-image {
    order: 2;
  }

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

  .product-image {
    min-height: 420px;
  }

  .product-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

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

/* ---------- Desktop ---------- */
@media (min-width: 1080px) {
  .site-header {
    padding-inline:
      max(2.5rem, env(safe-area-inset-left))
      max(2.5rem, env(safe-area-inset-right));
  }

  .support-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid {
    gap: 2rem;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  footer,
  .button,
  .text-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .product-card,
  .support-card,
  .editor-note,
  .meet-editor,
  .tip {
    box-shadow: none;
    break-inside: avoid;
  }
}
