/* ILE+ membership page (ile-plus.html). Loaded after site.css. Brand values come from tokens.css. */

/* Page hero: same system as the home hero, smaller title and padding */
.hero--page .wrap { gap: var(--space-6); padding-block: var(--space-7) var(--space-8); }
.hero--page .hero__title { font-size: 50px; }

/* ILE+ logo above the strap (James's ILE+ artwork, 13.10) */
.hero__plus-logo { display: block; width: min(280px, 100%); height: auto; margin: 0 0 var(--space-4); }
@media (min-width: 768px) { .hero__plus-logo { width: 340px; } }
/* Vector-kit floodlights (img/vector/bg-floodlight.svg) instead of the stadium photo-style SVG used on the home page.
   No edge line here: a rising line next to the prices could read as a performance claim. */
/* Phones: a fixed-size scene, so the nearer floodlight sits above the strap line, not behind it */
.hero--page .hero__bg { background: url("../../img/vector/bg-floodlight.svg") right -20px top -36px / 820px auto no-repeat, var(--color-black); }
/* The 820px scene ends ~476px down: fade it out before that, so there is no hard edge above the risk line */
@media (max-width: 767.98px) {
  .hero--page .hero__bg {
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 300px, transparent 468px);
    mask-image: linear-gradient(180deg, #000 0, #000 300px, transparent 468px);
  }
}
@media (min-width: 768px) { .hero--page .hero__bg { background-position: right -48px; background-size: cover; } }
.hero--page .hero__bg::after { background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 55%, var(--color-black) 100%); }

/* "At a glance" summary card in the hero */
.glance { padding: var(--space-5); }
.glance .label { margin-bottom: var(--space-3); }
.glance dl { display: grid; margin: 0; }
.glance dl > div { display: grid; grid-template-columns: 84px 1fr; gap: var(--space-3); padding: var(--space-3) 0; border-top: var(--border-line); }
.glance dl > div:first-child { border-top: 0; padding-top: 0; }
.glance dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 700; padding-top: 3px; }
.glance dd { margin: 0; font-weight: 600; line-height: 1.45; }
.glance dd span { display: block; font-weight: 500; font-size: var(--type-small-size); color: var(--color-mint); margin-top: 2px; }

/* What members get: on phones the icon sits beside the heading to keep the list short */
.benefits { grid-template-columns: 1fr; gap: var(--space-3); }
.benefits .card { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); }
.benefits .icon-badge { margin: 0; }
.benefits .card h3 { margin: 0; }
.benefits .card p { grid-column: 1 / -1; margin-top: var(--space-3); }
.benefit--pass { background: transparent; box-shadow: none; border: 1px dashed rgba(0, 230, 161, 0.45); }

/* Founding note under the plans */
.founding-note {
  max-width: 880px; margin: var(--space-5) auto 0; padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md); background: var(--color-mint-tint); border: 1px solid rgba(0, 230, 161, 0.25);
  font-size: var(--type-small-size); line-height: var(--type-small-line); color: var(--color-text-muted);
}
.founding-note p { margin: 0; }
.founding-note strong { color: var(--color-white); }
#plans .disclaimer a, #manage .disclaimer a { color: var(--color-text-muted); }
#plans .disclaimer a:hover, #manage .disclaimer a:hover { color: var(--color-mint); }

/* How access works: .access / .access-steps are in site.css (shared with index.html) */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start;
  margin-top: var(--space-5); padding: var(--space-5); border-radius: var(--radius-lg);
  background: var(--color-mint-tint); border: var(--border-card);
}
.callout .icon-badge { margin: 0; }
.callout h3 { font-size: 24px; margin-bottom: var(--space-2); }
.callout p { margin: 0; }
/* The bot chat mock is template 4 of telegram-templates.html; its styles are in site.css. */

/* Free launch week */
.launch { display: grid; gap: var(--space-6); padding: var(--space-6) var(--space-4); background: radial-gradient(90% 120% at 0% 0%, rgba(0, 230, 161, 0.14), transparent 65%), var(--color-surface); }
.launch > * { min-width: 0; }
.launch__copy .lead { margin: var(--space-4) 0 var(--space-3); }
.launch__copy .btn { margin-top: var(--space-2); width: 100%; white-space: normal; text-align: center; padding-inline: var(--space-3); font-size: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); align-content: center; }
.timeline li { display: grid; gap: var(--space-1); padding: var(--space-4); border-radius: var(--radius-md); background: rgba(0, 0, 0, 0.45); border: var(--border-line); border-left: 3px solid var(--color-mint); }
.timeline__when { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.03em; color: var(--color-mint); line-height: 1.1; }
.timeline__what { color: var(--color-text); }
.timeline__what em { font-style: normal; color: var(--color-mint); font-weight: 600; }
.timeline__what a { color: var(--color-mint); }

/* Manage or cancel */
.manage { grid-template-columns: 1fr; gap: var(--space-3); }
.manage .card { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); }
.manage .icon-badge { margin: 0; }
.manage .card h3 { margin: 0; }
.manage .card p, .manage .card .btn { grid-column: 1 / -1; justify-self: start; }
.manage .card p.muted { margin: var(--space-3) 0 0; }
.manage .card .btn { margin-top: var(--space-4); }

/* Protecting ILE+ content */
.protect { display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-5); }
.protect .icon-badge { margin: 0; }
.protect h2 { margin-bottom: var(--space-4); }
.protect__copy > p { max-width: 44rem; }
.protect__measures { padding: var(--space-5); border-radius: var(--radius-md); background: rgba(0, 0, 0, 0.4); border: var(--border-line); }
.protect__measures .label { margin-bottom: var(--space-4); }
.protect__tag {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 230, 161, 0.35); background: rgba(0, 0, 0, 0.4);
  font-size: 13px; color: var(--color-text-muted);
}

/* Closing CTA */
.cta-band .risk-strip { margin: var(--space-6) auto 0; font-size: var(--type-small-size); font-weight: 600; color: var(--color-white); }

/* Links inside FAQ answers */
.faq details > div a { color: var(--color-mint); }

@media (min-width: 768px) {
  .hero--page .hero__title { font-size: 80px; }
  .benefits { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .benefits .card { display: block; padding: var(--space-5); }
  .benefits .icon-badge { margin-bottom: var(--space-4); }
  .benefits .card h3 { margin-bottom: var(--space-2); }
  .benefits .card p { margin-top: 0; }
  .launch__copy .btn { width: auto; white-space: nowrap; padding-inline: var(--space-5); font-size: 22px; }
  .manage { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
  .manage .card { display: flex; flex-direction: column; align-items: flex-start; padding: var(--space-5); }
  .manage .icon-badge { margin-bottom: var(--space-4); }
  .manage .card h3 { margin-bottom: var(--space-2); }
  .manage .card p.muted { margin: 0 0 var(--space-4); }
  .manage .card .btn { margin-top: auto; }
  .launch { padding: var(--space-7); }
  .protect { grid-template-columns: auto 1fr; gap: var(--space-5); padding: var(--space-7); }
  .protect__measures { grid-column: 2; }
}
@media (min-width: 1100px) {
  .hero--page .wrap { grid-template-columns: 1.3fr 0.7fr; padding-block: var(--space-9); }
  .hero--page .hero__title { font-size: 92px; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .launch { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: var(--space-7); }
  .protect { grid-template-columns: auto 1.3fr 0.7fr; align-items: center; gap: var(--space-6); }
  .protect .icon-badge { align-self: start; }
  .protect__measures { grid-column: auto; }
}

/* ---- Brief 08/09.10 additions -------------------------------------------------------------- */

/* "The Irish League is different." — short extract with slanted art panels (our artwork only:
   stadium, pitch, floodlights; no players, kits or crests). The panels lean like the logo. */
.diff__grid { display: grid; gap: var(--space-6); }
.diff__grid > * { min-width: 0; }
.diff__media {
  position: relative; height: 230px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-black); border: var(--border-card); box-shadow: var(--shadow-glow); isolation: isolate;
  order: 2; /* phones: after the heading it illustrates */
}
.diff__panels { position: absolute; inset: 0 -14%; display: flex; gap: 6px; z-index: -1; }
.diff__panel { position: relative; flex: 1; overflow: hidden; transform: skewX(-8deg); box-shadow: inset 2px 0 0 rgba(0, 230, 161, 0.55); }
.diff__panel::before { content: ""; position: absolute; inset: 0 -30%; transform: skewX(8deg); background: var(--color-black); }
.diff__panel--stadium::before { background: url("../../img/hero-3d-poster.webp") 0% 12% / 250% auto no-repeat, var(--color-black); }
.diff__panel--pitch::before { background: url("../../img/scenes/edge-stadium-800x500.webp") center 70% / cover no-repeat, #03110B; } /* was the line-up diagram: its dots ran into the caption */
.diff__panel--lights::before { background: url("../../img/hero-3d-poster.webp") 0% 12% / 250% auto no-repeat, var(--color-black); transform: skewX(8deg) scaleX(-1); } /* mirrored: a second floodlight, without the 3D logo */
.diff__cap {
  position: absolute; inset: auto 0 0 0; padding: var(--space-7) var(--space-5) var(--space-5);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 45%, rgba(0, 0, 0, 0.92) 100%);
}
.diff__cap-title { font-family: var(--font-display); font-size: 30px; line-height: 1; letter-spacing: 0.01em; color: var(--color-white); margin: 0 0 var(--space-2); text-wrap: balance; transform: skewX(var(--type-hero-skew)); transform-origin: left bottom; }
.diff__cap-text { margin: 0; font-size: var(--type-small-size); line-height: var(--type-small-line); color: var(--color-text-muted); max-width: 30rem; }
.diff__copy { display: grid; gap: var(--space-4); align-content: center; }
.diff__copy .label { margin-bottom: calc(var(--space-1) * -1); }
.diff__copy p { margin: 0; }
.diff__copy .muted { max-width: 40rem; }
.diff__sign { padding-left: var(--space-4); border-left: 3px solid var(--color-mint); font-weight: 700; color: var(--color-white); }

/* "What you get": James's benefit titles are longer than the old two-word ones */
.benefits .card h3 { font-size: 24px; line-height: 1.08; }
.benefits .card p a { color: var(--color-mint); }

/* "How we identify the edge" — compact strip, links to the full home-page section */
.edge-strip h2 { font-size: 34px; }
.edge-strip__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-3) var(--space-5); margin-bottom: var(--space-5); }
.edge-strip__list {
  list-style: none; margin: 0; padding: 0; display: grid;
  background: radial-gradient(70% 140% at 0% 0%, rgba(0, 230, 161, 0.10), transparent 70%), var(--color-surface);
  border: var(--border-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-glow); overflow: hidden;
}
/* Phones and tablets: a small 16:10 thumbnail (img/scenes/edge-*-800x500) beside the title, the text full width
   below; desktop: the image on top of each column. The <div> around title and text joins the li's grid. */
.edge-strip__list li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--space-3) var(--space-4); align-items: center; align-content: start; padding: var(--space-4) var(--space-5); }
.edge-strip__list li > div { display: contents; }
.edge-strip__list li + li { border-top: var(--border-line); }
.edge-strip__img { position: relative; grid-column: 1; grid-row: 1; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #050807; }
.edge-strip__img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.edge-strip__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.edge-strip__list h3 { grid-column: 2; grid-row: 1; font-size: 24px; line-height: 1.05; margin: 0; }
.edge-strip__list p { grid-column: 1 / -1; margin: 0; font-size: var(--type-small-size); line-height: var(--type-small-line); color: var(--color-text-muted); }

@media (min-width: 768px) {
  .diff__media { height: 340px; }
  .diff__cap { padding: var(--space-8) var(--space-6) var(--space-6); }
  .diff__cap-title { font-size: 40px; }
  .benefits .card h3 { font-size: 28px; }
  .edge-strip h2 { font-size: 44px; }
  .edge-strip__list { grid-template-columns: repeat(2, 1fr); }
  .edge-strip__list li + li { border-top: 0; }
  .edge-strip__list li:nth-child(n+3) { border-top: var(--border-line); }
  .edge-strip__list li:nth-child(even) { border-left: var(--border-line); }
  .edge-strip__list li { padding: var(--space-5); }
}
@media (min-width: 1100px) {
  .diff__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
  .diff__media { order: 2; height: 440px; }
  .diff h2 .line { display: block; }
  .edge-strip__list { grid-template-columns: repeat(4, 1fr); }
  .edge-strip__list li { grid-template-columns: 1fr; gap: var(--space-3); align-items: start; padding: var(--space-5); }
  .edge-strip__img, .edge-strip__list h3, .edge-strip__list p { grid-column: 1; grid-row: auto; }
  .edge-strip__img { margin-bottom: var(--space-1); }
  .edge-strip__list li:nth-child(n+3) { border-top: 0; }
  .edge-strip__list li + li { border-left: var(--border-line); }
}
