:root {
    color-scheme: light;
    --background: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: rgba(255, 255, 255, 0.72);
    --text: #0f172a;
    --text-muted: #64748b;
    --border: #dce3ee;
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --primary-text: #111827;
    --navy: #172554;
    --blue: #2563eb;
    --danger: #dc2626;
    --success-background: #ecfdf5;
    --success-border: #a7f3d0;
    --success-text: #047857;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--background);
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(220, 227, 238, 0.85);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.header__content {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
}

.header__actions,
.preview-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.2);
    outline-offset: 3px;
}

.button--primary {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    box-shadow: 0 11px 26px rgba(245, 158, 11, 0.25);
}

.button--primary:hover {
    border-color: #d97706;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.3);
}

.button--secondary {
    border-color: #cbd5e1;
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.06);
}

.button--secondary:hover {
    border-color: #94a3b8;
    background: #fff;
    box-shadow: 0 11px 24px rgba(15, 23, 42, 0.1);
}

.button--wide {
    width: 100%;
}

.landing {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 8%, rgba(96, 165, 250, 0.18) 0, transparent 28rem),
        radial-gradient(circle at 92% 12%, rgba(251, 191, 36, 0.20) 0, transparent 26rem),
        radial-gradient(circle at 12% 68%, rgba(52, 211, 153, 0.11) 0, transparent 27rem),
        radial-gradient(circle at 88% 76%, rgba(167, 139, 250, 0.14) 0, transparent 30rem),
        linear-gradient(rgba(255, 255, 255, 0.52) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.52) 1px, transparent 1px),
        linear-gradient(180deg, #f9fbff 0%, #f4f7fc 48%, #eef3f9 100%);
    background-size:
        auto,
        auto,
        auto,
        auto,
        56px 56px,
        56px 56px,
        auto;
}

.landing::before,
.landing::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(37, 99, 235, 0.09);
    border-radius: 50%;
}

.landing::before {
    width: 520px;
    height: 520px;
    top: 120px;
    left: -310px;
    border-color: rgba(37, 99, 235, 0.10);
    box-shadow:
        0 0 0 70px rgba(96, 165, 250, 0.025),
        0 0 0 140px rgba(52, 211, 153, 0.018);
}

.landing::after {
    width: 680px;
    height: 680px;
    top: 640px;
    right: -430px;
    border-color: rgba(124, 58, 237, 0.09);
    box-shadow:
        0 0 0 80px rgba(167, 139, 250, 0.025),
        0 0 0 160px rgba(245, 158, 11, 0.018);
}

.hero {
    position: relative;
    z-index: 1;
    padding: 76px 0 74px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: 64px;
    align-items: stretch;
}

.hero__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.eyebrow,
.section-kicker {
    color: #9a5b02;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 12px 12px;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 999px;
    background: rgba(254, 243, 199, 0.82);
}

h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 5.2vw, 66px);
    line-height: 1.02;
    letter-spacing: -0.02em;
}

.hero__description {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--text-muted);
    font-size: 19px;
    line-height: 1.65;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 26px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.benefit::before {
    content: "✓";
    margin-right: 7px;
    color: #059669;
}

.card,
.device-card,
.ready-card {
    border: 1px solid rgba(220, 227, 238, 0.9);
    background: var(--surface-soft);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.form-card {
    height: 100%;
    padding: 30px;
    border-radius: 24px;
}

.form-card__title {
    margin: 0;
    font-size: 25px;
    line-height: 1.2;
}

.form-card__description {
    margin: 10px 0 24px;
    color: var(--text-muted);
}

.field {
    margin-bottom: 19px;
}

.field__label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.field__input {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    outline: none;
}

.field__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.17);
}

.field__input--file {
    min-height: 48px;
    padding: 7px 8px;
    cursor: pointer;
}

.field__input--file::file-selector-button {
    min-height: 34px;
    margin-right: 12px;
    padding: 11px 16px;
    border: 1px solid var(--primary);
    border-radius: 10px;
    background: var(--primary);
    color: var(--primary-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.field__input--file:hover::file-selector-button {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
    color: var(--primary-text);
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.1);
}

.field__input--file:focus::file-selector-button {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
    color: var(--primary-text);
}

.field__hint,
.privacy-note {
    margin: 7px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

.privacy-note {
    margin-top: 14px;
    text-align: center;
}

.field__error {
    margin: 7px 0 0;
    color: var(--danger);
    font-size: 13px;
    font-weight: 650;
}

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

.color-field__picker {
    width: 64px;
    min-height: 48px;
    padding: 4px;
    border: 1px solid #cbd5e1;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
}

.current-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

.current-icon img {
    display: block;
    width: 56px;
    height: 56px;
    max-width: 56px;
    max-height: 56px;
    flex: 0 0 56px;
    border-radius: 13px;
    object-fit: contain;
}

.result-block {
    margin-top: 34px;
}

.result-block__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.result-block__heading h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

.result-item {
    min-width: 0;
    min-height: 118px;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 22px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.24);
}

.result-item__icon {
    position: relative;
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    box-shadow:
        0 10px 24px rgba(245, 158, 11, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.result-item__icon::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -12px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.result-item__icon svg {
    position: relative;
    z-index: 1;
    width: 40px;
    height: 40px;
    stroke-width: 1.8;
}

.result-item:hover .result-item__icon {
    transform: translateY(-3px);
}

.result-item__icon--blue {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.result-item__icon--green {
    background: linear-gradient(135deg, #34d399 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.2);
}

.result-item__icon--violet {
    background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
}

.result-item h3 {
    margin: 1px 0 4px;
    font-size: 14px;
    line-height: 1.35;
}

.result-item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.formats-block {
    margin-top: 52px;
    padding: 32px 38px;
    border: 1px solid rgba(220, 227, 238, 0.92);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(16px);
}

.formats-block__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 26px;
}

.formats-block__heading h2 {
    margin: 5px 0 0;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.formats-block__heading > p {
    max-width: 440px;
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

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

.format-card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    min-width: 0;
    padding: 24px;
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.format-card__icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.24);
}

.format-card--aab .format-card__icon {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.format-card__icon svg {
    width: 34px;
    height: 34px;
    stroke-width: 1.8;
}

.format-card__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 7px;
}

.format-card__title h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.format-card__badge {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 999px;
    background: rgba(254, 243, 199, 0.72);
    color: #9a5b02;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.format-card--aab .format-card__badge {
    border-color: rgba(37, 99, 235, 0.2);
    background: rgba(219, 234, 254, 0.72);
    color: #1d4ed8;
}

.format-card__content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.formats-block__note {
    margin: 20px 0 0;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
    text-align: center;
}

.how-flow {
    margin-top: 66px;
    padding: 34px 38px 38px;
    border: 1px solid rgba(220, 227, 238, 0.92);
    border-radius: 28px;
    background:
        radial-gradient(circle at 8% 0%, rgba(245, 158, 11, 0.12), transparent 24rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.82));
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

.how-flow__heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}

.how-flow h2 {
    margin: 4px 0 0;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.how-card__badge,
.device-card__tag {
    padding: 6px 9px;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.how-card__badge {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(254, 243, 199, 0.72);
    color: #9a5b02;
}

.how-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 52px;
}

.how-step {
    position: relative;
    min-width: 0;
    min-height: 148px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 24px;
    border: 1px solid rgba(203, 213, 225, 0.72);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.how-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -39px;
    color: var(--primary);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    transform: translateY(-50%);
}

.how-step__number {
    width: 64px;
    height: 64px;
    margin-bottom: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: var(--primary-text);
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}

.how-step h3 {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.3;
}

.how-step p {
    margin: 0;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.seo-article-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    margin-top: 28px;
    padding: 24px 26px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 251, 235, 0.96) 0%,
            rgba(255, 255, 255, 0.96) 100%
        );
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.seo-article-link__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.24);
}

.seo-article-link__icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.8;
}

.seo-article-link__content {
    min-width: 0;
}

.seo-article-link__content h2 {
    margin: 5px 0 7px;
    color: var(--text);
    font-size: 21px;
    line-height: 1.25;
}

.seo-article-link__content p {
    max-width: 720px;
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.seo-article-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.seo-article-list__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    padding: 13px 15px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    color: #78350f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.seo-article-list__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.seo-article-list__item:hover {
    transform: translateY(-2px);
    border-color: #f59e0b;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.14);
}

.seo-article-list__item:hover svg {
    transform: translateX(3px);
}

.seo-article-list__item:focus-visible {
    outline: 3px solid rgba(245, 158, 11, 0.24);
    outline-offset: 3px;
}

.preview-section {
    position: relative;
    z-index: 1;
    padding: 26px 0 92px;
}

.success-message {
    margin-bottom: 28px;
    padding: 14px 17px;
    border: 1px solid var(--success-border);
    border-radius: 13px;
    background: var(--success-background);
    color: var(--success-text);
    font-weight: 700;
}

.preview-heading {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.preview-heading h2,
.ready-card h2 {
    margin: 6px 0 0;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.preview-heading p {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 17px;
}

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

.device-card:first-child {
    order: 2;
}

.device-card:nth-child(2) {
    order: 1;
}

.device-card {
    padding: 26px 28px 34px;
    border-radius: 26px;
}

.device-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.device-card__number {
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.device-card h3 {
    margin: 2px 0 0;
    font-size: 21px;
}

.phone {
    width: min(100%, 370px);
    margin: 0 auto;
    padding: 10px;
    border: 7px solid #111827;
    border-radius: 44px;
    background: #111827;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.25);
}

.phone__screen {
    position: relative;
    min-height: 630px;
    overflow: hidden;
    border-radius: 30px;
    background: var(--phone-background);
}

.phone__notch {
    position: absolute;
    z-index: 5;
    top: 11px;
    left: 50%;
    width: 92px;
    height: 25px;
    border-radius: 999px;
    background: #111827;
    transform: translateX(-50%);
}

.phone__content {
    min-height: 630px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px 28px;
}

.app-icon {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: transparent;
    color: #111827;
    font-weight: 900;
}

.app-icon--splash {
    width: 132px;
    height: 132px;
    flex: 0 0 132px;
    border-radius: 29px;
    font-size: 48px;
}

.app-icon img,
.android-app__icon--project img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: contain;
}

.phone__screen--home {
    background:
        radial-gradient(circle at 18% 18%, rgba(96, 165, 250, 0.76), transparent 32%),
        radial-gradient(circle at 82% 74%, rgba(168, 85, 247, 0.62), transparent 35%),
        linear-gradient(150deg, #172554 0%, #1e3a8a 48%, #312e81 100%);
}

.android-home {
    position: relative;
    min-height: 630px;
    padding: 72px 25px 26px;
    color: #fff;
}

.android-home__clock {
    font-size: 56px;
    font-weight: 280;
    line-height: 1;
    text-align: center;
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.35);
}

.android-home__date {
    margin-top: 8px;
    font-size: 14px;
    text-align: center;
    text-transform: capitalize;
}

.android-apps {
    position: absolute;
    right: 22px;
    bottom: 112px;
    left: 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.android-app {
    min-width: 0;
    text-align: center;
}

.android-app__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.25);
}

.android-app__icon--google {
    color: #4285f4;
    font-family: Arial, sans-serif;
    font-size: 30px;
    font-weight: 800;
}

.android-app__icon--mail {
    color: #2563eb;
    font-size: 27px;
}

.android-app__icon--chrome {
    position: relative;
    border-radius: 50%;
    background: conic-gradient(#ef4444 0 120deg, #eab308 120deg 240deg, #22c55e 240deg);
}

.android-app__icon--chrome::after {
    content: "";
    width: 21px;
    height: 21px;
    border: 4px solid #dbeafe;
    border-radius: 50%;
    background: #2563eb;
}

.android-app__icon--project {
    background: transparent;
    box-shadow: none;
    color: #111827;
    font-size: 25px;
    font-weight: 900;
}

.android-app span {
    display: block;
    margin-top: 7px;
    overflow: hidden;
    color: #fff;
    font-size: 11px;
    text-overflow: ellipsis;
    text-shadow: 0 2px 5px rgba(15, 23, 42, 0.75);
    white-space: nowrap;
}

.android-dock {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    display: flex;
    justify-content: space-between;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 23px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

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

.dock-icon--phone {
    background: #22c55e;
}

.dock-icon--message {
    background: #3b82f6;
}

.dock-icon--browser {
    background: #f59e0b;
}

.dock-icon--camera {
    background: #a855f7;
}

.ready-card {
    display: grid;
    grid-template-columns: minmax(270px, 1.05fr) minmax(360px, 1.25fr);
    gap: 34px 54px;
    align-items: center;
    margin-top: 28px;
    padding: 38px;
    border-radius: 26px;
}

.ready-card__content p {
    max-width: 590px;
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 16px;
}

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

.summary__item {
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(220, 227, 238, 0.92);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.summary__item span,
.summary__item strong {
    display: block;
}

.summary__item span {
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 12px;
}

.summary__item strong {
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-value {
    display: flex !important;
    align-items: center;
    gap: 7px;
}

.color-value i {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 50%;
    background: var(--selected-color);
}

.ready-card .preview-actions {
    grid-column: 1 / -1;
    padding-top: 5px;
}

.footer {
    padding: 28px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 14px;
}

.footer__content,
.legal-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__top,
.legal-footer__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer .footer__links,
.footer .legal-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.footer .footer__links a,
.footer .legal-footer-links a {
    color: var(--text-muted);
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .footer__links a:hover,
.footer .legal-footer-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

.footer .footer__links a:focus-visible,
.footer .legal-footer-links a:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .hero__grid,
    .ready-card {
        grid-template-columns: 1fr;
    }

    .hero__content,
    .form-card {
        height: auto;
    }

    .ready-card .preview-actions {
        grid-column: auto;
    }
}

@media (max-width: 780px) {

    .formats-block__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .formats-grid {
        grid-template-columns: 1fr;
    }

    .phones-grid {
        grid-template-columns: 1fr;
    }

    .device-card {
        padding-inline: 20px;
    }

    .phone {
        width: min(100%, 390px);
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, 1240px);
    }

    .header__content {
        min-height: 64px;
    }

    .logo img {
        width: 210px;
    }

    .header__actions .button--secondary {
        display: none;
    }

    .hero {
        padding: 44px 0 54px;
    }

    h1 {
        font-size: 40px;
    }

    .hero__description {
        font-size: 17px;
    }

    .form-card,
    .ready-card {
        padding: 21px;
    }

    .result-block {
    margin-top: 30px;
    }

    .result-block__heading {
        display: flex;
    }

    .result-block__heading h2 {
        margin-top: 0;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }


    .formats-block {
        margin-top: 36px;
        padding: 25px 21px;
        border-radius: 22px;
    }

    .formats-block__heading h2 {
        font-size: 27px;
    }

    .format-card {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 16px;
        padding: 19px;
    }

    .format-card__icon {
        width: 56px;
        height: 56px;
        border-radius: 15px;
    }

    .format-card__icon svg {
        width: 28px;
        height: 28px;
    }

    .how-flow {
        margin-top: 36px;
        padding: 25px 21px;
        border-radius: 22px;
    }

    .how-flow__heading {
        margin-bottom: 22px;
    }

    .how-flow h2 {
        font-size: 27px;
    }

    .how-list {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .how-step {
        min-height: 0;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 15px;
        padding: 19px;
    }

    .how-step__number {
        width: 54px;
        height: 54px;
        margin-bottom: 0;
        border-radius: 15px;
        font-size: 19px;
    }

    .how-step:not(:last-child)::after {
        content: "↓";
        top: auto;
        right: 50%;
        bottom: -34px;
        transform: translateX(50%);
    }

    .device-card__tag {
        display: none;
    }

    .phone {
        width: min(100%, 340px);
    }

    .phone__screen,
    .phone__content,
    .android-home {
        min-height: 570px;
    }

    .summary {
        grid-template-columns: 1fr;
    }

    .preview-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .preview-actions .button {
        width: 100%;
    }
    
    .seo-article-link {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 16px;
        padding: 21px;
    }

    .seo-article-list {
        grid-template-columns: 1fr;
    }

    .seo-article-list__item {
        min-height: 54px;
    }

    .footer__top,
    .legal-footer__main {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .footer__links,
    .legal-footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

/* Legal pages */

.legal-main {
    min-height: calc(100vh - 145px);
    padding: 52px 0 72px;
    background:
        radial-gradient(
            circle at 8% 5%,
            rgba(96, 165, 250, 0.14) 0,
            transparent 28rem
        ),
        radial-gradient(
            circle at 92% 10%,
            rgba(251, 191, 36, 0.15) 0,
            transparent 25rem
        ),
        linear-gradient(
            180deg,
            #f9fbff 0%,
            #f3f6fb 100%
        );
}

.legal-page {
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
}

.legal-heading {
    margin-bottom: 28px;
}

.legal-heading__back {
    display: inline-flex;
    margin-bottom: 18px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.legal-heading__back:hover {
    text-decoration: underline;
}

.legal-heading h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.legal-heading__meta {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 14px;
}

.legal-document {
    padding: clamp(24px, 5vw, 52px);
    border: 1px solid #dce3ee;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.legal-document h2 {
    margin: 38px 0 14px;
    color: #172554;
    font-size: 23px;
    line-height: 1.3;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document h3 {
    margin: 26px 0 10px;
    color: #1e293b;
    font-size: 18px;
    line-height: 1.4;
}

.legal-document p {
    margin: 0 0 14px;
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}

.legal-document ul,
.legal-document ol {
    margin: 0 0 18px;
    padding-left: 24px;
    color: #334155;
}

.legal-document li {
    margin-bottom: 9px;
    padding-left: 4px;
    line-height: 1.7;
}

.legal-document a {
    color: #2563eb;
    text-underline-offset: 3px;
}

.legal-note {
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid #bfdbfe;
    border-radius: 15px;
    background: #eff6ff;
}

.legal-note p {
    margin: 0;
    color: #1e3a8a;
}

.legal-details {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

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

.legal-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.legal-navigation a {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.legal-navigation a:hover {
    color: #2563eb;
    text-decoration: underline;
}

@media (max-width: 620px) {
    .legal-main {
        padding: 34px 0 48px;
    }

    .legal-page {
        width: min(100% - 24px, 920px);
    }

    .legal-document {
        padding: 22px 19px;
        border-radius: 18px;
    }

    .legal-document h2 {
        margin-top: 30px;
        font-size: 21px;
    }

    .legal-document p,
    .legal-document li {
        font-size: 15px;
    }

}
