/* Features page (v1.0). Reuses home components from site.css: tour, bento/bcard, trust/tcard, close, float. */

/* Hero: 520px copy + 616px photo, 64px gap */
.fhero { padding: 72px 0 96px; }
.fhero__in { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 616px); justify-content: space-between; gap: 64px; align-items: center; }
.fhero__copy { display: grid; gap: 24px; justify-items: start; }
.fhero__h { font-size: clamp(44px, 5.4vw, 64px); line-height: 1.03; font-weight: 800; letter-spacing: -0.045em; }
.fhero__copy .btn { min-height: 48px; }
.fhero__jump { display: flex; flex-wrap: wrap; gap: 4px 20px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 8px; }
.fhero__jump a { color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.fhero__jump a:hover { text-decoration: underline; }
.fhero__photo { margin: 0; position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 616 / 640; background: #e9e2d8; }
.fhero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fhero__float { left: auto; right: 20px; bottom: 20px; width: min(340px, calc(100% - 40px)); }

/* Bento section on this page sits on white after the tour */
.fbento { background: var(--cloud); scroll-margin-top: 96px; }
.fbento .bcard { scroll-margin-top: 96px; }
.bcard .label { margin-bottom: 2px; }
.bcard--dark .fb-label--dark { color: #a6adc4; }

/* Checks list on the dark card */
.fcheck { gap: 8px; }
.fcheck div { display: flex; align-items: center; gap: 12px; background: #141a2c; border: 1px solid #222a40; border-radius: 12px; padding: 12px 14px; color: var(--white); font-size: 14px; }
.fcheck span { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; }
.fcheck span::before { content: ""; width: 8px; height: 8px; }
.fcheck__todo { color: #ff9ca2; }
.fcheck__todo::before { background: #ff5a63; transform: rotate(45deg); }
.fcheck__done { color: #7ddcb5; }
.fcheck__done::before { background: #2fbf86; border-radius: 50%; }

/* Scheduling card */
.fslots { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.fslots span { color: var(--slate); font-weight: 600; margin-right: 4px; }
.fslots b { border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; color: var(--ink); font-weight: 600; }
.fviews { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; justify-self: start; font-size: 13px; font-weight: 600; color: var(--slate); }
.fviews span { padding: 6px 14px; border-radius: 9px; }
.fviews .is-on { background: var(--ink); color: var(--white); }

/* Cards size to their copy; the visual follows the copy at a fixed distance, so no dead space opens inside */
.fbento .bento { align-items: stretch; }
.fbento .bcard { display: flex; flex-direction: column; gap: 0; align-content: start; }
.fbento .bcard__ui { margin-top: auto; padding-top: 28px; }

/* Week planner: the page's one blue focal moment (band) with a white app surface over it */
.fplan { padding-bottom: 96px; scroll-margin-top: 80px; }
.fplan__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: -72px; align-items: start; }
.fplan__app { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 18px; }
.fplan__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.fplan__title { font-size: 22px; letter-spacing: -0.02em; }
.fplan__sub { font-size: 13px; color: var(--slate); margin-top: 2px; }
.fplan__actions { display: flex; gap: 8px; }
.fplan__week { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
.fplan__times { display: grid; grid-template-rows: 28px repeat(3, 112px); gap: 8px; font-size: 12px; font-weight: 600; color: var(--slate); }
.fplan__times span { padding-top: 10px; }
.fplan__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.fday { display: grid; grid-template-rows: 28px repeat(3, 112px); gap: 8px; }
.fday__h { font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); text-align: center; align-self: center; }
.fslot { display: grid; align-content: start; gap: 5px; text-align: left; border: 1px solid var(--line); background: var(--cloud); border-radius: 12px; padding: 9px 10px; font-size: 12px; color: var(--ink); cursor: pointer; min-width: 0; transition: border-color .15s, background .15s; }
.fslot:hover:not(:disabled) { border-color: #b9c3dd; }
.fslot--post { background: var(--white); }
.fslot--past:not(.fslot--post) { cursor: default; opacity: .55; }
.fslot.is-sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fslot.is-new { animation: rise .45s cubic-bezier(.2,.7,.2,1); }
.fslot__t { display: none; font-weight: 650; color: var(--slate); }
.fslot__nets { display: flex; gap: 3px; flex-wrap: wrap; }
.fslot__nets .net { width: 18px; height: 18px; border-radius: 5px; }
.fslot__nets .net svg { width: 12px; height: 12px; }
.fslot__ti { font-weight: 600; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fslot .mark { font-size: 11px; }
.fslot__empty { color: var(--slate); font-weight: 600; align-self: center; }
.fplan .mark--sch { color: var(--ink); }
.fplan .mark--sch::before { background: var(--midnight); }
.fplan__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 12px; color: var(--slate); }
.fplan__past { font-size: 12px; font-weight: 650; opacity: .6; }
.fplan__detail { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; gap: 12px; align-content: start; position: sticky; top: 96px; min-height: 240px; }
.fplan__dh { font-size: 20px; line-height: 1.25; letter-spacing: -0.015em; }
.fplan__dp { font-size: 15px; color: var(--body); }
.fplan__dnets { display: flex; flex-wrap: wrap; gap: 6px; }
.fplan__chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px 4px 4px; font-size: 13px; font-weight: 600; color: var(--ink); }
/* Trust visuals share one height so the card headings line up */
.trust .tcard__ui { height: 250px; min-height: 0; }

/* Teams card: copy first, real photo last */
.fphoto__img { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; background: #e9e2d8; }
.fphoto__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.fphoto__img .float--in { left: auto; right: 14px; bottom: 14px; width: min(260px, calc(100% - 28px)); }
.bcard p a, .tcard p a, .fbento .lead a { color: var(--ink); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fhero__h .full-stop { width: .3em; height: .3em; }
/* Status marks in mock-ups are not actions: keep them ink, not blue */
.fhero .mark--sch, .fbento .mark--sch { color: var(--ink); }
.fhero .mark--sch::before, .fbento .mark--sch::before { background: var(--midnight); }

.close__h { font-size: clamp(44px, 6vw, 88px); }

@media (max-width: 1080px) {
  .fplan__body { grid-template-columns: minmax(0, 1fr); margin-top: -64px; }
  /* The planner card overlaps the band by 64px, so the band needs room below its heading */
  .tour__band.fplan__band { padding-bottom: 104px; }
  .fplan__detail { position: static; min-height: 0; }
  .trust .tcard__ui { height: 240px; min-height: 0; }
  .fhero__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .fhero__photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .fhero { padding: 40px 0 64px; }
  /* Section links: one scrollable row instead of two ragged rows */
  .fhero__jump { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 20px; min-width: 0; max-width: 100%; }
  .fhero__jump::-webkit-scrollbar { display: none; }
  .fhero__jump a { flex: none; }
  .fhero__photo { aspect-ratio: 4 / 5; overflow: visible; border-radius: 0; background: none; display: grid; gap: 12px; }
  .fhero__photo img { position: relative; inset: auto; height: auto; aspect-ratio: 1; border-radius: 20px; }
  .fhero__float { position: relative; right: auto; bottom: auto; width: auto; }
  .fhero__photo { aspect-ratio: auto; }
  .fphoto__img { overflow: visible; border-radius: 0; background: none; aspect-ratio: auto; display: grid; gap: 10px; }
  .fphoto__img img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; }
  .fphoto__img .float--in { position: relative; right: auto; bottom: auto; width: auto; }
  /* Posting-time chips: label on its own line, chips together underneath */
  .fslots span { flex-basis: 100%; margin: 0 0 2px; }
  /* Planner on phones: one row per day, the three times side by side */
  .fplan__app { padding: 16px; }
  .fplan__week { grid-template-columns: minmax(0, 1fr); }
  .fplan__times { display: none; }
  .fplan__days { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fday { grid-template-rows: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .fday__h { grid-column: 1 / -1; text-align: left; }
  .fslot { min-height: 104px; padding: 8px; }
  .fslot__t { display: block; }
  .fslot__ti { font-size: 11px; }
  .fplan__actions { width: 100%; }
  .fplan__actions .btn { flex: 1; }
}
