/* The reading pages (how it works, the clippers, the guide, the comparison): the headline stands in the evening
   sky, the text is on paper below it. One device of their own: the tape, three clock times set apart by how
   long each step really takes. */

.story-page { background: linear-gradient(#241f63 0 140px, #f6f3fb 140px); }
/* the sky starts behind the top bar and ends in the pink of the horizon; the tape or the paper overlaps its edge */
.sky { margin-top: -90px; padding: 90px 0 clamp(64px, 9vw, 92px); color: var(--white);
  background: linear-gradient(180deg, #241f63 0, #6f3f96 58%, #d86a9d 100%); }
.story-head { max-width: 980px; padding-block: clamp(34px, 6vw, 60px) 0; }
.crumbs { font-size: .9rem; font-weight: 600; color: rgba(255, 255, 255, .72); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .5; margin-inline: .5em; }
.story-head h1 { font-size: clamp(2rem, 5vw, 3.5rem); max-width: 17em; }
.story-head .lede { margin-top: 18px; max-width: 38em; color: rgba(255, 255, 255, .92); }
.story-head .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 26px; }
.story-head .note { font-size: .92rem; color: rgba(255, 255, 255, .85); }
.sky + .article { margin-top: -36px; }
/* over white paper the bar's glass needs to be darker to carry white words */
.story-page .top .bar { background: rgba(30, 24, 72, .8); }

/* the tape */
.tape { max-width: 980px; margin: -36px auto 0; padding-inline: var(--pad); position: relative; z-index: 1; }
.tape ol { display: flex; align-items: stretch; padding: 16px 22px; border-radius: 16px; background: var(--ink); color: var(--white);
  box-shadow: 0 24px 50px -24px rgba(23, 18, 46, .8); }
.tape li { display: flex; flex-direction: column; gap: 2px; position: relative; padding-right: 20px; min-width: max-content; }
.tape li:nth-child(1) { flex: 20 1 0; min-width: 9.6rem; }           /* 20 seconds until the cut is picked */
.tape li:nth-child(2) { flex: 141 1 0; }          /* 2 minutes 21 until the clip is with you */
.tape li:nth-child(3) { flex: none; padding-right: 0; }
.tape b { font-weight: 800; font-stretch: 112%; font-size: 1.12rem; letter-spacing: .01em; }
.tape span { font-size: .86rem; color: var(--mute); font-weight: 600; }
.tape li:not(:last-child)::after { content: ""; position: absolute; top: .72rem; left: 5.7rem; right: 14px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--peach)); opacity: .85; }
.tape li:nth-child(3) b { color: var(--peach); }
.tape p { margin-top: 10px; font-size: .86rem; color: var(--mute-ink); text-align: right; }
.tape + .article { margin-top: 22px; }
@media (max-width: 640px) {
  .tape ol { flex-direction: column; gap: 14px; padding: 16px 18px; }
  .tape li { flex: none !important; flex-direction: row; align-items: baseline; gap: 12px; padding: 0; }
  .tape li::after { display: none; }
  .tape p { text-align: left; }
}

/* the paper */
.legal.article { max-width: 860px; margin-top: clamp(24px, 4vw, 40px); font-size: 1.06rem; line-height: 1.65; }
.story-page .legal.article { position: relative; }
.article > * { max-width: 40em; }
.article > .wide, .article > .end, .article > .next, .article > .qa, .article > .facts, .article > .scroll { max-width: none; }
.article h2 { font: 800 clamp(1.4rem, 2.6vw, 1.75rem)/1.15 var(--display); font-stretch: 118%; letter-spacing: -.015em; margin: 52px 0 12px; text-wrap: balance; }
.article h2:first-child { margin-top: 0; }
.article h3 { font: 700 1.12rem/1.3 var(--body); font-stretch: 106%; margin: 30px 0 6px; }
.article p, .article li { margin-top: 12px; }
.article a:not(.btn) { text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article a:not(.btn):hover { color: #c22a68; }
.article ul:not(.next), .article ol { padding-left: 22px; }
.article ul:not(.next) { list-style: none; }
.article ul:not(.next) > li { position: relative; }
.article ul:not(.next) > li::before { content: ""; position: absolute; left: -18px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.article ol { list-style: decimal; }
.article ol > li::marker { font-weight: 800; color: #c22a68; }
.article .dim { color: var(--mute-ink); font-size: .95rem; }
.article .lede { font-size: 1.16rem; line-height: 1.55; color: var(--ink); }

/* a real clip beside the text */
.shot { float: right; width: 218px; margin: 6px 0 20px 34px; }
.shot video { width: 100%; aspect-ratio: 9 / 16; border-radius: 18px; background: #0b0920; object-fit: cover;
  box-shadow: 0 0 0 5px #0a0820, 0 26px 50px -22px rgba(23, 18, 46, .7); }
.shot figcaption { margin-top: 14px; font-size: .86rem; line-height: 1.4; color: var(--mute-ink); }
.shot figcaption b { color: var(--ink); }
@media (max-width: 640px) { .shot { float: none; width: min(100%, 250px); margin: 26px auto 8px; } }
.article h2 { clear: none; }
.clear { clear: both; }

/* plain facts: what, how much, how long */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 28px; margin-top: 18px; border-top: 1px solid #e6e1f2; }
.facts dt, .facts dd { padding: 11px 0; border-bottom: 1px solid #e6e1f2; margin: 0; }
.facts dt { font-weight: 700; font-stretch: 105%; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dt { border-bottom: 0; padding-bottom: 0; } .facts dd { padding-top: 2px; } }

/* tables: the comparison, the plans */
.scroll { overflow-x: auto; margin-top: 20px; -webkit-overflow-scrolling: touch; }
.article table { border-collapse: collapse; width: 100%; font-size: .96rem; line-height: 1.45; }
.article th, .article td { text-align: left; vertical-align: top; padding: 11px 16px 11px 0; border-bottom: 1px solid #e6e1f2; }
.article thead th { font-weight: 700; font-stretch: 105%; font-size: .86rem; color: var(--mute-ink); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.article tbody th { font-weight: 700; white-space: nowrap; }
.article tr.us th, .article tr.us td { background: linear-gradient(90deg, #fff1f6, #fff6ee); }
.article tr.us th { box-shadow: inset 3px 0 0 var(--pink); padding-left: 12px; }
/* on a phone the comparison reads as a list: each tool, then what it starts from, what it covers, what it costs */
@media (max-width: 640px) {
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .stack tr { display: block; padding: 14px 0; border-bottom: 1px solid #e6e1f2; }
  .stack th, .stack td { display: block; padding: 2px 0; border: 0; white-space: normal; }
  .stack tbody th { font-size: 1.05rem; }
  .stack tr.us { padding-inline: 12px; background: linear-gradient(90deg, #fff1f6, #fff6ee); box-shadow: inset 3px 0 0 var(--pink); }
  .stack tr.us th, .stack tr.us td { background: none; box-shadow: none; padding-left: 0; }
}

/* questions */
.qa { margin-top: 18px; border-top: 1px solid #e6e1f2; }
.qa details { border-bottom: 1px solid #e6e1f2; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 0; font-weight: 700; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  rotate: 45deg; translate: 0 -3px; transition: rotate .2s ease, translate .2s ease; }
.qa details[open] summary::after { rotate: 225deg; translate: 0 2px; }
.qa summary:hover { color: #c22a68; }
.qa p { margin: 0; padding: 0 0 18px; max-width: 40em; }

/* the way on */
.end { margin-top: 56px; padding: clamp(24px, 4vw, 38px); border-radius: 18px; color: var(--white);
  background: radial-gradient(120% 140% at 100% 0, #d86a9d 0, #6f3f96 42%, #241f63 100%); }
.end h2 { margin: 0 0 8px; color: var(--white); }
.end p { margin-top: 0; max-width: 34em; color: rgba(255, 255, 255, .9); }
.end .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.end .note { font-size: .92rem; color: rgba(255, 255, 255, .8); }
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; padding: 0; list-style: none; }
.next li { margin: 0; padding: 16px 18px; border: 1px solid #e6e1f2; border-radius: 14px; display: grid; gap: 4px; align-content: start; }
.next li:hover { border-color: var(--pink); }
.article .next a { font-weight: 700; text-decoration: none; }
.next a::after { content: " \2192"; color: #c22a68; }
.next span { font-size: .9rem; line-height: 1.4; color: var(--mute-ink); }
.more { margin-top: 48px; }
.more h2 { font: 700 1.05rem/1.3 var(--body); font-stretch: 106%; letter-spacing: 0; margin: 0; }
