:root {
    color-scheme: light;
    --ink: #23172e;
    --muted: #64566e;
    --purple: #6932b6;
    --page: #fbf9fd;
    --border: #e6deec;
    --night: #20112e;
    --wrap: min(1200px, calc(100% - 72px));
    --round: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, summary { -webkit-tap-highlight-color: transparent; font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #a36ef7; outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; border-radius: 10px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.intro { color: #fff; background: var(--night); }
.site-header { min-height: 79px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-bottom: 1px solid #ffffff1c; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 11px; }
.brand img { width: 40px; aspect-ratio: 1; border-radius: 12px; background: #fff; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .98rem; letter-spacing: -.03em; }
.brand small { margin-top: 3px; color: #c8b6d8; font-size: .68rem; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { padding: 10px 13px; border-radius: 8px; color: #e3d8eb; font-size: .83rem; font-weight: 650; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current] { color: #fff; background: #ffffff14; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; color: #f8f0ff; border: 1px solid #ffffff3a; border-radius: 100px; font-size: .8rem; font-weight: 750; white-space: nowrap; }
.header-cta:hover { background: #ffffff16; }

main > .intro {
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 80% at 55% 100%, #7238b779, transparent 75%),
        radial-gradient(ellipse 45% 58% at 91% 56%, #ad3e7c37, transparent 77%),
        var(--night);
}
.hero { padding: clamp(58px, 6vw, 84px) 0 41px; text-align: center; }
.hero-copy { position: relative; z-index: 1; }
.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #d6a7fb42; border-radius: 100px; padding: 8px 13px; color: #f1dafa; background: #9362bb29; font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.pill i, .hero-visual figcaption i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #d88ff7; box-shadow: 0 0 12px #d88ff780; }
.hero h1 { margin: 21px auto 19px; color: #fff; font-size: clamp(3.15rem, 7vw, 6.15rem); font-weight: 800; letter-spacing: -.062em; line-height: .98; }
.hero h1 em { color: #dfacf8; font-style: normal; }
.hero-copy > p { max-width: 570px; margin: 0 auto; color: #e2d6ee; line-height: 1.7; font-size: clamp(.94rem, 2vw, 1.13rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 49px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; font-size: .86rem; font-weight: 800; transition: background-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: #2d1643; background: #f2dcff; }
.button-light:hover { background: #fff; }
.button-outline { color: #fff; border-color: #fff4; background: #ffffff09; }
.button-outline:hover { background: #ffffff16; }

.hero-visual { margin: clamp(33px, 4.2vw, 53px) auto 0; width: min(100%, 1020px); }
.laptop { position: relative; padding: 0 4%; }
.laptop-screen {
    position: relative; z-index: 1; padding: clamp(7px, 1.5vw, 17px);
    border: 1px solid #b39abb; border-bottom: 0; border-radius: clamp(12px, 2vw, 26px) clamp(12px, 2vw, 26px) 4px 4px;
    background: linear-gradient(160deg, #3e3146, #140f18 40%, #241b2b);
    box-shadow: 0 36px 70px #11091a87, 0 0 82px #bf6ef754;
}
.laptop-screen .shot { overflow: hidden; border: 1px solid #594361; border-radius: clamp(5px, .8vw, 11px); background: #f6effb; }
.laptop-screen img { width: 100%; }
.laptop-base { position: relative; z-index: 2; height: clamp(9px, 1.8vw, 23px); margin-inline: -4.35%; border-radius: 4px 4px 50% 50% / 4px 4px 60% 60%; background: linear-gradient(180deg, #c4b5d1, #725f7f 28%, #392d45 82%, #51405e); border-top: 1px solid #e6d4f3; box-shadow: 0 9px 16px #1b1026; }
.laptop-base::after { content: ""; position: absolute; top: 0; left: 44%; width: 12%; height: 38%; border-radius: 0 0 9px 9px; background: #33283a78; }
.hero-visual figcaption { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; color: #ddcce9; font-size: .78rem; line-height: 1.4; }

.tour { padding: clamp(64px, 8vw, 112px) 0 32px; }
.tour-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; column-gap: 45px; margin-bottom: 25px; }
.kicker { color: var(--purple); font-size: .71rem; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.tour-heading .kicker { grid-column: 1 / -1; }
.tour h2, .faq-intro h2 { margin: 13px 0 0; font-size: clamp(2.65rem, 5.8vw, 5.3rem); line-height: 1.02; letter-spacing: -.052em; font-weight: 800; }
.tour-heading > p, .faq-intro > p { margin: 0 0 4px; color: var(--muted); font-size: 1rem; line-height: 1.65; max-width: 365px; }
.chapter-nav { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin: 28px 0 12px; }
.chapter-nav a { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 11px; background: #fff; border: 1px solid var(--border); border-radius: 10px; font-size: .78rem; font-weight: 750; }
.chapter-nav a:hover { background: #f3eaff; border-color: #c2a6e5; }
.chapter-nav b { color: var(--purple); font-size: .67rem; font-variant-numeric: tabular-nums; }

.chapter { display: grid; grid-template-columns: minmax(0,.81fr) minmax(0,1.19fr); align-items: center; gap: clamp(26px, 6.5vw, 96px); padding: clamp(46px, 6vw, 83px) 0; }
.chapter + .chapter { border-top: 1px solid var(--border); }
.chapter-reverse { grid-template-columns: minmax(0,1.19fr) minmax(0,.81fr); }
.chapter-reverse .chapter-copy { grid-column: 2; grid-row: 1; }
.chapter-reverse .figure { grid-column: 1; grid-row: 1; }
.step { display: inline-flex; align-items: center; gap: 9px; color: var(--purple); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 850; }
.step b { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #e1d2f3; border-radius: 9px; background: #f0e8f9; font-size: .71rem; font-variant-numeric: tabular-nums; }
.chapter h3 { margin: 15px 0 15px; font-size: clamp(2rem, 4.2vw, 3.85rem); line-height: 1.05; font-weight: 800; letter-spacing: -.052em; text-wrap: balance; }
.chapter-copy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.chapter-copy strong { color: var(--ink); }
.checks { display: grid; gap: 10px; margin: 19px 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 21px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.checks li::before { position: absolute; top: .02em; left: 0; content: "✓"; color: var(--purple); font-weight: 850; }
.example { margin-top: 17px; padding: 10px 14px; border-left: 2px solid #a774e4; border-radius: 0 9px 9px 0; background: #f3edf9; }
.example span { font-size: .63rem; color: var(--purple); text-transform: uppercase; font-weight: 850; letter-spacing: .07em; }
.example p { font-size: .87rem; color: var(--ink); }

.figure { position: relative; isolation: isolate; overflow: hidden; padding: clamp(16px, 3vw, 35px); padding-bottom: 12px; border-radius: var(--round); border: 1px solid #59346f20; }
.figure-lilac { background: radial-gradient(ellipse at 80% 25%, #efe0ff, transparent 70%), linear-gradient(145deg,#e4d2f9,#cbb2ee); }
.figure-rose { background: radial-gradient(ellipse at 60% 18%, #ffecf6, transparent 69%), linear-gradient(145deg,#f3d8ea,#e4b9dc); }
.figure-grape { background: radial-gradient(ellipse at 90% 20%, #dfc4f8, transparent 67%), linear-gradient(145deg,#d2b7e9,#aa86cc); }
.shot { display: block; cursor: zoom-in; }
.figure > .shot, .narrow-shot { border: 1px solid #fff9; border-radius: 13px; overflow: hidden; background: #faf5ff; box-shadow: 0 16px 34px #40245d33; }
.figure img { width: 100%; }
.figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; color: #3f2357; font-size: .73rem; font-weight: 700; }
.zoom { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 50%; border: 1px solid #2b16344a; background: #ffffff6b; font-size: 1rem; }
.zoom:hover { background: #fff; }
.portrait-stage { display: grid; place-items: center; }
.template-stage { min-height: clamp(270px, 30vw, 385px); }
.template-stage .narrow-shot { width: fit-content; max-width: 92%; }
.template-stage img { width: auto; max-height: clamp(270px, 30vw, 385px); object-fit: contain; }

.device-pair { position: relative; display: flex; min-height: 245px; align-items: center; }
.device-desktop { width: 86%; border: clamp(4px, .65vw, 8px) solid #30233b; border-radius: 12px; overflow: hidden; background: #eee3ff; box-shadow: 0 15px 25px #3b275d45; }
.device-phone { z-index: 1; align-self: end; width: 29%; margin: 26px 0 0 -15%; border: clamp(4px, .7vw, 8px) solid #2e2237; border-radius: clamp(13px, 2vw, 29px); overflow: hidden; background: #eee3ff; box-shadow: 0 12px 27px #3b275d61; }
.device-phone img { border-radius: 0; }

.faq-section { background: #f1ebf7; border-top: 1px solid var(--border); padding: clamp(54px, 8vw, 100px) 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); align-items: start; gap: clamp(32px, 7vw, 100px); }
.faq-intro h2 { font-size: clamp(2.55rem, 5vw, 4.5rem); }
.faq-intro > p { margin: 16px 0 22px; }
.button-primary { color: #fff; background: #6630ac; }
.button-primary:hover { background: #50238e; }
.text-link { display: block; width: fit-content; margin-top: 16px; color: #592b98; font-size: .82rem; font-weight: 750; }
.text-link:hover { text-decoration: underline; }
.faq-list { overflow: hidden; border: 1px solid #e2d8ea; border-radius: 18px; background: #fff; }
.faq-list details + details { border-top: 1px solid #e8dfef; }
.faq-list summary { display: grid; grid-template-columns: 29px 1fr 21px; min-height: 60px; align-items: center; gap: 10px; padding: 12px 17px; cursor: pointer; font-weight: 760; font-size: .9rem; list-style: none; line-height: 1.4; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:focus-visible { outline-offset: -4px; }
.faq-list summary:hover, .faq-list details[open] summary { background: #faf5ff; }
.faq-list summary span { color: var(--purple); font-size: .69rem; font-variant-numeric: tabular-nums; }
.faq-list summary i { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #decdef; border-radius: 50%; color: var(--purple); font-style: normal; }
.faq-list summary i::before { content: "+"; }
.faq-list details[open] summary i::before { content: "−"; }
.faq-list details p { margin: 0; padding: 12px 44px 19px 56px; color: var(--muted); font-size: .88rem; line-height: 1.6; }

.footer { color: #fff; background: var(--night); }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; padding: 25px 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 19px; color: #e1d5ea; font-size: .83rem; font-weight: 650; }
.footer nav a:hover { text-decoration: underline; }

.image-dialog { max-width: min(96vw, 1650px); max-height: 94dvh; padding: 45px 9px 9px; border: 1px solid #ffffff3a; border-radius: 18px; color: #fff; background: #2d1e3a; }
.image-dialog::backdrop { background: #160b21db; backdrop-filter: blur(5px); }
.image-dialog form { position: absolute; top: 6px; right: 9px; z-index: 1; }
.image-dialog button { display: grid; width: 33px; height: 33px; place-items: center; padding: 0; border: 1px solid #ffffff4e; border-radius: 50%; color: #fff; background: #ffffff16; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.image-dialog img { min-width: 145px; max-width: 100%; max-height: calc(94dvh - 58px); object-fit: contain; border-radius: 8px; }
body:has(.image-dialog[open]) { overflow: hidden; }

@media (max-width: 880px) {
    :root { --wrap: calc(100% - 46px); }
    .chapter-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .chapter { gap: 26px; }
}
@media (max-width: 620px) {
    :root { --wrap: calc(100% - 32px); --round: 20px; }
    .site-header { grid-template-columns: 1fr auto; column-gap: 8px; row-gap: 8px; padding-top: 13px; }
    .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; padding: 2px 0 8px; }
    .header-cta { grid-column: 2; grid-row: 1; }
    .hero { padding-top: 48px; padding-bottom: 28px; }
    .hero h1 { font-size: clamp(2.7rem, 10.8vw, 4rem); }
    .hero-break { display: none; }
    .hero-actions { gap: 8px; }
    .button { gap: 8px; padding-inline: 12px; }
    .hero-visual figcaption { font-size: .67rem; }
    .tour-heading { display: block; }
    .tour-heading > p { margin-top: 14px; }
    .chapter-nav { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 21px; }
    .chapter, .chapter-reverse, .faq-layout { grid-template-columns: minmax(0,1fr); }
    .chapter { gap: 23px; }
    .chapter-reverse .chapter-copy, .chapter-reverse .figure { grid-column: auto; grid-row: auto; }
    .chapter h3 { text-wrap: initial; }
    .device-pair { min-height: 140px; }
    .device-phone { margin-top: 8px; }
    .footer-content { gap: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
