/* =========================================================
   SayWave — Text to Speech
   Dedicated page styling
   iApps
   ========================================================= */


/* ---------------------------------------------------------
   Page integration with _Layout
--------------------------------------------------------- */

.page-content {
    padding-bottom: 0;
    overflow-x: hidden;
    background: #04183f;
}

.navbar.mb-3 {
    margin-bottom: 0 !important;
}

.saywave-page-breakout {
    width: 100vw;
    margin-left: calc(50% - 50vw);

    overflow: hidden;

    background: #04183f;
}


/* ---------------------------------------------------------
   Design system
--------------------------------------------------------- */

.sw-page {
    --sw-text: #ffffff;
    --sw-text-soft: rgba(255, 255, 255, 0.78);

    --sw-cyan: #70e6ff;
    --sw-cyan-strong: #09cfff;
    --sw-red: #ff5f59;

    position: relative;

    color: var(--sw-text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            900px 620px at 18% 5%,
            rgba(31, 126, 255, 0.22),
            transparent 65%
        ),
        radial-gradient(
            760px 560px at 88% 18%,
            rgba(0, 204, 255, 0.13),
            transparent 68%
        ),
        linear-gradient(
            180deg,
            #061f50 0%,
            #03163b 48%,
            #020d2b 100%
        );
}

.sw-page *,
.sw-page *::before,
.sw-page *::after {
    box-sizing: border-box;
}

.sw-page button,
.sw-page a {
    -webkit-tap-highlight-color: transparent;
}

.sw-page img,
.sw-page svg {
    max-width: 100%;
}

.sw-hero-copy,
.sw-hero-stage,
.sw-section-copy,
.sw-player-shell,
.sw-transcription-copy,
.sw-transcription-visual,
.sw-library-copy,
.sw-library-ui,
.sw-export-art,
.sw-export-copy {
    min-width: 0;
}

.sw-shell {
    width: min(1180px, calc(100% - 56px));

    margin: 0 auto;
}


/* ---------------------------------------------------------
   Shared typography
--------------------------------------------------------- */

.sw-kicker {
    margin: 0 0 18px;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--sw-cyan);
}

.sw-section-title {
    margin: 0;

    font-size: clamp(48px, 5.2vw, 76px);
    line-height: 0.99;
    font-weight: 430;

    letter-spacing: -0.045em;

    color: var(--sw-text);
}

.sw-section-lead {
    max-width: 590px;

    margin: 28px 0 0;

    font-size: 20px;
    line-height: 1.62;
    font-weight: 400;

    letter-spacing: -0.012em;

    color: var(--sw-text-soft);
}

.sw-accent-text {
    color: var(--sw-cyan);
}

.sw-word-highlight {
    color: var(--sw-cyan);

    background:
        linear-gradient(
            180deg,
            transparent 57%,
            rgba(0, 201, 255, 0.25) 57%
        );
}


/* ---------------------------------------------------------
   Shared section rhythm
--------------------------------------------------------- */

.sw-section {
    position: relative;

    padding: 126px 0;

    overflow: hidden;

    border-top: 1px solid rgba(174, 220, 255, 0.09);
}

.sw-centered-heading {
    max-width: 850px;

    margin: 0 auto 72px;

    text-align: center;
}

.sw-centered-heading .sw-section-lead {
    margin-left: auto;
    margin-right: auto;
}


/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.sw-hero {
    position: relative;

    min-height: 820px;

    padding: 116px 0 126px;

    overflow: hidden;

    background:
        radial-gradient(
            780px 590px at 72% 36%,
            rgba(0, 204, 255, 0.17),
            transparent 64%
        ),
        radial-gradient(
            900px 670px at 4% 40%,
            rgba(17, 89, 220, 0.27),
            transparent 70%
        ),
        linear-gradient(
            135deg,
            #04173d 0%,
            #063483 52%,
            #03143a 100%
        );
}

.sw-hero::after {
    content: "";

    position: absolute;

    width: 680px;
    height: 680px;

    right: -280px;
    top: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(93, 223, 255, 0.16),
            transparent 68%
        );

    pointer-events: none;
}

.sw-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 0.88fr)
        minmax(500px, 1.12fr);

    align-items: center;

    gap: 92px;
}


/* Brand */

.sw-brand-row {
    display: flex;

    align-items: center;

    gap: 16px;
}

.sw-brand-icon {
    display: block;

    width: 62px;
    height: 62px;

    border-radius: 15px;

    object-fit: cover;

    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.22),
        0 0 0 1px rgba(255, 255, 255, 0.17);
}

.sw-brand-name,
.sw-brand-product {
    margin: 0;
}

.sw-brand-name {
    font-size: 19px;
    line-height: 1.1;
    font-weight: 700;

    letter-spacing: -0.015em;

    color: #fff;
}

.sw-brand-product {
    margin-top: 4px;

    font-size: 13px;
    line-height: 1.2;

    color: rgba(213, 235, 255, 0.68);
}

.sw-platforms {
    margin: 28px 0 0;

    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;

    letter-spacing: 0.02em;

    color: rgba(205, 230, 255, 0.62);
}


/* Hero headline */

.sw-hero-title {
    margin: 35px 0 0;

    font-size: clamp(62px, 6.4vw, 94px);
    line-height: 0.9;
    font-weight: 440;

    letter-spacing: -0.055em;
}

.sw-hero-title span {
    display: block;
}

.sw-hero-title span + span {
    margin-top: 10px;
}

.sw-hero-description {
    max-width: 535px;

    margin: 35px 0 0;

    font-size: 20px;
    line-height: 1.62;
    font-weight: 400;

    letter-spacing: -0.012em;

    color: rgba(230, 241, 255, 0.80);
}


/* Store badge */

.sw-hero-actions {
    margin-top: 36px;
}

.sw-store-link {
    display: inline-block;

    border-radius: 10px;
}

.sw-store-link:focus-visible {
    outline: 2px solid var(--sw-cyan);
    outline-offset: 5px;
}

.sw-store-badge {
    display: block;

    width: auto;
    height: 52px;
}


/* Care */

.sw-care-note {
    display: flex;

    align-items: center;

    gap: 8px;

    margin: 27px 0 0;

    font-size: 13px;

    color: rgba(213, 235, 255, 0.62);
}

.sw-heart {
    font-size: 15px;

    color: var(--sw-cyan);
}


/* ---------------------------------------------------------
   Hero visual
--------------------------------------------------------- */

.sw-hero-stage {
    position: relative;

    min-height: 610px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 20px;
}

.sw-stage-glow {
    position: absolute;

    inset: 4% 8%;

    border-radius: 45%;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(33, 166, 255, 0.34),
            rgba(0, 84, 204, 0.10) 50%,
            transparent 73%
        );

    filter: blur(38px);

    pointer-events: none;
}


/* Demo cards */

.sw-demo-card {
    position: relative;
    z-index: 2;

    padding: 30px 32px;

    border: 1px solid rgba(158, 223, 255, 0.22);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(66, 135, 222, 0.31),
            rgba(13, 58, 127, 0.19)
        );

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);

    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
}

.sw-demo-transcription {
    width: 91%;

    margin-left: auto;
}

.sw-demo-reading {
    width: 89%;
}

.sw-demo-heading {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    color: rgba(255, 255, 255, 0.93);
}

.sw-demo-heading-muted {
    padding-left: 10px;

    border-left: 1px solid rgba(255, 255, 255, 0.30);

    color: rgba(223, 238, 255, 0.66);
}

.sw-live-dot {
    display: inline-block;

    width: 9px;
    height: 9px;

    flex: 0 0 auto;

    border-radius: 50%;

    background: var(--sw-red);

    box-shadow:
        0 0 0 5px rgba(255, 95, 89, 0.09);
}

.sw-demo-divider {
    height: 1px;

    margin: 17px 0 18px;

    background:
        linear-gradient(
            90deg,
            rgba(207, 232, 255, 0.42),
            rgba(207, 232, 255, 0.10)
        );
}

.sw-demo-quote {
    position: relative;

    margin: 0;

    padding-left: 20px;

    font-size: 25px;
    line-height: 1.36;
    font-weight: 420;

    letter-spacing: -0.02em;

    color: #fff;
}

.sw-demo-quote::before {
    content: "";

    position: absolute;

    left: 0;
    top: 3px;
    bottom: 3px;

    width: 3px;

    border-radius: 999px;

    background: rgba(180, 230, 255, 0.86);
}

.sw-cursor {
    display: inline-block;

    width: 2px;
    height: 1em;

    margin-left: 5px;

    transform: translateY(0.13em);

    background: var(--sw-cyan-strong);

    animation: swCursorBlink 1.1s steps(2, end) infinite;
}

@keyframes swCursorBlink {
    50% {
        opacity: 0.22;
    }
}


/* Listening */

.sw-listening-row,
.sw-reading-row {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 24px;

    font-size: 14px;

    color: rgba(226, 241, 255, 0.78);
}

.sw-mini-wave {
    display: flex;

    align-items: center;

    gap: 3px;

    height: 20px;
}

.sw-mini-wave i {
    display: block;

    width: 2px;

    border-radius: 2px;

    background: #fff;
}

.sw-mini-wave i:nth-child(1) {
    height: 6px;
}

.sw-mini-wave i:nth-child(2) {
    height: 13px;
}

.sw-mini-wave i:nth-child(3) {
    height: 19px;
}

.sw-mini-wave i:nth-child(4) {
    height: 13px;
}

.sw-mini-wave i:nth-child(5) {
    height: 6px;
}


/* Signature wave */

.sw-signature-wave {
    position: relative;
    z-index: 2;

    width: 100%;

    height: 40px;

    color: rgba(255, 255, 255, 0.88);
}

.sw-signature-wave svg {
    display: block;

    width: 100%;
    height: 100%;
}


/* Mini reading player */

.sw-mini-player {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 26px;
}

.sw-mini-pause {
    display: flex;

    gap: 5px;
}

.sw-mini-pause i {
    display: block;

    width: 4px;
    height: 19px;

    border-radius: 2px;

    background: #fff;
}

.sw-mini-track {
    position: relative;

    width: 100%;
    height: 4px;

    border-radius: 999px;

    background: rgba(213, 235, 255, 0.45);
}

.sw-mini-track-progress {
    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 37%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #1bd6ff,
            #79ecff
        );
}

.sw-mini-track-dot {
    position: absolute;

    left: 37%;
    top: 50%;

    width: 10px;
    height: 10px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: #fff;
}


/* ---------------------------------------------------------
   PLAYER SECTION
--------------------------------------------------------- */

.sw-player-section {
    background:
        radial-gradient(
            760px 520px at 72% 46%,
            rgba(0, 167, 255, 0.14),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            #04163b,
            #06275e
        );
}

.sw-two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 0.83fr)
        minmax(520px, 1.17fr);

    align-items: center;

    column-gap: 86px;
    row-gap: 44px;
}

.sw-quote-line {
    max-width: 560px;

    margin-top: 38px;

    padding-left: 23px;

    border-left: 3px solid var(--sw-cyan);

    font-size: 22px;
    line-height: 1.48;

    color: rgba(245, 249, 255, 0.91);
}


/* Player */

.sw-player-shell {
    position: relative;

    padding: 40px 35px 34px;

    border: 1px solid rgba(132, 210, 255, 0.31);
    border-radius: 38px;

    background:
        linear-gradient(
            145deg,
            rgba(55, 126, 214, 0.45),
            rgba(21, 77, 155, 0.23)
        );

    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);

    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
}

.sw-player-handle {
    position: absolute;

    top: 13px;
    left: 50%;

    width: 44px;
    height: 5px;

    transform: translateX(-50%);

    border-radius: 999px;

    background: rgba(190, 224, 255, 0.54);
}

.sw-player-top {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 20px;
}

.sw-player-title {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;
}

.sw-player-title strong {
    font-size: 20px;
    line-height: 1.2;

    color: #fff;
}

.sw-player-title span {
    font-size: 15px;

    color: rgba(219, 236, 255, 0.68);
}


/* UI preview controls reset */

.sw-pill-control,
.sw-circle-control,
.sw-small-control,
.sw-main-control,
.sw-recorder-button,
.sw-search-button,
.sw-voice-play {
    appearance: none;
    -webkit-appearance: none;

    margin: 0;
    padding: 0;

    border: 0;

    cursor: default;

    font: inherit;
    line-height: 1;

    color: inherit;
}

.sw-pill-control {
    min-width: 86px;

    padding: 14px 17px;

    border: 1px solid rgba(162, 222, 255, 0.26);
    border-radius: 999px;

    background: rgba(42, 110, 201, 0.45);
}

.sw-circle-control {
    width: 52px;
    height: 52px;

    border: 1px solid rgba(162, 222, 255, 0.25);
    border-radius: 50%;

    background: rgba(42, 110, 201, 0.40);
}

.sw-progress {
    position: relative;

    height: 5px;

    margin-top: 38px;

    border-radius: 999px;

    background: rgba(200, 229, 255, 0.20);
}

.sw-progress-fill {
    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 13%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--sw-cyan),
            #8feeff
        );
}

.sw-progress-thumb {
    position: absolute;

    left: 13%;
    top: 50%;

    width: 14px;
    height: 14px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.22);
}

.sw-player-time {
    display: flex;

    justify-content: space-between;

    margin-top: 10px;

    font-size: 13px;

    color: rgba(223, 239, 255, 0.71);
}

.sw-player-controls {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    align-items: center;

    gap: 16px;

    margin-top: 28px;
}

.sw-small-control {
    width: 54px;
    height: 54px;

    justify-self: center;

    border: 1px solid rgba(157, 218, 255, 0.20);
    border-radius: 50%;

    background: rgba(35, 99, 187, 0.34);

    font-size: 14px;
}

.sw-main-control {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 78px;
    height: 78px;

    justify-self: center;

    border: 1px solid rgba(130, 243, 255, 0.72);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 25%,
            #22d7ff,
            #0899ec 70%
        );

    box-shadow:
        0 12px 34px rgba(0, 199, 255, 0.23);
}

.sw-pause-bars {
    display: flex;

    gap: 6px;
}

.sw-pause-bars i {
    display: block;

    width: 6px;
    height: 25px;

    border-radius: 2px;

    background: #fff;
}


/* Player features */

.sw-player-features {
    grid-column: 2;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px 34px;
}

.sw-feature {
    display: flex;

    align-items: flex-start;

    gap: 14px;
}

.sw-feature-icon {
    width: 28px;

    flex: 0 0 28px;

    font-size: 25px;

    color: var(--sw-cyan);
}

.sw-feature div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.sw-feature strong {
    font-size: 17px;

    color: #fff;
}

.sw-feature span:not(.sw-feature-icon) {
    font-size: 13px;
    line-height: 1.45;

    color: rgba(218, 236, 255, 0.66);
}


/* ---------------------------------------------------------
   TRANSCRIPTION
--------------------------------------------------------- */

.sw-transcription-section {
    background:
        radial-gradient(
            800px 580px at 25% 55%,
            rgba(37, 132, 255, 0.20),
            transparent 67%
        ),
        linear-gradient(
            135deg,
            #031237,
            #06337a 60%,
            #031334
        );
}

.sw-transcription-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.82fr)
        minmax(530px, 1.18fr);

    align-items: center;

    gap: 95px;
}

.sw-transcription-visual {
    padding: 46px 44px;

    border: 1px solid rgba(143, 217, 255, 0.22);
    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(34, 97, 185, 0.38),
            rgba(18, 61, 130, 0.20)
        );

    box-shadow:
        0 36px 80px rgba(0, 0, 0, 0.18);

    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.sw-transcript-label {
    display: flex;

    align-items: center;

    gap: 13px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: rgba(181, 218, 255, 0.76);
}

.sw-live-copy {
    position: relative;

    margin: 0;

    padding-left: 22px;

    font-size: clamp(25px, 2.5vw, 34px);
    line-height: 1.35;
    font-weight: 400;

    letter-spacing: -0.025em;

    color: #fff;
}

.sw-live-copy::before {
    content: "";

    position: absolute;

    left: 0;
    top: 6px;
    bottom: 5px;

    width: 3px;

    border-radius: 999px;

    background: rgba(144, 223, 255, 0.82);
}


/* Recorder */

.sw-recorder {
    margin-top: 43px;

    padding: 27px 29px 22px;

    border: 1px solid rgba(126, 206, 255, 0.28);
    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(41, 111, 202, 0.48),
            rgba(17, 69, 148, 0.28)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.sw-recorder-state {
    text-align: center;

    font-size: 16px;

    color: rgba(242, 249, 255, 0.90);
}

.sw-recorder-controls {
    display: grid;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 25px;

    margin-top: 21px;
}

.sw-recorder-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 66px;
    height: 66px;

    border-radius: 50%;

    background:
        rgba(18, 91, 183, 0.67);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sw-recorder-button .sw-pause-bars i {
    width: 5px;
    height: 21px;
}

.sw-stop-square {
    width: 20px;
    height: 20px;

    border-radius: 3px;

    background: #fff;
}

.sw-waveform {
    height: 56px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 4px;
}

.sw-waveform i {
    display: block;

    width: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #22cfff,
            #2084ff
        );
}

.sw-waveform i:nth-child(5n + 1) {
    height: 18px;
}

.sw-waveform i:nth-child(5n + 2) {
    height: 34px;
}

.sw-waveform i:nth-child(5n + 3) {
    height: 48px;
}

.sw-waveform i:nth-child(5n + 4) {
    height: 29px;
}

.sw-waveform i:nth-child(5n) {
    height: 40px;
}

.sw-recorder-labels {
    display: grid;

    grid-template-columns:
        66px 1fr 66px;

    gap: 25px;

    margin-top: 7px;

    text-align: center;

    font-size: 12px;

    color: rgba(224, 239, 255, 0.75);
}

.sw-recorder-time {
    color: rgba(43, 171, 255, 0.92);
}

.sw-context-line {
    margin: 34px 0 0;

    text-align: center;

    font-size: 20px;

    color: rgba(236, 246, 255, 0.84);
}


/* ---------------------------------------------------------
   PDF + PHOTO
--------------------------------------------------------- */

.sw-import-section {
    background:
        radial-gradient(
            900px 600px at 50% 20%,
            rgba(5, 130, 255, 0.11),
            transparent 70%
        ),
        linear-gradient(
            180deg,
            #031133,
            #041b49
        );
}

.sw-import-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;
}

.sw-import-card {
    position: relative;

    padding: 44px 42px 41px;

    border: 1px solid rgba(136, 207, 255, 0.18);
    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 87, 169, 0.29),
            rgba(14, 54, 119, 0.20)
        );

    overflow: hidden;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.14);
}

.sw-import-card::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -160px;
    top: -160px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(87, 221, 255, 0.11),
            transparent 70%
        );
}

.sw-import-art {
    position: relative;
    z-index: 1;

    height: 250px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: rgba(223, 243, 255, 0.90);
}

.sw-import-art svg {
    display: block;

    width: 100%;
    height: 100%;
}

.sw-import-label {
    margin: 20px 0 0;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--sw-cyan);
}

.sw-import-card h3 {
    margin: 15px 0 0;

    font-size: clamp(38px, 4vw, 57px);
    line-height: 1.02;
    font-weight: 430;

    letter-spacing: -0.04em;
}

.sw-import-card p:not(.sw-import-label) {
    max-width: 500px;

    margin: 22px 0 0;

    font-size: 17px;
    line-height: 1.58;

    color: var(--sw-text-soft);
}


/* Simple player */

.sw-simple-player {
    display: flex;

    align-items: center;

    gap: 17px;

    margin-top: 35px;
}

.sw-simple-pause {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border: 1.5px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;

    color: #fff;
}

.sw-simple-track {
    position: relative;

    width: min(320px, 78%);
    height: 4px;

    border-radius: 999px;

    background: rgba(229, 242, 255, 0.74);
}

.sw-simple-track::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 32%;

    border-radius: inherit;

    background: var(--sw-cyan);
}

.sw-simple-track i {
    position: absolute;

    left: 32%;
    top: 50%;

    width: 10px;
    height: 10px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background: #fff;
}


/* ---------------------------------------------------------
   LIBRARY
--------------------------------------------------------- */

.sw-library-section {
    background:
        radial-gradient(
            760px 600px at 76% 46%,
            rgba(0, 184, 255, 0.13),
            transparent 66%
        ),
        linear-gradient(
            135deg,
            #04143a,
            #06337b
        );
}

.sw-library-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.87fr)
        minmax(500px, 1.13fr);

    align-items: center;

    gap: 92px;
}

.sw-library-ui {
    padding: 38px;

    border: 1px solid rgba(149, 218, 255, 0.20);
    border-radius: 34px;

    background:
        linear-gradient(
            145deg,
            rgba(44, 110, 201, 0.38),
            rgba(18, 67, 143, 0.24)
        );

    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.19),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);

    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.sw-library-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.sw-library-header strong {
    font-size: 28px;
    line-height: 1.2;

    letter-spacing: -0.03em;
}

.sw-search-button {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 51px;
    height: 51px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(44, 137, 239, 0.74),
            rgba(25, 91, 184, 0.65)
        );
}

.sw-search-button svg {
    width: 24px;
    height: 24px;
}

.sw-segmented {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    margin-top: 28px;

    padding: 3px;

    border-radius: 999px;

    background: rgba(67, 132, 211, 0.32);

    text-align: center;

    font-size: 14px;
    font-weight: 600;
}

.sw-segmented span {
    padding: 9px 14px;

    border-radius: inherit;
}

.sw-segmented .active {
    background:
        linear-gradient(
            135deg,
            rgba(192, 224, 255, 0.38),
            rgba(128, 183, 242, 0.24)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sw-library-subheading {
    margin: 29px 0 12px;

    font-size: 14px;
    font-weight: 600;

    color: rgba(206, 228, 255, 0.62);
}

.sw-topic-card {
    padding: 0 22px;

    border: 1px solid rgba(143, 208, 255, 0.11);
    border-radius: 25px;

    background: rgba(60, 123, 200, 0.25);
}

.sw-topic-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;
}

.sw-topic-row + .sw-topic-row {
    border-top: 1px solid rgba(194, 225, 255, 0.18);
}

.sw-topic-row > div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.sw-topic-row strong {
    font-size: 17px;

    color: #fff;
}

.sw-topic-row div span {
    font-size: 13px;

    color: rgba(208, 230, 255, 0.61);
}

.sw-topic-row > span {
    font-size: 32px;
    font-weight: 200;

    color: rgba(199, 226, 255, 0.60);
}


/* ---------------------------------------------------------
   LANGUAGES
--------------------------------------------------------- */

.sw-language-section {
    background:
        radial-gradient(
            700px 520px at 50% 55%,
            rgba(17, 145, 255, 0.13),
            transparent 66%
        ),
        linear-gradient(
            180deg,
            #031335,
            #051e50
        );
}

.sw-voice-list {
    width: min(760px, 100%);

    margin: 0 auto;
}

.sw-voice-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 26px 15px;

    border-bottom: 1px solid rgba(208, 231, 255, 0.32);
}

.sw-voice-row > div {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.sw-voice-row strong {
    font-size: clamp(34px, 4vw, 53px);
    line-height: 1;

    font-weight: 400;

    letter-spacing: -0.035em;
}

.sw-voice-row div span {
    font-size: 17px;

    color: var(--sw-cyan);
}

.sw-voice-play {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    flex: 0 0 62px;

    border: 2px solid rgba(193, 231, 255, 0.88);
    border-radius: 50%;

    background: transparent;

    color: #fff;

    font-size: 20px;
}


/* Arabic */

.sw-voice-row strong[lang="ar"] {
    direction: rtl;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Arabic",
        "Geeza Pro",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    letter-spacing: 0;
    line-height: 1.12;
}


/* More languages */

.sw-voice-more {
    margin: 30px 0 0;

    text-align: center;

    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;

    color: rgba(206, 231, 255, 0.68);
}


/* ---------------------------------------------------------
   ACCESSIBILITY + PRIVACY
--------------------------------------------------------- */

.sw-values-section {
    background:
        linear-gradient(
            135deg,
            #020c27,
            #041b49
        );
}

.sw-values-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 30px;
}

.sw-value-card {
    min-height: 680px;

    padding: 48px 46px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(146, 215, 255, 0.17);
    border-radius: 35px;

    background:
        radial-gradient(
            500px 360px at 50% 45%,
            rgba(27, 154, 255, 0.13),
            transparent 70%
        ),
        rgba(9, 37, 91, 0.42);

    overflow: hidden;

    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.16);
}

.sw-value-card h2 {
    margin: 0;

    font-size: clamp(47px, 5vw, 70px);
    line-height: 0.98;
    font-weight: 430;

    letter-spacing: -0.045em;
}

.sw-accessibility-symbol,
.sw-lock {
    width: 190px;
    height: 190px;

    margin: auto;

    color: rgba(142, 235, 255, 0.95);
}

.sw-accessibility-symbol svg,
.sw-lock svg {
    display: block;

    width: 100%;
    height: 100%;
}

.sw-value-copy {
    margin: 0;

    padding-left: 21px;

    border-left: 3px solid var(--sw-cyan);

    font-size: 28px;
    line-height: 1.35;

    letter-spacing: -0.025em;

    color: rgba(247, 250, 255, 0.92);
}

.sw-privacy-message {
    display: flex;
    flex-direction: column;

    gap: 12px;

    text-align: center;
}

.sw-privacy-message strong {
    font-size: clamp(39px, 4vw, 57px);
    line-height: 1.05;
    font-weight: 430;

    letter-spacing: -0.04em;
}

.sw-privacy-message span {
    font-size: 18px;
    line-height: 1.5;

    color: rgba(210, 232, 255, 0.69);
}


/* ---------------------------------------------------------
   MP3 EXPORT
--------------------------------------------------------- */

.sw-export-section {
    background:
        radial-gradient(
            700px 560px at 25% 50%,
            rgba(0, 196, 255, 0.12),
            transparent 68%
        ),
        linear-gradient(
            135deg,
            #031238,
            #06275f
        );
}

.sw-export-grid {
    display: grid;

    grid-template-columns:
        minmax(420px, 1fr)
        minmax(0, 0.9fr);

    align-items: center;

    gap: 100px;
}

.sw-export-art {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 520px;

    color: rgba(224, 244, 255, 0.92);
}

.sw-export-art svg {
    width: min(420px, 100%);
    height: auto;
}

.sw-export-art > span {
    margin-top: -22px;

    font-size: 18px;

    letter-spacing: 0.34em;

    color: rgba(226, 241, 255, 0.80);
}

.sw-export-player {
    display: grid;

    grid-template-columns:
        auto 1fr auto auto;

    align-items: center;

    gap: 22px;

    margin-top: 45px;
}

.sw-export-play {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
}

.sw-export-track {
    position: relative;

    height: 4px;

    border-radius: 999px;

    background: rgba(220, 238, 255, 0.72);
}

.sw-export-track i {
    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 45%;

    border-radius: inherit;

    background: var(--sw-cyan);
}


/* ---------------------------------------------------------
   CLOSING
--------------------------------------------------------- */

.sw-closing {
    position: relative;

    padding: 132px 0 140px;

    text-align: center;

    background:
        radial-gradient(
            680px 520px at 50% 36%,
            rgba(0, 204, 255, 0.16),
            transparent 69%
        ),
        linear-gradient(
            180deg,
            #041840,
            #020b25
        );
}

.sw-closing-inner {
    max-width: 760px;
}

.sw-closing-icon {
    display: block;

    width: 112px;
    height: 112px;

    margin: 0 auto;

    border-radius: 27px;

    object-fit: cover;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(255, 255, 255, 0.14);
}

.sw-closing-brand {
    margin: 24px 0 0;

    font-size: 18px;
    font-weight: 700;

    color: rgba(239, 248, 255, 0.90);
}

.sw-closing h2 {
    margin: 38px 0 0;

    font-size: clamp(60px, 7vw, 92px);
    line-height: 0.91;
    font-weight: 430;

    letter-spacing: -0.055em;
}

.sw-closing-description {
    max-width: 580px;

    margin: 32px auto 0;

    font-size: 19px;
    line-height: 1.6;

    color: rgba(214, 234, 255, 0.72);
}

.sw-closing .sw-store-link {
    margin-top: 36px;
}

.sw-closing-care {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 34px 0 0;

    font-size: 14px;

    color: rgba(205, 230, 255, 0.63);
}

.sw-closing-care span {
    color: var(--sw-cyan);
}


/* ---------------------------------------------------------
   Tablet
--------------------------------------------------------- */

/* ---------------------------------------------------------
   Video (YouTube click-to-load; component styles in site.css)
--------------------------------------------------------- */

.sw-video-grid {
    display: grid;

    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);

    gap: 64px;

    align-items: center;
}

.sw-video-copy,
.sw-video-frame {
    min-width: 0;
}

.sw-video-frame .yt-lite {
    border: 1px solid rgba(174, 220, 255, 0.16);

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.sw-video-source {
    margin: 22px 0 0;

    font-size: 15px;
    line-height: 1.5;

    color: var(--sw-text-soft);
}

.sw-video-source a,
.sw-closing-press a {
    color: var(--sw-cyan);

    text-decoration: none;
}

.sw-video-source a:hover,
.sw-closing-press a:hover {
    text-decoration: underline;
}

.sw-closing-press {
    margin: 20px 0 0;

    font-size: 15px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .sw-video-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }
}


@media (max-width: 991px) {

    .sw-shell {
        width: min(100% - 44px, 820px);
    }

    .sw-section {
        padding: 100px 0;
    }


    /* Hero */

    .sw-hero {
        padding: 88px 0 105px;
    }

    .sw-hero-grid {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .sw-hero-copy {
        max-width: 690px;
    }

    .sw-hero-stage {
        width: 100%;
        max-width: 720px;

        min-height: 560px;

        margin: 0 auto;
    }


    /* Player */

    .sw-two-column {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .sw-section-copy {
        max-width: 680px;
    }

    .sw-player-features {
        grid-column: auto;

        margin-top: 4px;
    }


    /* Transcription */

    .sw-transcription-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

    .sw-transcription-copy {
        max-width: 680px;
    }


    /* Library */

    .sw-library-grid {
        grid-template-columns: 1fr;

        gap: 56px;
    }

    .sw-library-copy {
        max-width: 680px;
    }


    /* Export */

    .sw-export-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .sw-export-art {
        min-height: 400px;
    }

    .sw-export-copy {
        max-width: 680px;
    }

}


/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 767px) {

    .sw-shell {
        width: calc(100% - 36px);
    }

    .sw-section {
        padding: 78px 0;
    }

    .sw-section-title {
        font-size: clamp(42px, 12vw, 58px);
    }

    .sw-section-lead {
        margin-top: 22px;

        font-size: 17px;
        line-height: 1.58;
    }

    .sw-centered-heading {
        margin-bottom: 48px;

        text-align: left;
    }

    .sw-desktop-break {
        display: none;
    }


    /* Hero */

    .sw-hero {
        min-height: 0;

        padding: 67px 0 82px;
    }

    .sw-hero-grid {
        gap: 52px;
    }

    .sw-brand-icon {
        width: 55px;
        height: 55px;

        border-radius: 14px;
    }

    .sw-platforms {
        font-size: 12px;
    }

    .sw-hero-title {
        margin-top: 31px;

        font-size: clamp(55px, 16vw, 77px);
    }

    .sw-hero-description {
        margin-top: 28px;

        font-size: 17px;
        line-height: 1.58;
    }

    .sw-store-badge {
        height: 49px;
    }

    .sw-hero-stage {
        min-height: 0;

        padding: 0;
    }

    .sw-demo-card {
        padding: 24px 21px;

        border-radius: 24px;
    }

    .sw-demo-transcription,
    .sw-demo-reading {
        width: 100%;

        margin: 0;
    }

    .sw-demo-heading {
        font-size: 12px;
    }

    .sw-demo-heading-muted {
        display: none;
    }

    .sw-demo-quote {
        font-size: 21px;
    }

    .sw-signature-wave {
        height: 33px;
    }


    /* Player */

    .sw-quote-line {
        font-size: 19px;
    }

    .sw-player-shell {
        padding: 37px 21px 26px;

        border-radius: 28px;
    }

    .sw-player-top {
        grid-template-columns:
            auto 1fr auto;

        gap: 13px;
    }

    .sw-pill-control {
        min-width: 68px;

        padding: 11px 12px;

        font-size: 13px;
    }

    .sw-circle-control {
        width: 45px;
        height: 45px;
    }

    .sw-player-title strong {
        font-size: 17px;
    }

    .sw-player-title span {
        font-size: 13px;
    }

    .sw-player-controls {
        gap: 5px;
    }

    .sw-small-control {
        width: 42px;
        height: 42px;

        font-size: 12px;
    }

    .sw-main-control {
        width: 66px;
        height: 66px;
    }

    .sw-main-control .sw-pause-bars i {
        width: 5px;
        height: 21px;
    }

    .sw-player-features {
        grid-template-columns: 1fr;

        gap: 21px;
    }


    /* Transcription */

    .sw-transcription-visual {
        padding: 30px 20px;

        border-radius: 27px;
    }

    .sw-live-copy {
        font-size: 23px;
    }

    .sw-recorder {
        padding: 24px 16px 20px;

        border-radius: 24px;
    }

    .sw-recorder-controls {
        gap: 13px;
    }

    .sw-recorder-button {
        width: 55px;
        height: 55px;
    }

    .sw-waveform {
        gap: 2px;
    }

    .sw-waveform i {
        width: 3px;
    }

    .sw-recorder-labels {
        grid-template-columns:
            55px 1fr 55px;

        gap: 13px;

        font-size: 11px;
    }

    .sw-context-line {
        font-size: 17px;
    }


    /* PDF + photo */

    .sw-import-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .sw-import-card {
        padding: 32px 25px;

        border-radius: 27px;
    }

    .sw-import-art {
        height: 210px;
    }

    .sw-import-card h3 {
        font-size: 43px;
    }

    .sw-import-card p:not(.sw-import-label) {
        font-size: 16px;
    }


    /* Library */

    .sw-library-ui {
        padding: 28px 20px;

        border-radius: 27px;
    }

    .sw-library-header strong {
        font-size: 25px;
    }

    .sw-topic-card {
        padding: 0 16px;
    }


    /* Languages */

    .sw-voice-row {
        padding: 22px 3px;
    }

    .sw-voice-row strong {
        font-size: 39px;
    }

    .sw-voice-row div span {
        font-size: 15px;
    }

    .sw-voice-play {
        width: 54px;
        height: 54px;

        flex-basis: 54px;
    }

    .sw-voice-more {
        margin-top: 24px;

        font-size: 14px;
    }


    /* Values */

    .sw-values-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .sw-value-card {
        min-height: 570px;

        padding: 34px 27px;

        border-radius: 28px;
    }

    .sw-value-card h2 {
        font-size: 51px;
    }

    .sw-accessibility-symbol,
    .sw-lock {
        width: 150px;
        height: 150px;
    }

    .sw-value-copy {
        font-size: 23px;
    }

    .sw-privacy-message strong {
        font-size: 42px;
    }

    .sw-privacy-message span {
        font-size: 16px;
    }


    /* Export */

    .sw-export-art {
        min-height: 340px;
    }

    .sw-export-art svg {
        width: min(330px, 100%);
    }

    .sw-export-player {
        gap: 14px;
    }


    /* Closing */

    .sw-closing {
        padding: 90px 0 100px;
    }

    .sw-closing-icon {
        width: 92px;
        height: 92px;

        border-radius: 22px;
    }

    .sw-closing h2 {
        font-size: clamp(58px, 17vw, 78px);
    }

    .sw-closing-description {
        font-size: 17px;
    }

}


/* ---------------------------------------------------------
   Very small screens
--------------------------------------------------------- */

@media (max-width: 390px) {

    .sw-shell {
        width: calc(100% - 30px);
    }

    .sw-hero-title {
        font-size: 54px;
    }

    .sw-section-title {
        font-size: 42px;
    }

    .sw-demo-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sw-player-shell {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sw-small-control {
        width: 38px;
        height: 38px;
    }

    .sw-main-control {
        width: 59px;
        height: 59px;
    }

    .sw-import-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sw-value-card h2 {
        font-size: 45px;
    }

}


/* ---------------------------------------------------------
   Reduced Motion
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .sw-page *,
    .sw-page *::before,
    .sw-page *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.001ms !important;
    }

}