﻿/* ==========================================================================
   MP3Juices — coastal glass design system
   Inspired by the structure and rhythm of modern converter landing pages.
   ========================================================================== */

:root {
    color-scheme: light;
    --page: #e9f3f1;
    --deep-1: #062b45;
    --deep-2: #0a4f75;
    --deep-3: #0c6e93;
    --lagoon-2: #0a4e5e;
    --lagoon-3: #0b5f6e;
    --on-deep: #ffffff;
    --on-deep-soft: #e3f3fa;
    --glass: rgba(255, 255, 255, 0.9);
    --glass-solid: #f7fbfd;
    --glass-line: rgba(255, 255, 255, 0.7);
    --surface: #ffffff;
    --surface-2: #f3f8fb;
    --field: #ffffff;
    --ink: #0b2233;
    --muted: #4a6375;
    --line: #cfe0ea;
    --wave: #0a5470;
    --wave-press: #08435a;
    --on-wave: #ffffff;
    --foam: #7ce0d3;
    --foam-strong: #43c8b8;
    --on-foam: #06262f;
    --foam-tint: rgba(124, 224, 211, 0.28);
    --pick: #e3f2f8;
    --ok: #13795b;
    --bad: #b3261e;
    --ring: #0b6e8e;
    --ring-soft: rgba(11, 110, 142, 0.16);
    --shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 12px 28px -18px rgba(6, 43, 69, 0.35);
    --font-head: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --r-card: 22px;
    --r-field: 16px;
    --r-btn: 14px;
    --r-row: 16px;
    --r-thumb: 12px;
    --r-chip: 999px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --page: #051521;
    --deep-1: #03101a;
    --deep-2: #062a40;
    --deep-3: #0a3f5c;
    --lagoon-2: #062e38;
    --lagoon-3: #0a4350;
    --on-deep: #f1f8fc;
    --on-deep-soft: #bfd9e6;
    --glass: rgba(9, 33, 49, 0.78);
    --glass-solid: #0b2232;
    --glass-line: rgba(143, 210, 236, 0.18);
    --surface: #0b2232;
    --surface-2: #10293b;
    --field: rgba(3, 19, 30, 0.6);
    --ink: #e6f2f8;
    --muted: #9db6c5;
    --line: #1e4258;
    --wave: #b0d4f2;
    --wave-press: #c6e1f6;
    --on-wave: #03131e;
    --foam: #7ce0d3;
    --foam-strong: #9aeee4;
    --on-foam: #03131e;
    --foam-tint: rgba(124, 224, 211, 0.16);
    --pick: #123b4d;
    --ok: #5dd6b0;
    --bad: #ff9b95;
    --ring: #7ce0d3;
    --ring-soft: rgba(124, 224, 211, 0.16);
    --shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.8);
    --shadow-soft: 0 16px 34px -22px rgba(0, 0, 0, 0.8);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    display: block;
    min-height: 40vh;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-head);
    color: var(--ink);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

p {
    margin: 0;
}

a {
    color: var(--wave);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

::selection {
    background: var(--foam-tint);
    color: var(--ink);
}

:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 3px;
}

.ico {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-fill {
    fill: currentColor;
    stroke: none;
}

.skip {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 0 0 12px 12px;
    background: var(--surface);
    color: var(--ink);
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: top 0.2s ease;
}

.skip:focus {
    top: 0;
}

.wrap {
    width: min(1160px, calc(100% - 32px));
    margin-inline: auto;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-line);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.top {
    position: absolute;
    inset: 0 0 auto;
    z-index: 40;
    color: var(--on-deep);
}

.top_row {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: inherit;
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand_mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(124, 224, 211, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--on-deep);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand_mark svg {
    width: 20px;
    height: 20px;
}

.brand_word {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top_nav {
    display: none;
    align-items: center;
    gap: 2px;
    margin-inline-start: 18px;
}

.top_link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    border-radius: var(--r-chip);
    color: var(--on-deep-soft);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease;
}

.top_link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-deep);
}

.top_link.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: var(--on-deep);
}

.top_tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
}

.pill,
.ibtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--r-chip);
    background: rgba(255, 255, 255, 0.12);
    color: var(--on-deep);
    cursor: pointer;
    list-style: none;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.pill {
    gap: 8px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
}

.ibtn {
    width: 40px;
    padding: 0;
}

.pill::-webkit-details-marker,
.ibtn::-webkit-details-marker,
.menu_btn::-webkit-details-marker {
    display: none;
}

.pill:hover,
.ibtn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.pill .ico,
.ibtn .ico {
    width: 18px;
    height: 18px;
}

.pill_chevron {
    width: 14px !important;
    height: 14px !important;
    opacity: 0.8;
    transition: transform 0.18s ease;
}

.langs[open] .pill_chevron {
    transform: rotate(180deg);
}

.pill_label {
    display: none;
}

.pill_code {
    display: inline;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.langs,
.menu {
    position: relative;
}

.langs {
    display: block;
}

.theme_btn .theme_sun {
    display: none;
}

:root[data-theme="dark"] .theme_btn .theme_sun {
    display: block;
}

:root[data-theme="dark"] .theme_btn .theme_moon {
    display: none;
}

.menu {
    display: block;
}

.menu_close_ico {
    display: none;
}

.menu[open] .menu_open_ico {
    display: none;
}

.menu[open] .menu_close_ico {
    display: block;
}

.sheet {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-end: 0;
    z-index: 60;
    width: min(340px, calc(100vw - 32px));
    padding: 10px;
    border: 1px solid var(--glass-line);
    border-radius: 20px;
    background: var(--glass-solid);
    color: var(--ink);
    box-shadow: var(--shadow);
    animation: sheet-in 0.16s ease both;
}

@keyframes sheet-in {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sheet_title {
    padding: 6px 10px 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.langs_list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.langs_item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 7px 10px;
    border-radius: 12px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.langs_item:hover {
    background: var(--surface-2);
}

.langs_item.is-current {
    background: var(--pick);
}

.langs_name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.langs_code {
    margin-inline-start: auto;
    color: var(--muted);
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.langs_tick {
    width: 16px;
    height: 16px;
    color: var(--ok);
}

.menu_list {
    display: grid;
    gap: 2px;
}

.menu_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 600;
}

.menu_item:hover {
    background: var(--surface-2);
}

.menu_item.is-active {
    background: var(--pick);
}

.menu_item .ico {
    width: 16px;
    height: 16px;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   Hero + sea background
   -------------------------------------------------------------------------- */

.sea {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(64px + 28px) 0 66px;
    background:
        radial-gradient(90% 120% at 8% 0%, var(--deep-3) 0%, transparent 58%),
        radial-gradient(80% 100% at 100% 20%, var(--lagoon-3) 0%, transparent 62%),
        linear-gradient(145deg, var(--deep-1) 0%, var(--deep-2) 55%, var(--deep-1) 100%);
    color: var(--on-deep);
}

.sea_glow {
    position: absolute;
    right: -12%;
    bottom: -38%;
    z-index: -1;
    width: 78%;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, var(--foam-tint), transparent 64%);
    filter: blur(18px);
    pointer-events: none;
}

.sea::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.09) 0 1px, transparent 1.5px),
        radial-gradient(circle at 76% 32%, rgba(255, 255, 255, 0.07) 0 1px, transparent 1.5px);
    background-size: 36px 36px, 44px 44px;
    content: "";
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
    pointer-events: none;
}

.wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 54px;
    color: var(--page);
    pointer-events: none;
}

.wave path {
    fill: currentColor;
}

.wave_back {
    opacity: 0.55;
}

.hero {
    position: relative;
    z-index: 3;
}

.hero_home {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 6px;
}

.hero_h1 {
    max-width: 20ch;
    margin: 0;
    color: var(--on-deep);
    font-size: clamp(2.15rem, 7vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.02;
}

.hero_h1_sub {
    display: block;
    max-width: 28ch;
    margin-top: 12px;
    color: var(--on-deep-soft);
    font-size: 0.42em;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hero_lead {
    max-width: 58ch;
    margin: 0;
    color: var(--on-deep-soft);
    font-size: clamp(1rem, 2.1vw, 1.14rem);
    line-height: 1.62;
}

.hero_sub {
    max-width: 64ch;
    margin: 16px 0 0;
    color: var(--on-deep-soft);
    font-size: clamp(1rem, 2.1vw, 1.18rem);
    line-height: 1.6;
}

.hero_band {
    padding-top: 0;
    padding-bottom: 18px;
}

.hero_band .hero_h1 {
    max-width: 24ch;
}

.hero_actions {
    margin-top: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-chip);
    background: var(--foam-tint);
    color: var(--wave);
    font-family: var(--font-head);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.2;
    text-transform: uppercase;
}

.eyebrow_light {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: var(--on-deep);
}

.facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.fact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--r-chip);
    background: rgba(255, 255, 255, 0.09);
    color: var(--on-deep);
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.fact .ico {
    width: 16px;
    height: 16px;
    color: var(--foam);
}

.hero_tool {
    min-width: 0;
}

/* --------------------------------------------------------------------------
   Search card
   -------------------------------------------------------------------------- */

.grab {
    padding: 16px;
    border-radius: 24px;
    background: var(--glass);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.grab_form {
    display: grid;
    gap: 11px;
}

.grab_label {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.grab_line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}

.field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-field);
    background: var(--field);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field:focus-within {
    border-color: var(--ring);
    box-shadow: 0 0 0 4px var(--ring-soft);
}

.field_ico {
    width: 20px;
    height: 20px;
    color: var(--muted);
}

.field_in {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
}

.field_in::placeholder {
    color: var(--muted);
    opacity: 0.9;
}

.field_in::-webkit-search-cancel-button {
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--r-btn);
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.grab_go {
    width: 100%;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn .ico {
    width: 18px;
    height: 18px;
}

.btn_ghost {
    border-color: var(--line);
    background: var(--surface-2);
    color: var(--ink);
}

.btn_ghost:hover {
    border-color: var(--muted);
    background: var(--surface);
}

.btn_go {
    background: var(--wave);
    color: var(--on-wave);
    box-shadow: 0 10px 20px -12px rgba(10, 84, 112, 0.8);
}

.btn_go:hover {
    background: var(--wave-press);
    box-shadow: 0 12px 24px -12px rgba(10, 84, 112, 0.9);
}

.grab_note {
    margin: 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.45;
}

.grab_note a {
    color: var(--wave);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    display: none;
    padding: 5px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--glass-solid);
    box-shadow: var(--shadow-soft);
}

#suggestions span {
    display: block;
    padding: 9px 11px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.35;
    cursor: pointer;
}

#suggestions span:hover {
    background: var(--surface-2);
}

#suggestions span.is-active {
    background: var(--surface-2);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Content blocks
   -------------------------------------------------------------------------- */

.block {
    padding: clamp(42px, 7vw, 76px) 0;
}

.block + .block {
    padding-top: 0;
}

.block_results {
    padding-top: clamp(34px, 6vw, 54px);
    padding-bottom: clamp(40px, 5vw, 56px);
}

.block_results .intro {
    max-width: 82ch;
    padding-left: 0;
    border-left: 0;
    font-size: 16px;
    line-height: 1.7;
}

.block_head {
    max-width: 760px;
    margin-bottom: 26px;
}

.block_head_mid {
    margin-inline: auto;
    text-align: center;
}

.block_head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.55rem, 4.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.block_sub {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.62;
}

.intro {
    max-width: 78ch;
    padding-left: 18px;
    border-left: 3px solid var(--foam);
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.72;
}

.intro p {
    margin: 0 0 12px;
}

.intro p:last-child {
    margin-bottom: 0;
}

.intro strong {
    color: var(--ink);
    font-weight: 700;
}

.perks {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.perk {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

:root[data-theme="dark"] .perk {
    box-shadow: none;
}

.perk h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.perk p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.56;
}

.disc {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border-radius: 14px;
    background: var(--foam-tint);
    color: var(--wave);
}

.disc_sm {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.disc .ico {
    width: 20px;
    height: 20px;
}

.drops {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.drop {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.drop_badge {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 46px;
    flex: none;
}

.drop_shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--foam-tint);
    stroke: var(--foam);
    stroke-width: 1.5;
}

.drop_n {
    position: relative;
    z-index: 1;
    color: var(--wave);
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 800;
}

.drop_body h3 {
    margin: 4px 0 6px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.drop_body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.58;
}

.cards3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.card {
    padding: 16px 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.card.flat {
    box-shadow: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    margin-bottom: 10px;
    padding: 0 9px;
    border-radius: var(--r-chip);
    background: var(--surface-2);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 800;
}

.chip_foam {
    background: var(--foam-tint);
    color: var(--wave);
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq {
    display: grid;
    gap: 8px;
    max-width: 860px;
    margin-inline: auto;
}

.faq_item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.faq_q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.faq_q::-webkit-details-marker {
    display: none;
}

.faq_q:hover {
    background: var(--surface-2);
}

.faq_q:focus-visible {
    outline-offset: -3px;
}

.faq_plus {
    width: 20px;
    height: 20px;
    flex: none;
    color: var(--wave);
    transition: transform 0.2s ease;
}

.faq_item[open] .faq_plus {
    transform: rotate(45deg);
}

.faq_a {
    padding: 0 18px 16px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
}

.faq_a p {
    margin: 0;
}

.faq_a a {
    color: var(--wave);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Content pages
   -------------------------------------------------------------------------- */

.sea_short {
    padding-top: calc(64px + 32px);
    padding-bottom: 76px;
}

.sea_short::after {
    opacity: 0.7;
}

.block_page {
    padding-top: clamp(34px, 6vw, 60px);
}

.wrap_read {
    width: min(820px, calc(100% - 32px));
}

.prose {
    color: var(--ink);
    font-size: 16px;
    line-height: 1.75;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 2em 0 0.5em;
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.prose h3 {
    margin: 1.7em 0 0.4em;
    font-size: 1.14rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.prose h4 {
    margin: 1.5em 0 0.35em;
    font-size: 1rem;
    font-weight: 700;
}

.prose p {
    margin: 0 0 1em;
    color: var(--muted);
}

.prose strong {
    color: var(--ink);
    font-weight: 700;
}

.prose a {
    color: var(--wave);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prose a:hover {
    color: var(--wave-press);
}

.prose ul,
.prose ol {
    margin: 0 0 1.2em;
    padding-left: 1.2em;
    color: var(--muted);
}

.prose li {
    margin: 0.35em 0;
    padding-left: 0.15em;
}

.prose li::marker {
    color: var(--foam-strong);
}

.prose blockquote {
    margin: 1.4em 0;
    padding: 12px 16px;
    border-left: 3px solid var(--foam);
    border-radius: 0 12px 12px 0;
    background: var(--surface-2);
    color: var(--muted);
}

.prose table {
    width: 100%;
    margin: 1.4em 0;
    border-collapse: collapse;
    font-size: 14px;
}

.prose th,
.prose td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.prose th {
    background: var(--surface-2);
    color: var(--ink);
    font-weight: 700;
}

.prose hr {
    height: 1px;
    margin: 2em 0;
    border: 0;
    background: var(--line);
}

.prose .flat {
    background: transparent;
}

/* --------------------------------------------------------------------------
   Search results / downloader output
   -------------------------------------------------------------------------- */

#content {
    scroll-margin-top: 24px;
}

#load {
    display: none;
    margin-bottom: 14px;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
}

#load .spin {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    vertical-align: -2px;
    border: 2px solid var(--line);
    border-top-color: var(--wave);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#results {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.result {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-row);
    background: var(--surface);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

:root[data-theme="dark"] .result {
    box-shadow: none;
}

.result .name {
    color: var(--ink);
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.result .properties {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.result .options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.result .options a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 11px;
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.result .options .download,
.result .options .tbe.download {
    background: var(--wave);
    color: var(--on-wave);
}

.result .options .download:hover,
.result .options .tbe.download:hover {
    background: var(--wave-press);
}

.result .options .player {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--ink);
}

.result .options .player:hover {
    border-color: var(--muted);
    background: var(--surface);
}

#error,
#results #error {
    margin-bottom: 14px;
    padding: 13px 16px;
    border: 1px solid rgba(179, 38, 30, 0.25);
    border-radius: 14px;
    background: rgba(179, 38, 30, 0.07);
    color: var(--bad);
    font-size: 14px;
    font-weight: 600;
}

.file {
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    background: var(--surface);
}

.file.margin {
    margin-bottom: 12px;
    padding: 12px;
}

#initiaze,
[id^="initiaze-"] {
    color: var(--muted);
    font-size: 14px;
}

#download {
    padding: 12px;
}

.frameme {
    overflow: hidden;
    margin-bottom: 8px;
    border-radius: var(--r-thumb);
    background: var(--surface-2);
}

.frameme iframe {
    display: block;
    width: 100%;
    border: 0;
}

#download > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 6px 8px 2px 0;
    color: var(--muted);
    font-size: 12px;
    text-decoration: none;
}

#download > a:hover {
    color: var(--wave);
}

#player iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: var(--r-thumb);
}

#text {
    scroll-margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot {
    position: relative;
    background: var(--page);
    color: var(--on-deep);
}

.wave_foot {
    position: static;
    display: block;
    width: 100%;
    height: 54px;
    color: var(--deep-1);
}

.wave_foot .wave_back {
    opacity: 0.65;
}

.foot_main {
    background: var(--deep-1);
}

.foot_in {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 16px;
    padding-bottom: 30px;
}

.brand_light {
    color: var(--on-deep);
}

.brand_light .brand_mark {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(124, 224, 211, 0.26));
    border-color: rgba(255, 255, 255, 0.25);
}

.foot_note {
    max-width: 50ch;
    margin: 14px 0 0;
    color: var(--on-deep-soft);
    font-size: 13.5px;
    line-height: 1.62;
}

.foot_groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.foot_h {
    margin: 0 0 10px;
    color: var(--foam);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.foot_list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.foot_list a {
    color: var(--on-deep-soft);
    font-size: 13.5px;
    line-height: 1.4;
}

.foot_list a:hover {
    color: var(--on-deep);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.foot_langs {
    padding-top: 20px;
    padding-bottom: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.foot_langs_head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--on-deep-soft);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.foot_line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.foot_pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.foot_pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--r-chip);
    color: var(--on-deep-soft);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.2;
}

.foot_pill:hover {
    border-color: rgba(255, 255, 255, 0.36);
    color: var(--on-deep);
}

.foot_pill.is-current {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--on-deep);
}

.foot_copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 18px;
    padding-bottom: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--on-deep-soft);
    font-size: 11.5px;
    line-height: 1.5;
}

.foot_copy p {
    max-width: 70ch;
}

/* --------------------------------------------------------------------------
   Responsive: small tablet
   -------------------------------------------------------------------------- */

@media (min-width: 480px) {
    .wrap {
        width: min(1160px, calc(100% - 40px));
    }

    .langs_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sheet {
        width: min(390px, calc(100vw - 40px));
    }
}

@media (min-width: 640px) {
    .top_row {
        min-height: 68px;
    }

    .brand {
        font-size: 20px;
    }

    .brand_mark {
        width: 38px;
        height: 38px;
    }

    .sea {
        padding-bottom: 80px;
    }

    .grab {
        padding: 18px;
    }

    .grab_line {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .perks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cards3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .foot_in {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 32px;
        padding-top: 24px;
    }
}

/* --------------------------------------------------------------------------
   Responsive: desktop nav
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
    .top_nav {
        display: flex;
    }

    .menu {
        display: none;
    }

    .pill_label {
        display: inline;
    }

    .pill_code {
        display: none;
    }

    .hero_home {
        gap: 20px;
    }

    .drops {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .drop {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
    }

    .drop_body h3 {
        margin-top: 6px;
    }

    .foot_groups {
        gap: 28px;
    }

    .foot_copy {
        align-items: flex-end;
    }
}

@media (min-width: 900px) and (max-width: 1023.98px) {
    .hero_home {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
        grid-template-areas:
            "title tool"
            "lead tool"
            "facts tool";
        align-items: start;
        gap: 18px 34px;
    }

    .hero_h1 {
        grid-area: title;
        font-size: clamp(2.45rem, 5.2vw, 3.3rem);
    }

    .hero_lead {
        grid-area: lead;
    }

    .facts {
        grid-area: facts;
        margin-top: 0;
    }

    .hero_tool {
        grid-area: tool;
        align-self: start;
        padding-top: 4px;
    }

    .hero_h1_sub {
        max-width: 30ch;
    }

    .grab {
        padding: 18px;
    }
}

@media (min-width: 1024px) {
    .sea {
        padding-top: calc(68px + 54px);
        padding-bottom: 104px;
    }

    .sea_short {
        padding-top: calc(68px + 38px);
        padding-bottom: 92px;
    }

    .hero_home {
        grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
        grid-template-areas:
            "title tool"
            "lead tool"
            "facts tool";
        align-items: start;
        gap: 18px 46px;
    }

    .hero_h1 {
        grid-area: title;
    }

    .hero_lead {
        grid-area: lead;
    }

    .facts {
        grid-area: facts;
        margin-top: 0;
    }

    .hero_tool {
        grid-area: tool;
        align-self: start;
        padding-top: 4px;
    }

    .hero_h1 {
        font-size: clamp(2.9rem, 4.6vw, 4.3rem);
    }

    .hero_h1_sub {
        font-size: 0.39em;
        max-width: 30ch;
    }

    .grab {
        padding: 20px;
    }

    .block {
        padding: clamp(64px, 7vw, 88px) 0;
    }

    .block + .block {
        padding-top: 0;
    }

    .block_results {
        padding-top: 58px;
        padding-bottom: 52px;
    }

    .block_head {
        margin-bottom: 32px;
    }

    .perks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .cards3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .perk {
        padding: 18px;
    }

    .drop {
        padding: 20px;
    }

    .block_page {
        padding-top: 64px;
    }

    .wrap_read {
        width: min(840px, calc(100% - 48px));
    }
}

@media (min-width: 1200px) {
    .hero_home {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        gap: 22px 56px;
    }
}

/* --------------------------------------------------------------------------
   Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 420px) {
    .fact {
        font-size: 11.5px;
    }

    .hero_h1_sub {
        font-size: 0.46em;
    }

    .foot_groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
}

@media (max-width: 360px) {
    .grab_paste_txt {
        display: none;
    }
}

@media (max-width: 899px) {
    .top_nav {
        display: none;
    }

    .menu {
        display: block;
    }

    .langs_sheet {
        position: fixed;
        top: 68px;
        left: 16px;
        right: 16px;
        width: auto;
    }

    .menu_sheet {
        position: fixed;
        top: 68px;
        right: 16px;
        left: auto;
        width: min(340px, calc(100vw - 32px));
    }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

