:root {
    --ygmr-primary: #005a87;
    --ygmr-primary-dark: #014a6f;
    --ygmr-text: #0f172a;
    --ygmr-text-soft: #475569;
    --ygmr-border: #e5e7eb;
    --ygmr-bg: #ffffff;
    --ygmr-bg-soft: #f8fafc;
    --ygmr-radius: 18px;
    --ygmr-radius-sm: 12px;
    --ygmr-container: 1200px;
}

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

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ygmr-text);
    background: var(--ygmr-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

.ygmr-container {
    width: min(100% - 32px, var(--ygmr-container));
    margin: 0 auto;
}

.ygmr-container-narrow {
    width: min(100% - 32px, 860px);
}

.ygmr-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--ygmr-border);
    backdrop-filter: blur(10px);
}

.ygmr-header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ygmr-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ygmr-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--ygmr-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--ygmr-primary);
    background: #fff;
}

.ygmr-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.ygmr-brand-text strong {
    font-size: 16px;
    font-weight: 800;
}

.ygmr-brand-text small {
    font-size: 12px;
    color: var(--ygmr-text-soft);
    font-weight: 500;
    margin-top: 4px;
}

.ygmr-main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ygmr-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.ygmr-nav-list li a {
    color: var(--ygmr-text-soft);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.ygmr-nav-list li a:hover {
    color: var(--ygmr-primary);
}

.ygmr-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ygmr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid var(--ygmr-border);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s ease;
    cursor: pointer;
}

.ygmr-btn-primary {
    background: var(--ygmr-primary);
    color: #fff;
    border-color: var(--ygmr-primary);
}

.ygmr-btn-primary:hover {
    background: var(--ygmr-primary-dark);
    border-color: var(--ygmr-primary-dark);
}

.ygmr-btn-secondary {
    background: #fff;
    color: var(--ygmr-text);
}

.ygmr-btn-secondary:hover {
    border-color: var(--ygmr-primary);
    color: var(--ygmr-primary);
}

.ygmr-mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--ygmr-border);
    border-radius: 14px;
    background: #fff;
    padding: 0;
    cursor: pointer;
}

.ygmr-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ygmr-text);
    margin: 5px auto;
}

.ygmr-site-main {
    min-height: calc(100vh - 160px);
}

.ygmr-hero {
    padding: 88px 0 64px;
    background: #fff;
}

.ygmr-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
    align-items: center;
}

.ygmr-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--ygmr-border);
    border-radius: 999px;
    color: var(--ygmr-primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.ygmr-hero-content h1 {
    margin: 0 0 18px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.ygmr-hero-content p {
    margin: 0;
    max-width: 650px;
    font-size: 18px;
    color: var(--ygmr-text-soft);
}

.ygmr-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.ygmr-hero-metrics {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.ygmr-hero-metrics div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ygmr-hero-metrics strong {
    font-size: 24px;
    font-weight: 800;
}

.ygmr-hero-metrics span {
    color: var(--ygmr-text-soft);
    font-size: 14px;
    font-weight: 500;
}

.ygmr-hero-card {
    border: 1px solid var(--ygmr-border);
    border-radius: 28px;
    padding: 20px;
    background: #fff;
}

.ygmr-chat-preview {
    border: 1px solid var(--ygmr-border);
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.ygmr-chat-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--ygmr-border);
}

.ygmr-chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #d1d5db;
}

.ygmr-chat-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ygmr-message {
    max-width: 88%;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.55;
    border: 1px solid var(--ygmr-border);
}

.ygmr-message-user {
    margin-left: auto;
    background: #f8fafc;
}

.ygmr-message-ai {
    margin-right: auto;
    background: #fff;
}

.ygmr-section {
    padding: 72px 0;
}

.ygmr-section-alt {
    background: var(--ygmr-bg-soft);
    border-top: 1px solid var(--ygmr-border);
    border-bottom: 1px solid var(--ygmr-border);
}

.ygmr-section-heading {
    max-width: 720px;
    margin-bottom: 36px;
}

.ygmr-section-heading span,
.ygmr-step-intro span,
.ygmr-cta-box span {
    display: inline-block;
    color: var(--ygmr-primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ygmr-section-heading h2,
.ygmr-step-intro h2,
.ygmr-cta-box h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ygmr-section-heading p,
.ygmr-cta-box p {
    margin: 0;
    color: var(--ygmr-text-soft);
    font-size: 17px;
}

.ygmr-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ygmr-feature-card,
.ygmr-step-card,
.ygmr-page-card,
.ygmr-post-card,
.ygmr-widget {
    background: #fff;
    border: 1px solid var(--ygmr-border);
    border-radius: 22px;
    padding: 24px;
}

.ygmr-feature-card h3,
.ygmr-step-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.ygmr-feature-card p,
.ygmr-step-card p {
    margin: 0;
    color: var(--ygmr-text-soft);
    font-size: 15px;
}

.ygmr-steps {
    display: grid;
    gap: 28px;
}

.ygmr-step-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ygmr-step-card strong {
    display: inline-block;
    font-size: 14px;
    font-weight: 800;
    color: var(--ygmr-primary);
    margin-bottom: 16px;
}

.ygmr-cta-box {
    border: 1px solid var(--ygmr-border);
    border-radius: 28px;
    padding: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ygmr-cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ygmr-page-section {
    padding: 56px 0 80px;
}

.ygmr-page-title,
.ygmr-entry-title {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    font-weight: 800;
}

.ygmr-entry-title a:hover {
    color: var(--ygmr-primary);
}

.ygmr-page-content,
.ygmr-entry-content {
    color: var(--ygmr-text-soft);
    font-size: 16px;
}

.ygmr-page-content > *:first-child,
.ygmr-entry-content > *:first-child {
    margin-top: 0;
}

.ygmr-page-content > *:last-child,
.ygmr-entry-content > *:last-child {
    margin-bottom: 0;
}

.ygmr-site-footer {
    border-top: 1px solid var(--ygmr-border);
    background: #fff;
    padding: 56px 0 28px;
}

.ygmr-footer-top {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--ygmr-border);
}

.ygmr-footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ygmr-footer-logo h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
}

.ygmr-footer-logo p {
    margin: 0;
    max-width: 340px;
    color: var(--ygmr-text-soft);
    font-size: 15px;
}

.ygmr-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ygmr-footer-links h4 {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 800;
}

.ygmr-footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ygmr-footer-links li + li {
    margin-top: 10px;
}

.ygmr-footer-links a {
    color: var(--ygmr-text-soft);
    font-size: 14px;
    font-weight: 500;
}

.ygmr-footer-links a:hover {
    color: var(--ygmr-primary);
}

.ygmr-footer-bottom {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ygmr-footer-bottom p {
    margin: 0;
    color: var(--ygmr-text-soft);
    font-size: 13px;
}

@media (max-width: 1100px) {
    .ygmr-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ygmr-step-list {
        grid-template-columns: 1fr;
    }

    .ygmr-hero-grid,
    .ygmr-footer-top,
    .ygmr-cta-box {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .ygmr-main-nav,
    .ygmr-header-actions {
        display: none;
    }

    .ygmr-mobile-toggle {
        display: inline-block;
    }

    .ygmr-hero {
        padding: 64px 0 48px;
    }

    .ygmr-hero-grid,
    .ygmr-feature-grid,
    .ygmr-footer-links {
        grid-template-columns: 1fr;
    }

    .ygmr-hero-content p {
        font-size: 16px;
    }

    .ygmr-section,
    .ygmr-page-section {
        padding: 52px 0;
    }

    .ygmr-cta-box {
        padding: 24px;
    }

    .ygmr-footer-top {
        padding-bottom: 20px;
    }
}