/* AM Ready — Home landing (bleed variant)
   Deploy: index-bleed.html + home-bleed.css + assets/ (+ features/*.jpg)
   Hero matches the main landing; feature sections use full-bleed split media.
*/
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --sun: #f29157;
  --sun-deep: #e0783a;
  --sun-ray: #ffb347;
  --cream: #fef9f3;
  --cream-deep: #f7efe4;
  --mint: #a7e2d8;
  --teal: #4aaba8;
  --teal-deep: #2f8f8c;
  --ink: #2d3439;
  --ink-soft: #5c6370;
  --ink-mute: #8e9399;
  --line: rgba(45, 52, 57, 0.1);
  --white: #ffffff;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.85rem 0;
  background: rgba(254, 249, 243, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 52, 57, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: #1a1f23;
}

@media (min-width: 800px) {
  .nav-links {
    display: flex;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sun {
  background: linear-gradient(135deg, var(--sun-ray), var(--sun-deep));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(242, 145, 87, 0.35);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.apple-mark {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - 4.5rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 70% 15%, rgba(255, 179, 71, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 90%, rgba(167, 226, 216, 0.55), transparent 50%),
    linear-gradient(180deg, #fff7ec 0%, var(--cream) 55%, #eaf7f4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(74, 171, 168, 0.18) 40%,
    rgba(47, 143, 140, 0.28)
  );
  clip-path: polygon(0 45%, 18% 28%, 42% 48%, 68% 22%, 100% 40%, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 3.5rem;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 3.5rem 0 4.5rem;
  }
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sun-deep);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 3.75rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-lead {
  margin: 1.15rem 0 0;
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-mute);
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  animation: rise-in 0.9s ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-phone {
  width: min(100%, 300px);
  height: auto;
  border-radius: 36px;
}

.mini-ui,
.bleed-ui.mini-ui {
  width: min(100%, 240px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem 1.05rem;
  box-shadow: 0 12px 40px rgba(45, 52, 57, 0.12);
}

.scene-evening .mini-ui {
  background: rgba(255, 255, 255, 0.08);
  color: #f3f6f5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.mini-ui h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
}

.check {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.9rem;
  margin: 0.4rem 0;
  color: var(--ink);
}

.scene-evening .check {
  color: rgba(243, 246, 245, 0.8);
}

.check i {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 2px solid var(--sun);
  flex-shrink: 0;
}

.check.on i {
  background: var(--sun);
}

.notif,
.bleed-ui.notif {
  width: min(100%, 280px);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.95rem 1.05rem;
  box-shadow: 0 16px 48px rgba(45, 52, 57, 0.18);
}

.notif small,
.bleed-ui.notif small {
  display: block;
  color: var(--ink-mute);
  font-weight: 600;
  font-size: 0.72rem;
  margin-bottom: 0.25rem;
}

.bleed-ui-meta {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.art-brief {
  border: 0;
  border-radius: 10px;
  padding: 0;
  background: transparent;
}

.art-brief summary {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  list-style: none;
}

.art-brief summary::-webkit-details-marker {
  display: none;
}

.art-brief p {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

section {
  padding: 5rem 0;
}

section.bleed {
  padding: 0;
}

.section-label {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.section-lead {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  max-width: 38rem;
  font-size: 1.05rem;
}

.problem {
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(242, 145, 87, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(74, 171, 168, 0.1), transparent 50%),
    var(--cream);
  border-block: 1px solid var(--line);
}

.problem-intro {
  max-width: 40rem;
}

.problem-grid {
  counter-reset: problem;
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-item {
  counter-increment: problem;
  position: relative;
  padding: 1.75rem 0 0.25rem;
}

@media (min-width: 800px) {
  .problem-item {
    padding: 2rem 1.75rem 0.5rem 0;
  }

  .problem-item + .problem-item {
    padding-left: 1.75rem;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 799px) {
  .problem-item + .problem-item {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }
}

.problem-item::before {
  content: counter(problem, decimal-leading-zero);
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--sun);
  opacity: 0.9;
}

.problem-item h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.problem-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 28ch;
}

@media (min-width: 800px) {
  .problem-item p {
    max-width: none;
  }
}

/* —— Bleed feature splits —— */
.bleed {
  display: grid;
  background: var(--cream);
}

@media (min-width: 900px) {
  .bleed {
    grid-template-columns: 1fr 1fr;
    min-height: min(78vh, 720px);
  }
}

.bleed-copy {
  display: flex;
  align-items: center;
  padding: 3rem 1.25rem;
}

@media (min-width: 900px) {
  .bleed.media-right .bleed-copy {
    justify-content: flex-end;
    padding: 4rem 0;
    padding-left: max(1.25rem, calc((100vw - var(--max)) / 2));
    padding-right: clamp(1.5rem, 5vw, 3.75rem);
  }

  .bleed.media-left .bleed-copy {
    order: 2;
    justify-content: flex-start;
    padding: 4rem 0;
    padding-right: max(1.25rem, calc((100vw - var(--max)) / 2));
    padding-left: clamp(1.5rem, 5vw, 3.75rem);
  }

  .bleed.media-left .bleed-media {
    order: 1;
  }
}

.bleed-copy-inner {
  width: 100%;
  max-width: 28rem;
}

.bleed-copy h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bleed-copy-inner > p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.bleed-media {
  position: relative;
  margin: 0;
  min-height: 340px;
  overflow: hidden;
  background: var(--cream-deep);
}

@media (min-width: 900px) {
  .bleed-media {
    min-height: 100%;
  }
}

.bleed-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.bleed-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.scene-reminders .bleed-scene {
  background: radial-gradient(ellipse 70% 55% at 80% 40%, rgba(255, 179, 71, 0.35), transparent 55%),
    linear-gradient(135deg, #d8dee4 0%, #b7c4c8 40%, #8fa8a6 100%);
}

.scene-reminders .bleed-scene::before {
  content: "";
  position: absolute;
  inset: 18% 12% 22% 35%;
  background: linear-gradient(180deg, rgba(255, 236, 210, 0.55), transparent 40%),
    linear-gradient(90deg, transparent, rgba(47, 143, 140, 0.25));
  clip-path: polygon(35% 0, 100% 8%, 92% 100%, 0 88%);
  opacity: 0.85;
  pointer-events: none;
}

.scene-checklist .bleed-scene {
  background: radial-gradient(ellipse 60% 50% at 30% 20%, rgba(255, 179, 71, 0.4), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(167, 226, 216, 0.35), transparent 50%),
    linear-gradient(160deg, #f3ebe0, #e4ddd2 45%, #cfd8d4);
}

.scene-evening .bleed-scene {
  background: radial-gradient(ellipse 45% 40% at 35% 30%, rgba(242, 145, 87, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 45% at 70% 70%, rgba(74, 171, 168, 0.18), transparent 50%),
    linear-gradient(160deg, #1a2827 0%, #243b3a 50%, #1e242b 100%);
}

.scene-evening .bleed-scene > img {
  position: absolute;
  inset: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  max-width: none;
  object-fit: contain;
}

.bleed-media > .art-brief {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  max-width: min(calc(100% - 2rem), 280px);
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(254, 249, 243, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(45, 52, 57, 0.1);
}

.bleed-evening {
  background: #1f3231;
  color: #f3f6f5;
}

.bleed-evening .section-label {
  color: var(--mint);
}

.bleed-evening .bleed-copy h2 {
  color: #fff;
}

.bleed-evening .bleed-copy-inner > p {
  color: rgba(243, 246, 245, 0.75);
}

.bleed-evening .feature-points {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.bleed-evening .feature-points li {
  color: #f3f6f5;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.bleed-evening .feature-points li::before {
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(167, 226, 216, 0.15);
}

.bleed-evening .evening-note {
  margin: 1.25rem 0 0;
  color: rgba(243, 246, 245, 0.65);
  font-size: 0.95rem;
}

.bleed-evening .art-brief {
  background: rgba(31, 50, 49, 0.88);
}

.bleed-evening .art-brief summary {
  color: rgba(243, 246, 245, 0.55);
}

.bleed-evening .art-brief p {
  color: rgba(243, 246, 245, 0.7);
}

.feature-points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-points li {
  position: relative;
  padding: 0.95rem 0 0.95rem 1.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(242, 145, 87, 0.15);
}

.feature-points li::after {
  display: none;
}

.built {
  background: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(242, 145, 87, 0.12), transparent 55%),
    var(--cream-deep);
}

.built-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 800px) {
  .built-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.built-item {
  padding-top: 1rem;
  border-top: 2px solid var(--sun);
}

.built-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.built-item p {
  margin: 0;
  color: var(--ink-soft);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  counter-increment: step;
  padding: 1.5rem 0 0;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--sun-deep);
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.faq {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.faq .wrap {
  max-width: min(100% - 2.5rem, 52rem);
  margin-inline: auto;
}

.faq .section-label,
.faq .section-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.faq .section-title {
  max-width: 16ch;
}

.faq-list {
  margin: 2rem 0 0;
  display: grid;
  gap: 0.65rem;
  max-width: none;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.05rem 1.25rem;
  background: var(--cream);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--ink-mute);
  border-bottom: 2px solid var(--ink-mute);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-top: -0.2rem;
}

.faq-list details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.cta {
  text-align: center;
  padding: 5.5rem 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255, 179, 71, 0.35), transparent 60%),
    linear-gradient(180deg, var(--cream), #e8f6f3);
}

.cta h2 {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 14ch;
  line-height: 1.1;
}

.cta p {
  margin: 1rem auto 0;
  max-width: 32rem;
  color: var(--ink-soft);
}

.cta .hero-actions {
  justify-content: center;
}

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-mute);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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