:root {
    --fyz-header-h: 72px;
    --fyz-page-w: 1120px;
    --fyz-primary: #1abc9c;
    --fyz-secondary: #16a085;
    --fyz-accent: #c65a12;
    --fyz-bg: #ecfdf9;
    --fyz-ink: #14332c;
    --fyz-muted: #3d5c54;
    --fyz-card: #ffffff;
    --fyz-line: #c5e6dc;
    --fyz-btn: #0c6b5c;
    --fyz-btn-hover: #084e43;
    --fyz-header: #f4fffc;
    --fyz-deep: #0e3d36;
    --fyz-deep-text: #e7f7f3;
    --space-lg: 24px;
    --font-head: "Urbanist", "Segoe UI", sans-serif;
    --font-body: "Karla", "Segoe UI", sans-serif;
}

[hidden] { display: none !important; }

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

html, body {
    max-width: 100%;
    overflow-x: clip;
    margin: 0;
}

html { scroll-padding-top: var(--fyz-header-h); }

body {
    padding-top: var(--fyz-header-h);
    background: var(--fyz-bg);
    color: var(--fyz-ink);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
}

img, video, iframe { max-width: 100%; height: auto; }

h1, h2, h3 {
    font-family: var(--font-head);
    line-height: 1.2;
    margin: 0 0 0.6em;
}

p { margin: 0 0 1em; }

a:not(.fyzBtn) { color: var(--fyz-btn); }
a:not(.fyzBtn):hover { color: var(--fyz-accent); }

.fyzContainer {
    width: 100%;
    max-width: var(--fyz-page-w);
    margin: 0 auto;
    padding-inline: 20px;
}

.fyzSection { padding-block: 56px; }

.fyzGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.fyzGrid > * { min-width: 0; }

.fyzHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--fyz-header-h);
    background: var(--fyz-header);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fyzHeader .fyzContainer { max-width: 1280px; }

.fyzHeader-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: var(--fyz-header-h);
}

.fyzHeader-logo { display: flex; align-items: center; flex-shrink: 0; color: var(--fyz-ink); text-decoration: none; }
.fyzHeader-logo svg { width: 180px; height: auto; display: block; }

.fyzNav { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-wrap: nowrap; }
.fyzHeader a.fyzNav-link,
.fyzHeader a.fyzNav-link:visited {
    color: var(--fyz-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}
.fyzHeader a.fyzNav-link:hover { color: var(--fyz-btn); }
.fyzNav-link.fyzIs-on { color: var(--fyz-btn); box-shadow: inset 0 -2px 0 var(--fyz-btn); }

.fyzBurger,
.fyzOverlay,
.fyzDrawer { display: none; }

.fyzBurger {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0 11px;
    flex-shrink: 0;
    border: 1px solid var(--fyz-line);
    border-radius: 12px;
    background: var(--fyz-header);
    color: var(--fyz-ink);
    cursor: pointer;
}

.fyzBurger span {
    display: block;
    flex: 0 0 2px;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.fyzBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
}

.fyzBtn-label { position: relative; z-index: 2; }

.fyzRipple {
    position: absolute;
    z-index: 1;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    animation: fyzRipple 0.55s ease-out forwards;
}

a.fyzBtn-primary,
a.fyzBtn-primary:visited,
button.fyzBtn-primary {
    color: #ffffff;
    background: var(--fyz-btn);
    border-color: var(--fyz-btn);
}

a.fyzBtn-primary:hover,
a.fyzBtn-primary:focus-visible,
a.fyzBtn-primary:active,
button.fyzBtn-primary:hover,
button.fyzBtn-primary:focus-visible,
button.fyzBtn-primary:active {
    color: #ffffff;
    background: var(--fyz-btn-hover);
    border-color: var(--fyz-btn-hover);
}

.fyzHeader a.fyzBtn-primary,
.fyzHeader a.fyzBtn-primary:visited,
.fyzHeader a.fyzBtn-primary:hover,
.fyzHeader a.fyzBtn-primary:focus-visible,
.fyzHeader a.fyzBtn-primary:active {
    color: #ffffff;
    background: var(--fyz-btn);
    border-color: var(--fyz-btn);
}

.fyzHeader a.fyzBtn-primary:hover,
.fyzHeader a.fyzBtn-primary:focus-visible,
.fyzHeader a.fyzBtn-primary:active {
    color: #ffffff;
    background: var(--fyz-btn-hover);
    border-color: var(--fyz-btn-hover);
}

a.fyzBtn-ghost,
a.fyzBtn-ghost:visited,
button.fyzBtn-ghost {
    color: var(--fyz-ink);
    background: transparent;
    border-color: var(--fyz-ink);
}

a.fyzBtn-ghost:hover,
a.fyzBtn-ghost:focus-visible,
a.fyzBtn-ghost:active,
button.fyzBtn-ghost:hover,
button.fyzBtn-ghost:focus-visible,
button.fyzBtn-ghost:active {
    color: #f4fffc;
    background: var(--fyz-ink);
    border-color: var(--fyz-ink);
}

.fyzHero a.fyzBtn-ghost,
.fyzHero a.fyzBtn-ghost:visited,
.fyzHero button.fyzBtn-ghost {
    color: var(--fyz-ink);
    background: transparent;
    border-color: var(--fyz-ink);
}

.fyzHero a.fyzBtn-ghost:hover,
.fyzHero a.fyzBtn-ghost:focus-visible,
.fyzHero button.fyzBtn-ghost:hover,
.fyzHero button.fyzBtn-ghost:focus-visible {
    color: #f4fffc;
    background: var(--fyz-ink);
    border-color: var(--fyz-ink);
}

.fyzActions { display: flex; flex-wrap: wrap; gap: 12px; }

.fyzStrip {
    background: #dff6ef;
    border-bottom: 1px solid var(--fyz-line);
}

.fyzStrip p {
    margin: 0;
    padding-block: 8px;
    font-size: 0.92rem;
    color: var(--fyz-muted);
}

.fyzHero {
    background:
        radial-gradient(ellipse at 10% 0%, rgba(26, 188, 156, 0.28), transparent 46%),
        radial-gradient(ellipse at 90% 80%, rgba(14, 90, 110, 0.16), transparent 42%),
        linear-gradient(180deg, #e7fbf6 0%, #d7f3ea 100%);
    padding-block: 48px 36px;
}

.fyzHero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "title device" "text device" "actions device";
    gap: 12px 40px;
    align-items: start;
}

.fyzHero-title { grid-area: title; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.fyzHero-text { grid-area: text; max-width: 40rem; }
.fyzHero-actions { grid-area: actions; }
.fyzDevice { grid-area: device; }

.fyzDevice-frame {
    width: 240px;
    aspect-ratio: 9 / 16;
    background: #102824;
    padding: 10px;
    border-radius: 32px;
    box-shadow: 0 18px 36px rgba(16, 40, 36, 0.22);
}

.fyzDevice-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
    background: #071614;
}

.fyzJig { margin-top: 8px; max-width: 280px; }
.fyzJig-stage {
    position: relative;
    height: 150px;
    border-radius: 20px;
    background: linear-gradient(#e8f8f4 0 42%, #0e5a6e 42% 100%);
    overflow: hidden;
    border: 1px solid var(--fyz-line);
}
.fyzJig-bob {
    position: absolute;
    left: 50%;
    top: 18px;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: #e67e22;
}
.fyzJig-line {
    position: absolute;
    left: 50%;
    top: 32px;
    width: 2px;
    height: 28px;
    margin-left: -1px;
    background: #e67e22;
    transition: height 0.25s ease;
}
.fyzJig.is-mid .fyzJig-line { height: 58px; }
.fyzJig.is-deep .fyzJig-line { height: 96px; }
.fyzJig-hole {
    position: absolute;
    left: 50%;
    top: 36%;
    width: 86px;
    height: 28px;
    margin-left: -43px;
    border-radius: 50%;
    background: #dff6ef;
    box-shadow: inset 0 0 0 8px #b7e6d8;
}
.fyzJig-fish {
    position: absolute;
    left: 58%;
    bottom: 16px;
    width: 42px;
    height: 16px;
    border-radius: 40% 50% 50% 40%;
    background: #9fd8ea;
}
.fyzJig-fish::after {
    content: "";
    position: absolute;
    left: -8px;
    top: 2px;
    border-right: 10px solid #9fd8ea;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}
.fyzJig-read { font-size: 0.92rem; color: var(--fyz-muted); min-height: 1.4em; }

.fyzTabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 2px solid var(--fyz-line);
    margin-bottom: 20px;
}

.fyzTab {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    background: transparent;
    color: var(--fyz-muted);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fyzTab[aria-selected="true"] {
    color: var(--fyz-ink);
    border-bottom-color: var(--fyz-btn);
}

.fyzQa {
    border: 1px solid var(--fyz-line);
    border-radius: 10px;
    background: var(--fyz-card);
    margin-bottom: 10px;
}

.fyzQa summary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.fyzQa summary::-webkit-details-marker { display: none; }
.fyzQa summary::after { content: "+"; font-size: 1.3rem; color: var(--fyz-btn); }
.fyzQa[open] summary::after { content: "\2013"; }
.fyzQa p { margin: 0; padding: 0 16px 16px; }

.fyzCard {
    background: var(--fyz-card);
    border: 1px solid var(--fyz-line);
    border-radius: 20px;
    padding: 20px;
    min-width: 0;
}

.fyzApp-badges {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fyz-muted);
}

.fyzApp-head { display: flex; gap: 16px; align-items: center; }
.fyzApp-icon {
    width: 96px;
    height: 96px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
    background: #e7f6fb;
}
.fyzApp-dev, .fyzMuted { color: var(--fyz-muted); }
.fyzApp-facts { padding-left: 1.1rem; }
.fyzApp-facts li { margin-bottom: 0.4rem; }
.fyzBundle { overflow-wrap: anywhere; display: block; }

.fyzSteps { list-style: none; padding: 0; margin: 0; counter-reset: fyzstep; }
.fyzSteps li {
    counter-increment: fyzstep;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}
.fyzSteps li::before {
    content: counter(fyzstep);
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--fyz-btn);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-head);
}

.fyzChips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.fyzChip {
    border-radius: 20px;
    border: 1px solid var(--fyz-line);
    background: var(--fyz-card);
    padding: 12px 14px;
    max-width: 280px;
    min-width: 0;
}
.fyzChip strong { display: block; }

.fyzCompare { display: grid; gap: 16px; }
.fyzCta {
    background: #dff6ef;
    border-block: 1px solid var(--fyz-line);
}

.fyzCrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    list-style: none;
    padding: 16px 0 0;
    margin: 0;
    font-size: 0.92rem;
}
.fyzCrumbs li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--fyz-muted); }

.fyzProse { max-width: 760px; }
.fyzProse h2 { margin-top: 1.4em; }

.fyzChecks { list-style: none; padding: 0; }
.fyzChecks li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 0.7rem;
    min-width: 0;
}
.fyzChecks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: var(--fyz-btn);
    box-shadow: inset 0 0 0 2px #ffffff;
}

.fyzStills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    justify-content: center;
    gap: 20px;
}
.fyzStills figure { margin: 0; min-width: 0; }
.fyzStills img { display: block; width: 100%; height: auto; border-radius: 20px; }
.fyzStills figcaption { font-size: 0.9rem; color: var(--fyz-muted); margin-top: 8px; }

.fyzNote-band {
    height: 10px;
    border-radius: 20px 20px 0 0;
    margin: -20px -20px 16px;
    background: linear-gradient(90deg, var(--fyz-btn), #1abc9c 55%, #e67e22);
}
.fyzNote { display: flex; flex-direction: column; }
.fyzNote p { flex: 1; }

.fyzForm { display: grid; gap: 14px; max-width: 720px; }
.fyzForm label { display: grid; gap: 6px; font-weight: 700; }
.fyzForm input, .fyzForm textarea {
    width: 100%;
    min-width: 0;
    font: inherit;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--fyz-line);
    background: #fff;
    color: var(--fyz-ink);
}
.fyzForm textarea { min-height: 140px; resize: vertical; }
.fyzFollow { margin-top: 28px; }

.fyzFilter {
    width: min(100%, 420px);
    min-height: 44px;
    font: inherit;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--fyz-line);
    margin-bottom: 16px;
}

.fyzPageList { list-style: none; padding: 0; }
.fyzPageList a { display: inline-block; padding-block: 6px; }

.fyzRelated { border-top: 1px solid var(--fyz-line); padding-top: 12px; }

.fyzFooter {
    background: var(--fyz-deep);
    color: var(--fyz-deep-text);
    padding-block: 40px;
}

.fyzFooter a:not(.fyzBtn),
.fyzFooter a:not(.fyzBtn):visited,
.fyzFooter-link {
    color: var(--fyz-deep-text);
}

.fyzFooter h2 { color: var(--fyz-deep-text); font-size: 1.35rem; }
.fyzFooter-faq details {
    border-top: 1px solid rgba(231, 247, 243, 0.2);
    padding-block: 8px;
}
.fyzFooter-faq summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; }
.fyzFooter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    list-style: none;
    padding: 0;
    margin: 18px 0;
}
.fyzFooter-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    min-height: 44px;
}
.fyzFooter-note, .fyzFooter-copy { font-size: 0.95rem; }

.fyzCookie { display: none; }
.fyzCookie:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 110;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 32px);
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: #102824;
    color: #f4fffc;
    font-size: 0.92rem;
}
.fyzCookie p { margin: 0; }
.fyzCookie a, .fyzCookie a:visited { color: #f4fffc; }
.fyzCookie .fyzBtn { min-height: 36px; border-radius: 999px; box-shadow: none; }
.fyzCookie button.fyzBtn-primary,
.fyzCookie button.fyzBtn-primary:visited {
    color: #14332c;
    background: #f4fffc;
    border-color: #f4fffc;
}
.fyzCookie button.fyzBtn-primary:hover,
.fyzCookie button.fyzBtn-primary:focus-visible,
.fyzCookie button.fyzBtn-primary:active {
    color: #14332c;
    background: #ffffff;
    border-color: #ffffff;
}

body.fyzCookie-on { padding-bottom: 96px; }

@media (max-width: 1100px) {
    :root { --fyz-header-h: 56px; }
    .fyzHeader-logo svg { width: 120px; max-width: calc(100vw - 150px); }
    .fyzNav { gap: 8px; }
    .fyzHeader a.fyzNav-link { font-size: 0.86rem; }
}

@media (max-width: 900px) {
    .fyzNav, .fyzHeader a.fyzHeader-cta { display: none; }
    .fyzHeader-row { justify-content: space-between; }
    .fyzBurger { display: flex; order: 99; margin-left: auto; }
    .fyzHeader-logo { order: 1; margin-right: 0; }

    .fyzOverlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s, visibility 0.25s;
    }

    .fyzDrawer {
        display: block;
        position: fixed;
        z-index: 210;
        background: var(--fyz-header);
        overflow-y: auto;
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
    }

    .fyzDrawer-narrow {
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(75vw, 320px);
        padding: 64px 0 20px;
        transform: translateX(100%);
    }

    .fyzDrawer a:not(.fyzBtn) { display: block; padding: 10px 20px; font-size: 0.95rem; color: var(--fyz-ink); text-decoration: none; }
    .fyzDrawer a.fyzBtn { margin: 12px 20px; width: calc(100% - 40px); }
    .fyzDrawer a.fyzBtn-primary,
    .fyzDrawer a.fyzBtn-primary:visited,
    .fyzDrawer a.fyzBtn-primary:hover,
    .fyzDrawer a.fyzBtn-primary:focus-visible {
        color: #ffffff;
        background: var(--fyz-btn);
        border-color: var(--fyz-btn);
    }

    .fyzDrawer-close {
        position: absolute;
        top: 12px;
        right: 16px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        color: var(--fyz-ink);
        font-size: 1.8rem;
        cursor: pointer;
    }

    body.fyzNav-open { overflow: hidden; }
    body.fyzNav-open .fyzOverlay { opacity: 1; visibility: visible; }
    body.fyzNav-open .fyzDrawer-narrow { transform: translateX(0); visibility: visible; }
}

@media (min-width: 901px) {
    .fyzBurger, .fyzOverlay, .fyzDrawer { display: none !important; }
}

@media (max-width: 800px) {
    .fyzHero-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "title" "device" "text" "actions";
    }
    .fyzDevice { justify-self: center; }
    .fyzDevice-frame { width: 200px; }
}

@media (max-width: 768px) {
    .fyzSection { padding-block: 40px; }
    .fyzGrid { grid-template-columns: repeat(2, 1fr); }
    .fyzApp-head { align-items: flex-start; }
}

@media (max-width: 520px) {
    .fyzContainer { padding-inline: 16px; }
    .fyzActions { flex-direction: column; align-items: stretch; }
    .fyzActions .fyzBtn { white-space: normal; }
    .fyzGrid { grid-template-columns: 1fr; }
    .fyzApp-head { flex-direction: column; }
    .fyzCookie:not([hidden]) {
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    :root { --fyz-header-h: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .fyzRipple, .fyzJig-line, .fyzStagger > * { animation: none; transition: none; }
}

@media (prefers-reduced-motion: no-preference) {
    .fyzStagger > * { animation: fyzSettle 0.4s ease both; }
    .fyzStagger > *:nth-child(2) { animation-delay: 0.05s; }
    .fyzStagger > *:nth-child(3) { animation-delay: 0.1s; }
}

@keyframes fyzSettle {
    from { transform: translateY(8px); }
    to { transform: none; }
}

@keyframes fyzRipple {
    from { transform: scale(1); opacity: 0.55; }
    to { transform: scale(18); opacity: 0; }
}
