/* Features page: three big rows with clips, a grid of the rest, then iPad. */

.k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }

/* ---------- the big three ---------- */
.rows { padding: 50px 0 40px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 28px; }
.row.flip .row-copy { order: 2; }
.row-copy h2 { margin-top: 10px; font-size: clamp(34px, 4.4vw, 54px); letter-spacing: -0.045em; line-height: 1.03; }
.row-copy p:not(.k) { margin-top: 16px; font-size: 18px; line-height: 1.55; color: var(--soft); max-width: 470px; }
.row-copy .small { font-size: 15px !important; }
.row-art { display: flex; justify-content: center; align-items: flex-end; height: 520px; overflow: hidden; border-radius: 32px; }
.row-art .phone { --pw: 250px; margin-bottom: -130px; filter: drop-shadow(0 26px 44px rgba(60, 30, 130, 0.25)); }
.lilac { background: linear-gradient(160deg, #ece4ff, #d9cbff); }
.pink { background: linear-gradient(170deg, #ffe7ef, #ffd3e1); }
.cream { background: linear-gradient(160deg, #f8f2e8, #efe4d2); }

/* ---------- and the rest ---------- */
.more { padding: 80px 0 90px; background: var(--white); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 360px; gap: 16px; margin-top: 50px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 26px; border-radius: 28px; background: var(--paper); transition: opacity .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(40, 20, 90, 0.1); }
.t-copy { position: relative; z-index: 2; }
.tile h3 { margin-top: 8px; font-size: 25px; letter-spacing: -0.03em; line-height: 1.1; }
.tile p:not(.k) { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--soft); }
/* a screen peeking up from the bottom */
.tile .shot { position: absolute; left: 50%; bottom: -58%; width: 54%; transform: translateX(-50%); filter: drop-shadow(0 16px 30px rgba(40, 20, 90, 0.22)); }
.tile .phone.peek { position: absolute; left: 50%; bottom: -66%; --pw: 50%; transform: translateX(-50%); filter: drop-shadow(0 16px 30px rgba(40, 20, 90, 0.22)); }
.mem { background: linear-gradient(170deg, #eef0ff, #dfe4ff); }
.mind { background: linear-gradient(170deg, #e8f6ef, #d3eedf); }
.ar { background: linear-gradient(170deg, #fff2e2, #ffe3c4); }
.chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 12px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-size: 14px; color: var(--violet); font-weight: 600; }
.note-bubble { margin-top: auto; align-self: flex-start; max-width: 86%; padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: #2e2461; color: #fff; font-size: 15px; box-shadow: 0 14px 30px rgba(40, 20, 90, 0.2); }
.note-bubble b { display: block; margin-bottom: 2px; font-size: 12px; color: #c09bf0; }
.ar-ic { margin-top: auto; align-self: center; width: 110px; height: 110px; stroke: #c26a1d; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- iPad ---------- */
.ipad { padding: 90px 0 100px; }
.pads { display: flex; justify-content: center; gap: 24px; margin-top: 46px; }
.pads figure { width: 340px; flex: none; text-align: center; }
.pads img { width: 100%; height: auto; filter: drop-shadow(0 18px 34px rgba(40, 20, 90, 0.18)); }
.pads figcaption { margin-top: 10px; font-size: 15px; color: var(--soft); }
.pads figcaption b { display: block; font-size: 18px; color: var(--ink); }

.mac-note { max-width: 640px; margin: 44px auto 0; text-align: center; font-size: 17px; line-height: 1.6; color: var(--soft); }
.mac-note b { color: var(--ink); }
.mac-note .soon-pill { margin-right: 6px; vertical-align: 2px; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pads { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: -22px; margin-right: -22px; padding: 0 22px 10px; }
  .pads figure { width: min(300px, 78vw); scroll-snap-align: center; }
}
@media (max-width: 760px) {
  .row { grid-template-columns: 1fr; gap: 26px; margin-bottom: 56px; text-align: center; }
  .row.flip .row-copy { order: 0; }
  .row-copy p:not(.k) { margin-left: auto; margin-right: auto; }
  .row-art { height: 420px; }
  .row-art .phone { --pw: 210px; }
  .grid { grid-template-columns: 1fr; grid-auto-rows: minmax(330px, auto); }
}
