/* Apple Enterprise landing page v2: live device scenes, highlights carousel, bento, chooser, security, lifecycle.
   Loaded after apple.css on apple-enterprise.html only. Motion lives in assets/js/apple.js. */

/* ---------- scroll progress under the local nav ---------- */
.ap-progress { position: sticky; top: 52px; z-index: 44; height: 2px; background: transparent; }
.ap-progress i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #0071e3, #000cff 55%, #3fd3c8); }

/* ---------- buttons: shine sweep + press ---------- */
.ap-pill { position: relative; overflow: hidden; transition: background-color .2s, transform .15s cubic-bezier(.3,.7,.4,1); }
.ap-pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); }
.ap-pill:hover::after { transform: translateX(120%); transition: transform .8s ease; }
.ap-pill:active { transform: scale(0.97); }
.ap-link::after { transition: transform .25s cubic-bezier(.3,.7,.4,1); }
.ap-link:hover::after { transform: translate(3px, -1px); }

/* ---------- hero v2 ---------- */
.apx-hero { position: relative; background: #000; color: #f5f5f7; overflow: hidden; padding: clamp(36px, 4vw, 56px) 0 0; text-align: center; isolation: isolate; }
.apx-hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 38% at 50% 58%, rgba(0, 113, 227, 0.55) 0%, rgba(0, 12, 255, 0.18) 45%, rgba(0, 0, 0, 0) 75%),
              radial-gradient(22% 20% at 22% 70%, rgba(63, 211, 200, 0.22), transparent 70%),
              radial-gradient(22% 20% at 80% 66%, rgba(143, 156, 255, 0.25), transparent 70%); }
.apx-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 980px; font-size: 0.82rem; color: #f5f5f7; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); margin-bottom: 14px; position: relative; overflow: hidden; }
.apx-chip b { color: #2997ff; font-weight: 600; }
.apx-chip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-100%); animation: chip-shine 4.5s ease-in-out infinite 1.5s; }
@keyframes chip-shine { 0%, 60% { transform: translateX(-100%); } 85%, 100% { transform: translateX(100%); } }
.apx-title { font-size: clamp(3rem, 1.4rem + 5.6vw, 6.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.98; margin: 0;
  background: linear-gradient(90deg, #f5f5f7 0%, #f5f5f7 30%, #8fb8ff 48%, #3fd3c8 56%, #f5f5f7 72%, #f5f5f7 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: title-sheen 9s ease-in-out infinite; }
@keyframes title-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0% 0; } }
.apx-sub { font-size: clamp(1.2rem, 1rem + 0.8vw, 1.75rem); color: #a1a1a6; max-width: 32ch; margin: 12px auto 0; line-height: 1.3; letter-spacing: -0.015em; }
.apx-sub strong { color: #f5f5f7; font-weight: 600; }

/* device stage */
.apx-stage { position: relative; height: clamp(320px, 36vw, 520px); margin: clamp(20px, 2.4vw, 32px) auto 0; max-width: 1180px; perspective: 1600px; }
.apx-layer { position: absolute; left: 50%; bottom: 0; transform-style: preserve-3d; will-change: transform; }
.apx-layer--mac { width: min(52vw, 640px); transform: translateX(-50%); z-index: 2; }
.apx-layer--ipad { width: min(30vw, 360px); transform: translateX(-138%); bottom: 9%; z-index: 1; }
.apx-layer--phone { width: min(13vw, 158px); transform: translateX(225%); bottom: 4%; z-index: 3; }
.apx-float { animation: float 7s ease-in-out infinite; }
.apx-layer--ipad .apx-float { animation-delay: -2.2s; }
.apx-layer--phone .apx-float { animation-delay: -4.1s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* CSS devices */
.dev { position: relative; }
.dev-mac__lid { position: relative; background: #0b0b0c; border-radius: 16px 16px 4px 4px; padding: 2.2% 2.2% 3%; border: 1px solid #3a3a3c; box-shadow: 0 0 0 1px #000, 0 40px 90px -30px rgba(0, 113, 227, 0.55); }
.dev-mac__lid::before { content: ""; position: absolute; top: 0.9%; left: 50%; width: 9%; height: 2.4%; transform: translateX(-50%); background: #000; border-radius: 0 0 6px 6px; z-index: 2; }
.dev-mac__base { height: clamp(10px, 1.6vw, 18px); margin: 0 -7%; background: linear-gradient(180deg, #d9dade 0%, #a9abb0 70%, #7d7f84 100%); border-radius: 0 0 18px 18px / 0 0 12px 12px; position: relative; }
.dev-mac__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 15%; height: 42%; transform: translateX(-50%); background: linear-gradient(180deg, #8d8f94, #b6b8bd); border-radius: 0 0 8px 8px; }
.dev-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #000; }
.dev-ipad { background: #1c1c1e; border-radius: clamp(14px, 2vw, 26px); padding: 4.2%; border: 1px solid #3a3a3c; box-shadow: 0 30px 70px -30px rgba(63, 211, 200, 0.4); }
.dev-ipad .dev-screen { aspect-ratio: 4 / 3; border-radius: clamp(6px, 0.8vw, 10px); }
.dev-phone { background: #1c1c1e; border-radius: clamp(22px, 3.2vw, 38px); padding: 6%; border: 1px solid #48484a; box-shadow: 0 30px 60px -24px rgba(143, 156, 255, 0.5); }
.dev-phone .dev-screen { aspect-ratio: 9 / 19.5; border-radius: clamp(16px, 2.4vw, 30px); }
.dev-phone .dev-screen::before { content: ""; position: absolute; top: 3%; left: 50%; width: 32%; height: 3.6%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 3; }

/* screen UIs (illustrations, no Apple artwork) */
.ui { position: absolute; inset: 0; font-family: var(--ap-font); color: #f5f5f7; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.ui.is-hidden { opacity: 0; transform: scale(1.03); pointer-events: none; }
.ui-setup { background: radial-gradient(120% 120% at 50% 0%, #1b2440 0%, #05070d 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4%; padding: 6%; }
.ui-setup__icon { width: 13%; aspect-ratio: 1; border-radius: 22%; background: linear-gradient(140deg, #2997ff, #000cff); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 113, 227, 0.8); }
.ui-setup__icon svg { width: 58%; height: 58%; color: #fff; }
.ui-setup h5 { margin: 0; font-size: clamp(0.7rem, 1.6vw, 1.35rem); font-weight: 600; letter-spacing: -0.02em; }
.ui-setup p { margin: 0; font-size: clamp(0.45rem, 0.9vw, 0.8rem); color: #a1a1a6; max-width: 40ch; }
.ui-bar { width: 46%; height: clamp(3px, 0.45vw, 6px); border-radius: 99px; background: rgba(255,255,255,.14); overflow: hidden; }
.ui-bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #2997ff, #3fd3c8); border-radius: inherit; }
.ui-desk { background: linear-gradient(160deg, #0a1a4a 0%, #0b5fd6 38%, #3fd3c8 70%, #0e2a5c 100%); }
.ui-desk__menu { position: absolute; top: 0; left: 0; right: 0; height: 4.2%; background: rgba(0,0,0,.28); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: space-between; padding: 0 2.5%; font-size: clamp(0.35rem, 0.7vw, 0.62rem); }
.ui-desk__dock { position: absolute; bottom: 3.5%; left: 50%; transform: translateX(-50%); display: flex; gap: 0.9vw; padding: 0.7% 1.2%; background: rgba(255,255,255,.22); backdrop-filter: blur(10px); border-radius: clamp(6px, 1vw, 14px); border: 1px solid rgba(255,255,255,.3); }
.ui-desk__dock i { width: clamp(10px, 2.4vw, 30px); aspect-ratio: 1; border-radius: 24%; display: block; }
.ui-desk__dock i:nth-child(1) { background: linear-gradient(140deg, #5ac8fa, #007aff); }
.ui-desk__dock i:nth-child(2) { background: linear-gradient(140deg, #fefefe, #d1d1d6); }
.ui-desk__dock i:nth-child(3) { background: linear-gradient(140deg, #34c759, #248a3d); }
.ui-desk__dock i:nth-child(4) { background: linear-gradient(140deg, #ff9f0a, #ff6b00); }
.ui-desk__dock i:nth-child(5) { background: linear-gradient(140deg, #bf5af2, #5e5ce6); }
.ui-desk__dock i:nth-child(6) { background: linear-gradient(140deg, #ff375f, #c9184a); }
.ui-desk__dock i:nth-child(7) { background: linear-gradient(140deg, #64d2ff, #0a84ff); }
.ui-note { position: absolute; top: 8%; right: 2.5%; width: 34%; background: rgba(28,28,30,.72); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.14); border-radius: clamp(6px, 1vw, 14px); padding: 2% 2.4%; font-size: clamp(0.38rem, 0.75vw, 0.68rem); line-height: 1.35; transform: translateX(120%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ui-note.is-in { transform: none; }
.ui-note b { display: block; font-size: 1.05em; margin-bottom: 2px; }
.ui-note small { color: #a1a1a6; }
.ui-welcome { position: absolute; left: 6%; top: 34%; font-size: clamp(0.9rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; text-shadow: 0 6px 30px rgba(0,0,0,.25); }
.ui-welcome small { display: block; font-size: 0.38em; font-weight: 500; opacity: .85; letter-spacing: 0; }

.ui-fleet { background: #0b0c10; padding: 6% 6% 5%; display: grid; grid-template-rows: auto auto 1fr; gap: 5%; }
.ui-fleet header { display: flex; justify-content: space-between; align-items: baseline; font-size: clamp(0.4rem, 0.9vw, 0.8rem); color: #a1a1a6; }
.ui-fleet header b { color: #f5f5f7; font-size: 1.25em; }
.ui-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.ui-kpis div { background: #17181d; border-radius: clamp(4px, 0.7vw, 10px); padding: 7% 8%; }
.ui-kpis b { display: block; font-size: clamp(0.65rem, 1.5vw, 1.35rem); letter-spacing: -0.02em; }
.ui-kpis small { font-size: clamp(0.32rem, 0.6vw, 0.55rem); color: #8e8e93; }
.ui-chart { display: flex; align-items: flex-end; gap: 3%; padding: 0 1%; border-bottom: 1px solid #2c2c2e; }
.ui-chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #2997ff, #0b3a8a); transform-origin: 50% 100%; }

.ui-lock { background: radial-gradient(140% 80% at 30% 0%, #2b4eb8 0%, #091a46 55%, #05070d 100%); display: flex; flex-direction: column; align-items: center; padding: 18% 7% 8%; gap: 3%; }
.ui-lock__time { font-size: clamp(1.4rem, 3.6vw, 3.1rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ui-lock__date { font-size: clamp(0.4rem, 0.8vw, 0.72rem); color: #d1d1d6; margin-bottom: 8%; }
.ui-lock__n { width: 100%; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); border-radius: clamp(8px, 1.4vw, 16px); padding: 7% 8%; font-size: clamp(0.36rem, 0.68vw, 0.62rem); line-height: 1.3; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.ui-lock__n.is-in { opacity: 1; transform: none; }
.ui-lock__n b { display: block; }

/* ---------- highlights carousel ---------- */
.apx-hl { background: #000; padding: clamp(70px, 8vw, 120px) 0 clamp(60px, 7vw, 100px); overflow: hidden; }
.apx-hl h2 { color: #f5f5f7; }
.apx-hl__viewport { margin-top: 40px; }
.apx-hl__track { display: flex; gap: 22px; padding: 0 max(var(--gutter), calc((100vw - 1100px) / 2)); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.apx-slide { flex: none; width: min(1100px, 86vw); aspect-ratio: 16 / 8.2; border-radius: 28px; overflow: hidden; position: relative; background: #111; }
.apx-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease; }
.apx-slide.is-active img { transform: scale(1); }
.apx-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 38%, rgba(0,0,0,0) 60%); }
.apx-slide p { position: absolute; top: 7%; left: 6%; z-index: 1; margin: 0; max-width: 22ch; font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: #f5f5f7; opacity: .35; transition: opacity .6s .2s; }
.apx-slide.is-active p { opacity: 1; }
.apx-hl__controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.apx-dots { display: flex; gap: 0; padding: 14px 20px; background: rgba(66, 66, 69, 0.72); backdrop-filter: blur(12px); border-radius: 99px; }
.apx-dots button { width: 24px; height: 24px; border-radius: 99px; border: 0; background: #a1a1a6; background-clip: content-box; cursor: pointer; padding: 8px; position: relative; overflow: hidden; transition: width .5s cubic-bezier(.2,.7,.2,1), background-color .3s; }
.apx-dots button.is-active { width: 64px; background: #6e6e73; background-clip: content-box; }
.apx-dots button i { position: absolute; inset: 8px; border-radius: 99px; background: #f5f5f7; transform-origin: 0 50%; transform: scaleX(0); }
.apx-play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(66, 66, 69, 0.72); color: #f5f5f7; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .15s; }
.apx-play:hover { background: rgba(90, 90, 94, .9); }
.apx-play:active { transform: scale(.94); }
.apx-play svg { width: 18px; height: 18px; }

/* ---------- bento ---------- */
.apx-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.bt { position: relative; border-radius: 28px; background: #fff; padding: 30px 30px 32px; overflow: hidden; isolation: isolate; box-shadow: 2px 4px 12px rgba(0,0,0,.06); transform-style: preserve-3d; transition: box-shadow .35s, transform .25s ease-out; }
.bt::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 113, 227, 0.12), transparent 60%); }
.bt:hover { box-shadow: 2px 10px 34px rgba(0,0,0,.12); }
.bt:hover::before { opacity: 1; }
.bt--dark { background: #000; color: #f5f5f7; }
.bt--dark::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(41, 151, 255, 0.28), transparent 60%); }
.bt--blue { background: linear-gradient(150deg, #0071e3 0%, #000cff 100%); color: #fff; }
.bt-a { grid-column: span 4; grid-row: span 2; }
.bt-b, .bt-c, .bt-d, .bt-e, .bt-f, .bt-g { grid-column: span 2; }
.bt-f { grid-column: span 3; } .bt-g { grid-column: span 3; }
.bt small { display: block; font-size: 0.95rem; font-weight: 600; color: #6e6e73; margin-bottom: 8px; }
.bt--dark small, .bt--blue small { color: rgba(255,255,255,.7); }
.bt h3 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
.bt p { color: #6e6e73; margin: 10px 0 0; font-size: 1rem; line-height: 1.45; }
.bt--dark p, .bt--blue p { color: rgba(255,255,255,.72); }
.bt-big { font-size: clamp(4.2rem, 2rem + 6vw, 8.5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; margin-top: 18px; background: linear-gradient(90deg, #0071e3, #000cff 60%, #3fd3c8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bt--dark .bt-big { background: linear-gradient(90deg, #2997ff, #8fb8ff 50%, #3fd3c8); -webkit-background-clip: text; background-clip: text; }
.bt-a figure { margin: 22px -30px -32px; height: 58%; min-height: 240px; overflow: hidden; }
.bt-a figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.bt-a:hover figure img { transform: scale(1.04); }
.bt-rows { margin-top: 18px; display: grid; gap: 8px; }
.bt-rows div { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; padding: 9px 12px; border-radius: 12px; background: #f5f5f7; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.bt-rows div.is-in { opacity: 1; transform: none; }
.bt-rows span { color: #1d7a3a; font-weight: 600; font-size: 0.78rem; }
.bt-toggles { margin-top: 16px; display: grid; gap: 10px; }
.bt-toggles div { display: flex; justify-content: space-between; align-items: center; font-size: 0.92rem; }
.tg { width: 44px; height: 26px; border-radius: 99px; background: #3a3a3c; position: relative; transition: background-color .35s; flex: none; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.3); transition: transform .35s cubic-bezier(.3,.7,.4,1.3); }
.tg.is-on { background: #34c759; }
.tg.is-on::after { transform: translateX(18px); }
.bt-route { position: relative; height: 70px; margin-top: 18px; }
.bt-route svg { width: 100%; height: 100%; overflow: visible; }
.bt-route path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 4 5; }
.bt-route circle { fill: #3fd3c8; }

/* ---------- Mac chooser ---------- */
.apx-seg { position: relative; display: inline-grid; grid-auto-flow: column; background: #e8e8ed; border-radius: 99px; padding: 4px; margin: 34px auto 0; }
.apx-seg button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 20px; font: inherit; font-size: 0.95rem; color: #1d1d1f; cursor: pointer; border-radius: 99px; white-space: nowrap; transition: color .3s; }
.apx-seg button[aria-selected="true"] { color: #fff; }
.apx-seg__thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 99px; background: #1d1d1f; transition: transform .45s cubic-bezier(.3,.7,.3,1), width .45s cubic-bezier(.3,.7,.3,1); }
.apx-chooser { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: 46px; text-align: left; }
.apx-chooser figure { margin: 0; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: #fff; position: relative; }
.apx-chooser figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.apx-chooser figure img.is-on { opacity: 1; transform: none; }
.apx-panel { display: none; }
.apx-panel.is-on { display: block; animation: panel-in .55s cubic-bezier(.2,.7,.2,1); }
@keyframes panel-in { from { opacity: 0; transform: translateY(14px); } }
.apx-panel h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.apx-panel .tagline { font-size: 1.25rem; color: #1d1d1f; margin: 8px 0 20px; }
.apx-panel ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.apx-panel li { display: flex; gap: 12px; align-items: baseline; color: #424245; font-size: 1.05rem; }
.apx-panel li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #0071e3; transform: translateY(-2px); }

/* ---------- iPad / iPhone duo ---------- */
.apx-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.apx-card { position: relative; border-radius: 28px; overflow: hidden; min-height: 560px; display: flex; flex-direction: column; padding: 44px 40px 0; transform-style: preserve-3d; transition: transform .2s ease-out, box-shadow .3s; }
.apx-card--dark { background: #000; color: #f5f5f7; }
.apx-card--light { background: #fff; box-shadow: 2px 4px 12px rgba(0,0,0,.06); }
.apx-card h3 { font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.apx-card p { font-size: 1.1rem; color: #86868b; margin: 8px 0 0; max-width: 30ch; }
.apx-card figure { margin: auto -40px 0; height: 300px; overflow: hidden; }
.apx-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.apx-card:hover figure img { transform: scale(1.05); }
.apx-card .glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.12), transparent 50%); opacity: 0; transition: opacity .3s; }
.apx-card:hover .glare { opacity: 1; }

/* ---------- security ---------- */
.apx-sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.apx-shield { width: min(360px, 70%); margin: 0 auto; display: block; }
.apx-shield path { fill: none; stroke: url(#shieldGrad); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.apx-policies { display: grid; gap: 0; border-top: 1px solid #2c2c2e; }
.apx-policies div { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid #2c2c2e; }
.apx-policies b { display: block; font-weight: 600; font-size: 1.1rem; }
.apx-policies span { color: #86868b; font-size: 0.92rem; }

/* ---------- lifecycle timeline ---------- */
.apx-life { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.apx-life__line { position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: #d2d2d7; }
.apx-life__line i { position: absolute; inset: 0; background: linear-gradient(90deg, #0071e3, #000cff, #3fd3c8); transform-origin: 0 50%; transform: scaleX(0); }
.apx-stop { position: relative; padding-top: 36px; }
.apx-stop::before { content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #d2d2d7; transition: border-color .4s, background-color .4s, transform .4s cubic-bezier(.3,.7,.4,1.4); }
.apx-stop.is-lit::before { border-color: #0071e3; background: #0071e3; transform: scale(1.15); }
.apx-stop h4 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; }
.apx-stop p { margin: 0; color: #6e6e73; font-size: 0.95rem; line-height: 1.45; }

/* ---------- FAQ with smooth height ---------- */
.ap-faq details > div { overflow: hidden; }
.ap-faq details p { margin: 0 0 24px; }

/* ---------- form v2 ---------- */
.apx-form { background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 52px); max-width: 820px; margin: 44px auto 0; box-shadow: 2px 4px 18px rgba(0,0,0,.08); display: grid; gap: 18px; text-align: left; }
.apx-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fl { position: relative; }
.fl input, .fl select, .fl textarea { width: 100%; min-height: 56px; border: 1px solid #86868b; border-radius: 12px; padding: 22px 16px 8px; font: inherit; font-size: 1.0625rem; color: #1d1d1f; background: #fff; transition: border-color .2s, box-shadow .2s; }
.fl textarea { min-height: 120px; resize: vertical; padding-top: 28px; }
.fl label { position: absolute; left: 17px; top: 17px; font-size: 1.0625rem; color: #86868b; pointer-events: none; transform-origin: 0 0; transition: transform .2s cubic-bezier(.3,.7,.3,1), color .2s; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label, .fl select + label { transform: translateY(-10px) scale(0.74); color: #6e6e73; }
.apx-choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.apx-choices legend { font-size: 0.95rem; color: #6e6e73; margin-bottom: 10px; }
.apx-choices label { cursor: pointer; }
.apx-choices input { position: absolute; opacity: 0; pointer-events: none; }
.apx-choices span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; border: 1px solid #d2d2d7; font-size: 1rem; transition: border-color .2s, box-shadow .2s, transform .15s; }
.apx-choices span:hover { border-color: #86868b; }
.apx-choices input:checked + span { border-color: #0071e3; box-shadow: 0 0 0 2px #0071e3 inset; }
.apx-choices input:focus-visible + span { outline: 2px solid #0071e3; outline-offset: 2px; }
.apx-submit { justify-self: start; border: 0; min-width: 190px; }
.apx-submit .done { display: none; }
.apx-submit.is-busy { pointer-events: none; opacity: .8; }
.apx-submit.is-done { background: #34c759; }
.apx-submit.is-done .label { display: none; }
.apx-submit.is-done .done { display: inline-flex; align-items: center; gap: 8px; }
.apx-submit .done svg { width: 18px; height: 18px; }
.apx-submit .done path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tick .5s .1s forwards ease-out; }
@keyframes tick { to { stroke-dashoffset: 0; } }

@media (max-width: 1023px) {
  .apx-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt-a, .bt-b, .bt-c, .bt-d, .bt-e, .bt-f, .bt-g { grid-column: span 2; grid-row: auto; }
  .bt-b, .bt-c, .bt-d, .bt-e { grid-column: span 1; }
  .apx-chooser, .apx-sec, .apx-duo { grid-template-columns: 1fr; }
  .apx-life { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .apx-life__line { display: none; }
  .apx-stop::before { border-color: #0071e3; }
}
@media (max-width: 640px) {
  .apx-stage { height: 300px; }
  .apx-layer--mac { width: 86vw; }
  .apx-layer--ipad { width: 40vw; transform: translateX(-118%); bottom: 26%; }
  .apx-layer--phone { width: 21vw; transform: translateX(150%); bottom: 18%; }
  .apx-bento { grid-template-columns: 1fr; }
  .bt-b, .bt-c, .bt-d, .bt-e { grid-column: span 2; }
  .apx-seg { max-width: 100%; overflow-x: auto; }
  .apx-life { grid-template-columns: 1fr 1fr; }
  .apx-form .row { grid-template-columns: 1fr; }
  .apx-slide { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  .apx-float, .apx-title, .apx-chip::after { animation: none !important; }
  .apx-title { background-position: 50% 0; }
}

.apx-card, .apx-stop { text-decoration: none; color: inherit; }
.apx-card--light { color: #1d1d1f; }
.bt-a h3 { max-width: 18ch; }

.apx-card--dark { color: #f5f5f7; }
@media (prefers-reduced-motion: reduce) { .ap-step { opacity: 1; } }
