* {
    box-sizing: border-box;
}

html {
    direction: rtl;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Tahoma, Arial, sans-serif;
    background: #f3f5f9;
    color: #1e293b;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-inner {
    width: 100%;
    max-width: 1180px;
    min-height: 72px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #172554;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 20px;
}

.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-navigation a {
    padding: 10px 12px;
    border-radius: 9px;
    color: #475569;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
}

.main-navigation a:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

.main-navigation a.active {
    background: #dbeafe;
    color: #1d4ed8;
    font-weight: bold;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-phone {
    color: #64748b;
    font-size: 13px;
    direction: ltr;
}

.logout-button {
    margin: 0;
    width: auto;
    height: auto;
    padding: 9px 14px;
    border: 0;
    border-radius: 8px;
    background: #fee2e2;
    color: #b91c1c;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.page-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px 20px 60px;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.card,
.page-card {
    padding: 28px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

h1 {
    margin: 0 0 10px;
    color: #172554;
    font-size: 25px;
}

h2 {
    color: #1e3a8a;
}

.description {
    margin: 0 0 25px;
    color: #64748b;
    line-height: 1.9;
}

.fields,
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field.full,
.field.full-width,
.form-field.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    border: 1px solid #d7dce5;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input {
    direction: ltr;
    text-align: left;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

input[readonly],
select:disabled {
    background: #f1f5f9;
    color: #64748b;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    padding-left: 65px;
}

.unit {
    position: absolute;
    top: 50%;
    left: 13px;
    color: #64748b;
    font-size: 12px;
    transform: translateY(-50%);
}

.hint {
    margin-top: 7px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.error,
.error-message {
    margin-top: 7px;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.7;
}

.alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.8;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

button,
.primary-button {
    width: 100%;
    min-height: 50px;
    margin-top: 24px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: #1d4ed8;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover,
.primary-button:hover {
    background: #1e40af;
}

.result,
.result-card {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: #f0fdf4;
}

.result h2,
.result-card h2 {
    margin-top: 0;
    color: #166534;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.result-item {
    padding: 14px;
    border-radius: 10px;
    background: #ffffff;
    color: #475569;
}

.result-item span,
.result-item strong {
    display: block;
    margin-top: 7px;
    color: #14532d;
    font-weight: bold;
}

.result-item strong {
    font-size: 18px;
}

.maximum-power {
    grid-column: 1 / -1;
    border: 2px solid #86efac;
}

.maximum-power strong {
    font-size: 28px;
}

.result-title {
    margin-bottom: 8px;
    color: #166534;
    font-size: 15px;
}

.result-value {
    color: #14532d;
    font-size: 30px;
    font-weight: bold;
}

.result-details {
    margin-top: 12px;
    color: #3f6212;
    font-size: 13px;
    line-height: 1.9;
}

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 11px;
    border: 1px solid #dce3ea;
    text-align: center;
}

th {
    background: #e8f5ec;
}

.warning {
    margin-top: 18px;
    padding: 12px;
    border-radius: 9px;
    background: #fef3c7;
    color: #92400e;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tool-card {
    display: block;
    min-height: 205px;
    padding: 24px;
    border: 1px solid transparent;
    border-radius: 17px;
    background: #ffffff;
    color: #1e293b;
    text-decoration: none;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.10);
}

.tool-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 20px;
    font-weight: bold;
}

.tool-card h2 {
    margin: 0 0 9px;
    color: #172554;
    font-size: 18px;
}

.tool-card p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
}

.tool-action {
    display: inline-block;
    margin-top: 16px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: bold;
}

@media (max-width: 950px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .page-container {
        padding: 20px 14px 45px;
    }

    .card,
    .page-card {
        padding: 22px 17px;
    }

    .fields,
    .form-grid,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .field.full,
    .field.full-width,
    .form-field.full-width,
    .maximum-power {
        grid-column: auto;
    }

    .brand span:last-child {
        display: none;
    }

    .user-phone {
        display: none;
    }
}
.about-page {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-hero {
    min-height: 330px;
    padding: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
    align-items: center;
    gap: 40px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(23, 37, 84, 0.98), rgba(29, 78, 216, 0.92));
    color: #ffffff;
    overflow: hidden;
    position: relative;
}

.about-hero::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    top: -180px;
    left: -100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #bfdbfe;
    font-size: 13px;
    font-weight: bold;
}

.about-hero h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(29px, 4vw, 46px);
    line-height: 1.4;
}

.about-hero p {
    max-width: 680px;
    margin: 0;
    color: #dbeafe;
    font-size: 15px;
    line-height: 2;
}

.about-meta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.about-meta > div {
    min-width: 135px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.about-meta span,
.version-card span {
    display: block;
    margin-bottom: 6px;
    color: #bfdbfe;
    font-size: 11px;
}

.about-meta strong {
    font-size: 14px;
}

.about-symbol {
    min-height: 220px;
    display: grid;
    grid-template-columns: repeat(2, 90px);
    grid-template-rows: repeat(2, 90px);
    align-content: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.about-symbol span {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
    font-size: 33px;
    font-weight: bold;
    backdrop-filter: blur(8px);
}

.about-symbol span:first-child {
    grid-row: 1 / 3;
    height: 192px;
}

.about-section {
    padding: 32px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.05);
}

.about-section-heading {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.section-number {
    min-width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: bold;
}

.about-section-heading h2 {
    margin: 0 0 7px;
    color: #172554;
}

.about-section-heading p {
    margin: 0;
    color: #64748b;
    line-height: 1.8;
}

.about-text {
    color: #475569;
    line-height: 2;
}

.about-text p {
    margin: 0 0 12px;
}

.about-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.about-tool {
    padding: 21px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
}

.about-tool-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 20px;
    font-weight: bold;
}

.about-tool h3 {
    margin: 0 0 9px;
    color: #172554;
}

.about-tool p {
    margin: 0;
    min-height: 78px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.9;
}

.about-tool a {
    display: inline-block;
    margin-top: 14px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-item {
    padding: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.feature-check {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #dcfce7;
    color: #15803d;
    font-weight: bold;
}

.feature-item strong {
    color: #172554;
}

.feature-item p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.8;
}

.developer-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    align-items: center;
    gap: 30px;
}

.developer-information h2 {
    margin: 0 0 12px;
    color: #172554;
}

.developer-information p {
    max-width: 700px;
    color: #64748b;
    line-height: 2;
}

.developer-link {
    margin-top: 8px;
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    color: #1d4ed8;
    font-weight: bold;
    text-decoration: none;
}

.developer-link span {
    color: #64748b;
    font-size: 12px;
    direction: ltr;
}

.version-card {
    padding: 22px;
    border-radius: 17px;
    background: #172554;
    color: #ffffff;
}

.version-card > div + div {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.version-card strong {
    display: block;
}

.about-notice {
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid #fde68a;
    border-radius: 16px;
    background: #fffbeb;
    color: #92400e;
}

.about-notice strong {
    white-space: nowrap;
}

.about-notice p {
    margin: 0;
    font-size: 13px;
    line-height: 1.9;
}

@media (max-width: 850px) {
    .about-hero {
        grid-template-columns: 1fr;
    }

    .about-symbol {
        display: none;
    }

    .about-tools {
        grid-template-columns: 1fr;
    }

    .about-tool p {
        min-height: 0;
    }

    .developer-section {
        grid-template-columns: 1fr;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .about-hero,
    .about-section {
        padding: 23px 18px;
        border-radius: 17px;
    }

    .about-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-section-heading {
        flex-direction: column;
    }

    .about-notice {
        flex-direction: column;
    }
}
:root {
    --am-yellow: #ffc500;
    --am-yellow-dark: #e0ad00;
    --am-yellow-light: #fff7d1;
    --am-black: #121212;
    --am-dark: #242424;
    --am-gray: #666666;
    --am-light-gray: #f4f4f4;
    --am-white: #ffffff;
    --am-border: #e8e8e8;
}

body {
    background: #f5f5f3;
    color: var(--am-black);
}

.site-header {
    border-bottom: 3px solid var(--am-yellow);
    background: var(--am-white);
}

.brand {
    color: var(--am-black);
}

.brand-icon {
    background: var(--am-yellow);
    color: var(--am-black);
}

.main-navigation a {
    color: #4b4b4b;
}

.main-navigation a:hover {
    background: var(--am-yellow-light);
    color: var(--am-black);
}

.main-navigation a.active {
    background: var(--am-yellow);
    color: var(--am-black);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--am-yellow-dark);
    box-shadow: 0 0 0 3px rgba(255, 197, 0, 0.18);
}

button,
.primary-button {
    background: var(--am-yellow);
    color: var(--am-black);
}

button:hover,
.primary-button:hover {
    background: var(--am-yellow-dark);
}

.tool-icon {
    background: var(--am-yellow-light);
    color: var(--am-black);
}

.tool-action {
    color: #9a7700;
}

.tool-card:hover {
    border-color: var(--am-yellow);
}

.result,
.result-card {
    border-color: #e5c44f;
    background: #fffbea;
}

.result h2,
.result-card h2,
.result-title,
.result-value,
.result-details,
.result-item span,
.result-item strong {
    color: var(--am-black);
}
.about-am-page {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.about-am-hero {
    min-height: 475px;
    padding: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    align-items: center;
    gap: 50px;
    border-radius: 28px;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255, 255, 255, .35),
            transparent 28%
        ),
        var(--am-yellow);
    color: var(--am-black);
    overflow: hidden;
    position: relative;
}

.about-am-hero::after {
    content: "";
    width: 300px;
    height: 300px;
    position: absolute;
    bottom: -180px;
    right: 35%;
    border: 2px solid rgba(18, 18, 18, .08);
    border-radius: 50%;
}

.about-am-hero-content,
.about-am-hero-image {
    position: relative;
    z-index: 2;
}

.about-am-label,
.about-am-section-label {
    display: inline-block;
    margin-bottom: 13px;
    color: #725a00;
    font-size: 13px;
    font-weight: bold;
}

.about-am-hero h1 {
    max-width: 680px;
    margin: 0 0 17px;
    color: var(--am-black);
    font-size: clamp(32px, 5vw, 55px);
    line-height: 1.35;
}

.about-am-hero-content > p {
    max-width: 680px;
    margin: 0;
    color: #332900;
    font-size: 15px;
    line-height: 2;
}

.about-am-actions {
    margin-top: 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.about-am-primary-button,
.about-am-secondary-button {
    min-height: 48px;
    padding: 12px 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.about-am-primary-button {
    background: var(--am-black);
    color: var(--am-white);
}

.about-am-primary-button:hover {
    background: #303030;
}

.about-am-secondary-button {
    border: 1px solid rgba(18, 18, 18, .25);
    color: var(--am-black);
}

.about-am-meta {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-am-meta > div {
    min-width: 145px;
    padding: 13px 15px;
    border: 1px solid rgba(18, 18, 18, .15);
    border-radius: 12px;
    background: rgba(255, 255, 255, .30);
}

.about-am-meta span {
    display: block;
    margin-bottom: 6px;
    color: #665200;
    font-size: 11px;
}

.about-am-meta strong {
    font-size: 13px;
}

.about-am-image-frame {
    width: min(100%, 390px);
    padding: 12px;
    margin: 0 auto;
    border: 2px solid rgba(18, 18, 18, .14);
    border-radius: 30px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 25px 55px rgba(70, 50, 0, .18);
    transform: rotate(-2deg);
}

.about-am-image-frame img {
    width: 100%;
    display: block;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.about-am-image-badge {
    width: max-content;
    margin: -10px auto 0;
    padding: 9px 14px;
    display: block;
    position: relative;
    border-radius: 30px;
    background: var(--am-black);
    color: var(--am-white);
    font-size: 12px;
    font-weight: bold;
}

.about-am-introduction,
.about-am-security,
.about-am-owner,
.about-am-legacy {
    padding: 35px;
    border-radius: 22px;
    background: var(--am-white);
    box-shadow: 0 12px 40px rgba(18, 18, 18, .05);
}

.about-am-introduction {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr);
    gap: 45px;
}

.about-am-title-block span {
    color: #9a7700;
    font-size: 12px;
    font-weight: bold;
}

.about-am-title-block h2 {
    margin: 10px 0 0;
    color: var(--am-black);
    font-size: 27px;
    line-height: 1.7;
}

.about-am-introduction-text {
    color: var(--am-gray);
    line-height: 2.1;
}

.about-am-introduction-text p {
    margin: 0 0 13px;
}

.about-am-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.about-am-tool-card {
    min-height: 225px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 17px;
    position: relative;
    border: 1px solid var(--am-border);
    border-radius: 18px;
    background: var(--am-white);
    color: var(--am-black);
    text-decoration: none;
    box-shadow: 0 10px 35px rgba(18, 18, 18, .04);
    transition: .2s;
}

.about-am-tool-card:hover {
    border-color: var(--am-yellow);
    box-shadow: 0 18px 45px rgba(18, 18, 18, .09);
    transform: translateY(-4px);
}

.about-am-tool-number {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--am-yellow);
    font-size: 13px;
    font-weight: bold;
}

.about-am-tool-card h3 {
    margin: 3px 0 10px;
    font-size: 18px;
}

.about-am-tool-card p {
    margin: 0;
    color: var(--am-gray);
    font-size: 13px;
    line-height: 1.9;
}

.about-am-arrow {
    position: absolute;
    left: 22px;
    bottom: 20px;
    color: #8c6c00;
    font-size: 23px;
}

.about-am-security {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 24px;
    border-right: 7px solid var(--am-yellow);
}

.about-am-security-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--am-yellow);
    font-size: 30px;
    font-weight: bold;
}

.about-am-security h2,
.about-am-owner h2,
.about-am-legacy h2 {
    margin: 0 0 12px;
    color: var(--am-black);
}

.about-am-security p,
.about-am-owner p,
.about-am-legacy p {
    margin: 0;
    color: var(--am-gray);
    line-height: 2.1;
}

.about-am-permissions,
.about-am-legacy-features {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.about-am-permissions span,
.about-am-legacy-features span {
    padding: 8px 11px;
    border-radius: 30px;
    background: var(--am-yellow-light);
    color: #665200;
    font-size: 11px;
    font-weight: bold;
}

.about-am-notices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.about-am-notice {
    padding: 25px;
    border-radius: 18px;
}

.about-am-notice-warning {
    border: 1px solid #ffcaca;
    background: #fff1f1;
}

.about-am-notice-info {
    border: 1px solid #ffe082;
    background: #fff9e5;
}

.about-am-notice-title {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-am-notice-title span {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--am-black);
    color: var(--am-white);
    font-weight: bold;
}

.about-am-notice h3 {
    margin: 0;
}

.about-am-notice p {
    margin: 0;
    color: #5e5e5e;
    font-size: 13px;
    line-height: 2;
}

.about-am-owner {
    display: grid;
    grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 42px;
}

.about-am-owner-logo {
    padding: 22px;
    border: 1px solid var(--am-border);
    border-radius: 18px;
    background: #ffffff;
}

.about-am-owner-logo img {
    width: 100%;
    max-height: 170px;
    display: block;
    object-fit: contain;
}

.about-am-owner-position {
    margin-top: 17px;
    padding: 13px 15px;
    border-right: 4px solid var(--am-yellow);
    background: var(--am-light-gray);
    color: #444444;
    font-size: 13px;
    line-height: 1.9;
}

.about-am-legacy {
    display: grid;
    grid-template-columns: minmax(230px, .6fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 45px;
}

.about-am-legacy-image {
    max-height: 360px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--am-yellow);
}

.about-am-legacy-image img {
    width: 100%;
    height: 360px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.about-am-footer-notice {
    padding: 22px 25px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-radius: 16px;
    background: var(--am-black);
    color: var(--am-white);
}

.about-am-footer-notice strong {
    color: var(--am-yellow);
    white-space: nowrap;
}

.about-am-footer-notice p {
    margin: 0;
    color: #dedede;
    font-size: 13px;
    line-height: 1.9;
}

@media (max-width: 900px) {
    .about-am-hero,
    .about-am-introduction,
    .about-am-owner,
    .about-am-legacy {
        grid-template-columns: 1fr;
    }

    .about-am-hero-image {
        max-width: 430px;
        margin: 0 auto;
    }

    .about-am-tools {
        grid-template-columns: 1fr;
    }

    .about-am-tool-card {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    .about-am-hero,
    .about-am-introduction,
    .about-am-security,
    .about-am-owner,
    .about-am-legacy {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .about-am-hero {
        min-height: auto;
    }

    .about-am-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .about-am-notices {
        grid-template-columns: 1fr;
    }

    .about-am-security {
        grid-template-columns: 1fr;
    }

    .about-am-footer-notice {
        flex-direction: column;
    }

    .about-am-legacy-image img {
        height: 280px;
    }
}
.brand-icon.brand-logo {
    width: 58px;
    padding: 5px;
    background: #ffffff;
    border: 2px solid var(--am-yellow);
    overflow: hidden;
}

.brand-icon.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.auth-forgot-link {
    margin-top: 13px;
    text-align: left;
}

.auth-forgot-link a {
    color: #8a6a00;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.auth-forgot-link a:hover {
    color: #111111;
}
.auth-card {
    max-width: 590px;
    margin: 0 auto;
}

.auth-heading {
    margin-bottom: 25px;
}

.auth-heading h1 {
    margin-bottom: 8px;
}

.remember-field {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.remember-field input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 0;
    accent-color: #ffc500;
}

.auth-footer-link {
    margin-top: 22px;
    text-align: center;
}

.auth-footer-link a {
    color: #7b6000;
    font-size: 12px;
    text-decoration: none;
}

.otp-input {
    direction: ltr;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 9px;
    font-variant-numeric: tabular-nums;
}

.otp-timer {
    margin-top: 20px;
    text-align: center;
    color: #777777;
    font-size: 12px;
}

.otp-timer strong {
    margin-right: 5px;
    color: #111111;
    font-size: 15px;
}

.otp-resend-form {
    text-align: center;
}

.otp-resend-button {
    width: auto;
    min-height: 40px;
    margin-top: 12px;
    padding: 0 17px;
    border: 1px solid #d8d8d8;
    background: #ffffff;
    box-shadow: none;
    font-size: 12px;
}

.otp-resend-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}