/* Homepage sections (Aesthetic E). Tokens, header, footer and base type
   come from /styles.css; this file only lays out the landing page. */

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.home h1,
.home h2,
.home h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 72%;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
}
.home p { margin: 0; }

/* hero */
.hero { padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 6.2vw, 86px); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 22px; font-size: 19px; color: var(--text-2); max-width: 34ch; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  border-radius: 4px;
  border: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: transform 100ms;
}
.store:hover { color: var(--bg); transform: translateY(-2px); }
.store.alt { background: transparent; color: var(--text); }
.store.alt:hover { color: var(--text); }
.note { margin-top: 14px; font-size: 14.5px; color: var(--text-2); }

.phone {
  width: min(290px, 100%);
  margin: 0 auto;
  border: 3px solid var(--text);
  border-radius: 34px;
  padding: 8px;
  background: var(--band);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 26px; }

/* ruled grids: the 1px gap shows the border colour between cells (option D) */
.ruled { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.ruled > * { background: var(--surface); }

/* at a glance */
.glance { padding-bottom: 72px; }
.glance ul { margin: 0; padding: 0; grid-template-columns: repeat(4, 1fr); }
.glance li { list-style: none; padding: 22px 22px 24px; }
.glance b { display: block; font-weight: 800; font-stretch: 72%; font-size: 38px; line-height: 1; text-transform: uppercase; }
.glance span { display: block; margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* sections */
/* option D: space separates sections, no top rule */
.block { padding: 72px 0; }
.head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.head h2 { font-size: clamp(36px, 4.4vw, 54px); }
.head p { font-size: 15px; color: var(--text-2); }

/* features */
.board { margin-top: 36px; grid-template-columns: repeat(3, 1fr); }
.item { display: flex; flex-direction: column; }
.shot { height: 270px; overflow: hidden; padding: 24px 24px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.shot img { display: block; width: 64%; height: auto; margin: 0 auto; border: 1px solid var(--border); border-bottom: 0; border-radius: 16px 16px 0 0; }
.item-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.item h3 { font-size: 27px; }
.item p { margin-top: 10px; font-size: 15.5px; color: var(--text-2); }
.plan-tag { align-self: flex-start; margin-top: auto; padding-top: 18px; }
.plan-tag span {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.plan-tag.mixed span { border-color: var(--accent); color: var(--accent-text); }

/* pricing */
.plans { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--surface); border: 1px solid var(--border); padding: 28px; }
/* emphasis frame stays 3px; padding keeps its content edge level with a 1px card */
.plan.pro { border: 3px solid var(--accent); padding: 26px; }
.plan h3 { font-size: 30px; }
.price { margin-top: 14px; font-size: 15px; color: var(--text-2); }
.price b { font-weight: 800; font-stretch: 72%; font-size: 46px; line-height: 1; color: var(--text); margin-right: 4px; }
.price-alt { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.price-alt b { color: var(--text); font-weight: 700; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 15.5px; }
.plan li { padding-left: 20px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; background: var(--accent); }
.fine { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-2); }

/* your data */
.data { margin-top: 36px; grid-template-columns: repeat(4, 1fr); }
.data > div { padding: 22px; }
.data h3 { font-size: 24px; }
.data p { margin-top: 8px; font-size: 15px; color: var(--text-2); }

/* faq */
.home-faq { margin-top: 36px; border: 1px solid var(--border); background: var(--surface); }
.home-faq details + details { border-top: 1px solid var(--border); }
.home-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 17px;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: '+'; color: var(--accent-text); font-weight: 800; }
.home-faq details[open] summary::after { content: '\2212'; }
.home-faq details p { padding: 0 22px 20px; max-width: 72ch; font-size: 15.5px; color: var(--text-2); }

/* closing band */
.band { background: var(--band); color: var(--band-ink); padding: 60px 0; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { font-size: clamp(38px, 5vw, 66px); color: var(--band-ink); }
.band .stores { margin-top: 0; }
.band .store { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.band .store:hover { color: var(--band); }
.band .store.alt { background: transparent; color: var(--band-ink); }
.band .store.alt:hover { color: var(--band-ink); }
/* #download and the legacy #waitlist anchor land on the buttons, clear of the sticky header */
.download-anchor { scroll-margin-top: 96px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { width: min(270px, 75%); }
  .glance ul, .data { grid-template-columns: 1fr 1fr; }
  .board { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 44px; }
  .glance { padding-bottom: 56px; }
  .glance li { padding: 18px 16px 20px; }
  .glance b { font-size: 32px; }
  .block { padding: 56px 0; }
  .board { grid-template-columns: 1fr; }
  .shot { height: 240px; }
  .data { grid-template-columns: 1fr; }
  .plan { padding: 22px; }
  .plan.pro { padding: 20px; }
  .store { flex: 1 1 150px; justify-content: center; }
  .band .stores { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .store { transition: none; }
  .store:hover { transform: none; }
}
