/*intro section*/

body{ background: var(--od-white); }

/* Shared container geometry — header and banner content sit on one left edge. */
.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.page-head{ padding-top: 20px; }

/* ---------- Banner ---------- */
.databanner{
  /*background-color: var(--od-black); */
  background-image: var(--hero-art);   /* path is set on the section tag */
	background-repeat: no-repeat;
	background-position: center left;
	background-size: 110%;
	margin-top: 72px;
	padding-bottom: 60px;
}

.databanner__inner{
  display: flex;
  align-items: center;
  min-height: clamp(480px, 42vw, 640px);
}

/* Mobile-only art. Hidden on desktop, where the photo is the section
   background instead. */
.databanner__art{ display: none; }

/* Diagonal-cut panel: square on one diagonal, --r-xl on the other. */
.databanner__panel{
  background: var(--myt-blue);
  color: var(--od-white);
  border-radius: 0 var(--r-xl) 0 var(--r-xl);
  padding: clamp(36px, 3.4vw, 56px) clamp(30px, 3vw, 52px);
  /*width: min(52%, 580px); */
}

.databanner__panel h1{
  color: var(--myt-aqua);
  font-weight: var(--fw-bold);
  margin: 0 0 30px;
}

.databanner__q{
  font-size: var(--fs-h5);
  line-height: var(--lh-heading);
  color: var(--od-white);
  margin: 0 0 22px;
}

.databanner__body{
  font-size: var(--fs-bodysmall);
  line-height: var(--lh-body);
  color: rgba(255,255,255,.9);
  margin: 0 0 30px;
  /*max-width: 36ch;*/
}

.databanner .btn-dark{ font-weight: var(--fw-semibold); }
.databanner .btn-dark:hover{ background: var(--od-white); color: var(--od-black); }

/* ---------- Tablet + Mobile (stacked layout) ---------- */
@media (max-width: 1100px){
  :root .p-6{ padding: 1.9rem !important; }
  .wrap{ padding: 0 12px; }
  .page-head{ padding-top: 12px; }

  .databanner{
    background-image: none;             /* photo-as-bg off */
    background-color: var(--od-white);
    margin-top: 104px;
    padding-bottom: 0;                  /* kill extra space below image */
  }

  .databanner__inner{
    display: block;
    min-height: 0;
  }

  .databanner__panel{
    width: auto;                        /* full width */
    border-radius: 0 var(--r-sm) 0 var(--r-sm);
    padding: 32px 24px;
  }

  .databanner__panel h1{ margin-bottom: 24px; }
  .databanner__q{ margin-bottom: 18px; }
  .databanner .btn{ width: 100%; justify-content: center; }

  /* Photo, full-bleed, directly beneath the panel */
  .databanner__art{
    display: block;
    width: 100%;
    height: auto;
    border-radius: 90px;
    padding: 30px 30px 0 30px;          /* no bottom padding */
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px){
  :root .p-6{ padding: 1.9rem !important; }

  .wrap{ padding: 0 12px; }
  .page-head{ padding-top: 12px; }

  .databanner{
    background-image: none;             /* desktop art off */
    background-color: var(--od-white);
    margin-top: 104px;
  }

  .databanner__inner{
    display: block;
    min-height: 0;
  }

  .databanner__panel{
    width: auto;
    border-radius: 0 var(--r-sm) 0 var(--r-sm);
    padding: 32px 24px;
  }
  .databanner__panel h1{ margin-bottom: 24px; }
  .databanner__q{ margin-bottom: 18px; }
  .databanner .btn{ width: 100%; justify-content: center; }

  /* Photo, full-bleed, directly beneath the panel. */
	.databanner__art {
	        display: block;
	        width: 100%;
	        height: auto;
	        /* margin-top: 18px; */
	        border-radius: 50px;
	        padding: 30px;
	    }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ transition-duration: .001ms !important; }
}

.prodfeat { background: none !important;}


 /* ------------------------------------------------------------------
       Page-level composition only.
       ------------------------------------------------------------------ */
	   
.promo-banner { flex-wrap: wrap; }
/* g-5's x-gutter (-24px) exceeds .main's 18px page padding at most
   widths and pushes rows off screen. Cap it; y-gutter keeps the rhythm. */
.row.g-5 { --bs-gutter-x: 2rem; }

/* ---- breadcrumbs ---- */
.crumbs { font-size: 13px; color: var(--od-grey-600); margin-bottom: 22px; }
.crumbs a { color: var(--od-grey-600); text-decoration: none; }
.crumbs a:hover { color: var(--myt-blue); }
.crumbs b { color: var(--od-ink); font-weight: var(--fw-semibold); }

/* ---- banner trust row: plain ticked items, no pills ---- */
.trust { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 30px; padding: 0; list-style: none; }
.trust li {
  display: inline-flex; align-items: center; gap: 9px;font-size: 16px !important;
  font-size: 14px; font-weight: var(--fw-semibold); color: var(--myt-white);
}
.trust svg { width: 15px; height: 15px; color: var(--myt-aqua); flex-shrink: 0; }

/* ---- hero: full-width photo banner ----
   Sits outside .main so the image and colour run edge to edge. The copy
   sits on solid blue; the wash clears over the photo. Desktop and mobile
   crops are swapped with <picture>. */
.ehero {
  position: relative; overflow: hidden;
  background: var(--myt-blue); color: var(--myt-white);
  min-height: 560px; display: flex; align-items: center; margin-bottom: 72px;
}
.ehero__pic { position: absolute; inset: 0; z-index: 0; }
.ehero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 88% center; display: block; }
.ehero__wash {
  position: absolute; inset: 0; z-index: 1;
  background:
	linear-gradient(90deg, var(--myt-blue) 0%, var(--myt-blue) 42%, rgba(21,62,217,.90) 52%, rgba(21,62,217,.42) 64%, rgba(21,62,217,.05) 76%, transparent 84%),
	linear-gradient(180deg, rgba(21,62,217,.25), transparent 40%);
}
.ehero__in {
  position: relative; z-index: 2; width: 100%;
  max-width: 1270px; margin: 0 auto; padding: 74px 65px;
}
.ehero__panel { max-width: 620px; }
.ehero h1 {
  color: var(--myt-white); font-size: clamp(34px, 4.4vw, 58px);
  font-weight: var(--fw-bold); line-height: 1.07; letter-spacing: -1.5px; margin: 0 0 22px;
}
.ehero h1 span { color: var(--myt-aqua); }
/* short qualifying questions, as on the 18-25 banner */
.ehero__q {
  font-size: clamp(16px, 1.7vw, 20px); font-weight: var(--fw-semibold);
  color: var(--myt-white); margin: 0 0 8px;
}
.ehero__lead { color: rgba(255,255,255,.9); margin: 18px 0 28px; max-width: 48ch; }
.ehero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* hover: the DS hovers these to --myt-blue, the same colour as the panel */
.ehero .btn-light:hover { background: var(--od-black); color: var(--myt-white); }
.ehero .btn-dark:hover  { background: var(--myt-white); color: var(--myt-blue); }

/* ---- registration channels ---- */
.reg { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: start; }
.chan {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 14px;
  background: var(--myt-white); border: 1px solid var(--od-grey-200);
  border-radius: var(--r-md); padding: 18px 20px; margin-bottom: 12px; cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease;
}
.chan:hover { border-color: var(--myt-blue); }
.chan.is-on { background: var(--myt-blue); border-color: var(--myt-blue); }
.chan.is-on b, .chan.is-on small { color: var(--myt-white); }
.chan.is-on .chan__ic { background: rgba(255,255,255,.2); color: var(--myt-white); }
.chan__ic {
  width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--od-lavender); color: var(--myt-blue);
}
.chan__ic svg { width: 21px; height: 21px; }
.chan b { display: block; font-size: 15px; font-weight: var(--fw-semibold); }
.chan small { font-size: 12.5px; color: var(--od-grey-600); }

.panel { border: 1px solid var(--od-grey-200); border-radius: var(--r-lg); padding: 34px 36px; background: var(--myt-white); }
.panel[hidden] { display: none; }
.panel__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.panel__top h3 { font-size: var(--fs-h5); font-weight: var(--fw-semibold); margin: 0 0 6px; }
.panel__top p { font-size: var(--fs-bodysmall); color: var(--od-grey-700); margin: 0; }
.rec {
  flex-shrink: 0; background: var(--od-mint); color: var(--od-teal);
  border-radius: var(--r-pill); padding: 7px 15px;
  font-size: 11.5px; font-weight: var(--fw-bold); letter-spacing: .06em; text-transform: uppercase;
}
.steptl__static h4 { font-size: var(--fs-bodysmall); font-weight: var(--fw-bold); color: var(--myt-blue); margin: 0 0 5px; padding-top: 14px; }
.steptl__static p { font-size: var(--fs-bodysmall); color: var(--od-grey-700); margin: 0; }

/* ---- register: full-width tinted band ----
   .main is capped at 1270px with page padding, so this section sits
   outside it and supplies its own inner container. */
.regband { background: var(--od-lavender); /* padding: 96px 0; margin: 120px 0;  */}
.regband__in { max-width: 1270px; margin: 0 auto; padding: 0 65px; }
.regband .panel { background: var(--myt-white); border-color: transparent; }
.regband .chan { background: var(--myt-white); border-color: transparent; }
.regband .chan:hover { border-color: var(--myt-blue); }
.regband .chan.is-on { background: var(--myt-blue); border-color: var(--myt-blue); }

/* the default .sec rhythm and DS card padding are generous for this
   short three-card section */
#benefits { /* margin-bottom: 72px; */ }
#benefits .speed-intro { margin-bottom: 30px !important; }
#benefits .bcard .card-body { padding: 32px 30px !important; }
#benefits .bcard h3 { font-size: var(--fs-h5); line-height: 1.2; margin-bottom: 10px !important; }
#benefits .bcard .ic { margin-bottom: 18px !important; }

/* ---- mobile: channels become an accordion ----
   The buttons live in a tablist wrapper and the panels are siblings of it.
   display:contents dissolves the wrapper so both become flex items of
   .reg, then `order` interleaves each panel under its own button. */
@media (max-width: 991.98px) {
  .reg { display: flex; flex-direction: column; gap: 0; }
  .reg > [role="tablist"] { display: contents; }

  .chan[data-panel="p-care"]     { order: 1; }
  #p-care                        { order: 2; }
  .chan[data-panel="p-selfcare"] { order: 3; }
  #p-selfcare                    { order: 4; }
  .chan[data-panel="p-online"]   { order: 5; }
  #p-online                      { order: 6; }
  .chan[data-panel="p-shop"]     { order: 7; }
  #p-shop                        { order: 8; }

  .chan {
	width: 100%; margin: 0 0 10px; border-radius: var(--r-md);
	border: 1px solid var(--od-grey-200);
  }
  /* open header locks to the panel below it */
  .chan.is-on {
	margin-bottom: 0;
	border-radius: var(--r-md) var(--r-md) 0 0;
  }
  .chan::after {
	content: ""; width: 9px; height: 9px; margin-left: auto; flex-shrink: 0;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .22s ease;
  }
  .chan.is-on::after { transform: rotate(-135deg) translate(-2px, -2px); }

  .panel {
	border-radius: 0 0 var(--r-md) var(--r-md);
	border-top: 0; margin-bottom: 10px;
  }
}

/* ---- where to view my eBill ---- */
/* sits outside .main so it runs edge to edge */
.viewband { background: var(--myt-white); /* padding: 0 0 86px; margin: 0 0 120px; */ }
.viewband__in { max-width: 1270px; margin: 0 auto; padding: 0 65px; }
.viewband__title {
  /* font-size: clamp(30px, 3.6vw, 46px); font-weight: var(--fw-bold); */
  letter-spacing: -1.2px; margin: 0 0 34px;
  text-align:center;
}
.vcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vcard {
  background: var(--od-paleblue); border-radius: var(--r-md);
  padding: 34px 30px 34px; display: flex; flex-direction: column;
}
.vcard h3 {
  /* font-size: clamp(22px, 2.1vw, 30px); font-weight: var(--fw-semibold); */
  line-height: 1.16; letter-spacing: -.6px; color: var(--myt-black);
  margin: 30px 0 0;
}

/* app tiles */
.appicon {
  width: 96px; height: 96px; border-radius: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--myt-white); position: relative; overflow: hidden;
  border:1px solid #fff;
}
.appicon--care  { background: linear-gradient(150deg, var(--myt-royal) 8%, var(--myt-purple) 52%, var(--myt-coral) 100%); }
.appicon--money { background: linear-gradient(150deg, var(--myt-royal) 8%, var(--od-teal) 55%, var(--myt-mint) 100%); }
.appicon .myt-logo { color: var(--myt-white); }
.appicon em { font-style: normal; font-size: 13px; font-weight: var(--fw-medium); line-height: 1; }

/* outline icons */
.lineicon { width: 96px; height: 96px; display: grid; place-items: center; color: var(--myt-black); }
.lineicon svg { width: 82px; height: 82px; display: block; }

.vbtn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--myt-white); color: var(--myt-blue);
  border-radius: var(--r-pill); padding: 13px 26px; text-decoration: none;
  font-size: 15px; font-weight: var(--fw-semibold);
  transition: background-color .18s ease, color .18s ease;
}
.vbtn:hover { background: var(--od-black); color: var(--myt-white); }
.vbtn svg { width: 16px; height: 16px; }
/* min gap under the title; margin-top:auto on .vbtn still wins when there
   is spare height, so the buttons line up across cards of uneven text */
.vcard h3 { margin-bottom: 34px; }



/* ---- responsive ---- */
@media (max-width: 1100px) {
  .viewband__in { padding: 0 34px; }
  .vcards { grid-template-columns: 1fr 1fr; }
}
/* stays 2 x 2 on phones rather than collapsing to one column */
@media (max-width: 991.98px) {
  .regband { padding: 62px 0; margin: 84px 0; }
  .regband__in { padding: 0 34px; }
  .reg { grid-template-columns: 1fr; }
  /* channels become a horizontal strip above the panel */
  .chan { margin-bottom: 10px; }
  .access { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767.98px) {
  /* the mobile crop is nearly square, so the photo sits above the copy
	 rather than behind it */
  .ehero { display: block; min-height: 0; margin-bottom: 76px; }
  .ehero__pic { position: relative; display: block; aspect-ratio: 1024 / 850; max-height: 360px; }
  .ehero__wash {
	background: linear-gradient(180deg, rgba(21,62,217,.18), transparent 55%);
  }
  .ehero__panel { max-width: none; }
}
@media (max-width: 991.98px) {
  .ehero__in { padding: 54px 34px; }
}

@media (max-width: 560px) {
  .regband { padding: 50px 0; margin: 64px 0; }
  .regband__in { padding: 0 22px; }
  .promo-banner { padding: 30px; }
  .panel { padding: 26px 22px; }
  .panel__top { flex-direction: column; }
  .viewband { padding: 54px 0 60px; }
  .viewband__in { padding: 0 22px; }
  /* 2 x 2 on phones. min-width:0 is required — grid items default to
	 min-width:auto, so the long titles stopped the tracks shrinking and
	 pushed the row past the viewport. */
  .vcards { grid-template-columns: 1fr 1fr; gap: 14px; }
  .vcards > .vcard { min-width: 0; padding: 20px 16px; }
  .vcard h3 { font-size: 18px; letter-spacing: -.3px; margin-top: 20px; margin-bottom: 22px; }
  .appicon { width: 72px; height: 72px; border-radius: 20px; }
  .appicon .myt-logo { --lw: 46px; }
  .appicon em { font-size: 11px; }
  .lineicon { width: 72px; height: 72px; }
  .lineicon svg { width: 60px; height: 60px; }
  .vbtn { padding: 11px 18px; font-size: 13.5px; gap: 7px; }
  .vbtn svg { width: 14px; height: 14px; }
  .viewband__title { margin-bottom: 26px; }
  .ehero__in { padding: 34px 22px 40px; }
  .ehero__cta .btn { width: 100%; justify-content: center; }
}

.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 30px;
    flex-wrap: wrap;
}

.promo-banner > div {
    flex: 1 1 auto;
}

.promo-banner .btn {
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 767.98px) {
    .promo-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 25px 20px;
        gap: 20px;
    }

    .promo-banner > div {
        width: 100%;
    }

    .promo-banner h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .promo-banner p {
        font-size: 15px;
        line-height: 1.5;
    }

    .promo-banner .btn {
        width: 55%;
        justify-content: center;
		margin:0 auto;
    }
}
