@font-face {
    font-family: Inter;
    src: url('/fonts/inter/inter-vietnamese-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
    font-family: Inter;
    src: url('/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
    font-family: Lora;
    src: url('/fonts/lora/lora-vietnamese-wght-normal.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
    font-family: Lora;
    src: url('/fonts/lora/lora-latin-wght-normal.woff2') format('woff2');
    font-weight: 400 700;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
    font-family: Lora;
    src: url('/fonts/lora/lora-vietnamese-wght-italic.woff2') format('woff2');
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

@font-face {
    font-family: Lora;
    src: url('/fonts/lora/lora-latin-wght-italic.woff2') format('woff2');
    font-weight: 400 700;
    font-style: italic;
    font-display: swap;
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
    --forest: #153e27;
    --forest-deep: #112e20;
    --green: #275639;
    --lime: #d6e997;
    --paper: #f8f8f1;
    --white: #fff;
    --ink: #182b20;
    --muted: #4e5e51;
    --line: #dce2d4;
    --heading: Lora, Georgia, serif;
    --body: Inter, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--paper);
    color: var(--ink);
    font: 1rem/1.6 var(--body);
}

main { flex: 1; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.2; font-weight: 600; }
a { color: inherit; }
svg { display: block; flex: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #487e39; outline-offset: 4px; }

.container { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link:focus {
    position: fixed;
    z-index: 10;
    inset: 0.5rem auto auto 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--white);
    background: var(--forest);
}

.utility { background: var(--forest); color: #f0f5e7; }
.utility-inner { display: flex; justify-content: space-between; gap: 0.5rem 1rem; min-height: 2.35rem; }
.utility-inner > * { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; text-decoration: none; }
.utility-inner a:hover { text-decoration: underline; }
.utility svg { color: var(--lime); width: 0.95rem; height: 0.95rem; }
.navbar { background: var(--white); position: relative; z-index: 2; }
.navbar-inner { min-height: 5.2rem; display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 0.65rem; text-decoration: none; white-space: nowrap; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.8rem;
    background: var(--forest);
    color: var(--lime);
}
.brand-mark svg { width: 1.65rem; height: 1.65rem; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.brand-wordmark { color: var(--forest-deep); font-size: 1.42rem; letter-spacing: -0.055em; line-height: 1.05; font-weight: 790; }
.brand-wordmark small { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.67rem; letter-spacing: 0.005em; font-weight: 550; }

.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.2vw, 2.6rem); }
.site-nav a { position: relative; white-space: nowrap; text-decoration: none; font-weight: 650; font-size: 0.94rem; padding-block: 0.7rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: #2c653e; }
.site-nav a[aria-current]::after { position: absolute; height: 2px; background: #699351; bottom: 0.25rem; inset-inline: 0; content: ''; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 0.75rem; }
.icon-button { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--forest); border: 1px solid var(--line); background: var(--white); }
.icon-button:hover, .nav-search[open] .icon-button { background: #edf3e7; }
.icon-button svg { width: 1.25rem; height: 1.25rem; }
.icon-button::-webkit-details-marker { display: none; }
.nav-search { position: relative; }
.nav-search-form {
    position: absolute;
    inset: calc(100% + 0.9rem) 0 auto auto;
    width: min(24rem, calc(100vw - 3rem));
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    box-shadow: 0 0.75rem 2rem #153e2726;
    background: var(--white);
}
.nav-search-form label { display: block; font-weight: 650; font-size: 0.875rem; margin-bottom: 0.45rem; }
.nav-toggle { display: none; }

.button {
    min-height: 2.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.63rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 0.55rem;
    background: var(--forest);
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}
.button:hover { background: #27613d; }
.button-lime { background: var(--lime); color: var(--forest-deep); }
.button-lime:hover { background: #e6f4b5; }
.button-outline { border-color: #f9fff0a6; color: var(--white); background: #153e2738; }
.button-outline:hover { border-color: var(--white); background: #f9fff02b; }

.hero { isolation: isolate; position: relative; background: #264932; color: var(--white); overflow: hidden; }
.hero-image, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 52%; }
.hero::after { content: ''; z-index: -1; background: linear-gradient(90deg, #10281cee 0%, #10281cdb 27%, #10281c8a 53%, #10281c0d 100%); }
.hero-inner { min-height: clamp(28.5rem, 37vw, 37rem); display: flex; align-items: center; padding-block: 4rem; }
.hero-copy { max-width: 43rem; }
.eyebrow { display: flex; align-items: center; gap: 0.65rem; color: #375f39; font-size: 0.875rem; font-weight: 750; line-height: 1.45; letter-spacing: 0.12em; }
.eyebrow span { width: 1.75rem; height: 1px; background: currentColor; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { margin-top: 1rem; font-size: clamp(3.15rem, 5.5vw, 5.35rem); letter-spacing: -0.05em; line-height: 1.1; }
.hero h1 em { color: #e1edaf; font-weight: 500; }
.hero-description { margin-top: 1.25rem; max-width: 30rem; color: #f1f5e9; font-size: clamp(1rem, 1.38vw, 1.15rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero-actions .button { min-height: 3.25rem; padding-inline: 1.4rem; }
.hero :focus-visible, .support-feature :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.home-section { padding-block: 3.6rem 4.6rem; scroll-margin-top: 1rem; }
.section-heading { margin-bottom: 1.7rem; }
.section-heading h2 { margin-top: 0.6rem; color: var(--forest-deep); font-size: clamp(2rem, 3.55vw, 3.15rem); letter-spacing: -0.055em; }
.section-heading > p:last-child, .page-heading p { margin-top: 0.65rem; color: var(--muted); }
.home-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 27%); align-items: start; gap: 1.5rem; }
.crop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.crop-grid-featured { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.crop-grid-featured > li { grid-column: span 2; }
.crop-grid-featured > li:is(:nth-child(4):nth-last-child(2), :nth-child(5):last-child) { grid-column: span 3; }
.crop-link {
    isolation: isolate;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(12.5rem, 18vw, 15.25rem);
    height: 100%;
    overflow: hidden;
    border-radius: 0.85rem;
    background: #385739;
    color: var(--white);
    text-decoration: none;
}
.crop-link img, .crop-link::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.crop-link img { object-fit: cover; z-index: -2; transition: transform 260ms ease; }
.crop-link::after { z-index: -1; content: ''; background: linear-gradient(180deg, transparent 15%, #0e251b40 36%, #081e14f5 100%); }
.crop-link:hover img { transform: scale(1.045); }
.crop-link:hover h3 { text-decoration: underline; text-underline-offset: 0.2em; }
.crop-copy { padding: 2.75rem 1.15rem 1.05rem; }
.crop-copy h3 { max-width: 16ch; font-size: clamp(1.2rem, 1.8vw, 1.55rem); letter-spacing: -0.03em; }
.crop-copy span { display: block; margin-top: 0.35rem; font-size: 0.875rem; color: #f0f3e9; line-height: 1.4; }

.support { display: grid; gap: 1rem; }
.support-feature { padding: 1.4rem; border-radius: 0.85rem; background: var(--forest); color: var(--white); }
.support-icon { display: grid; place-items: center; flex: none; width: 2.65rem; height: 2.65rem; border-radius: 0.65rem; background: #e4efd9; color: var(--forest); }
.support-icon svg { height: 1.35rem; width: 1.35rem; }
.support-feature .support-icon { background: #dceac824; color: var(--lime); }
.support-feature h2 { margin-top: 0.85rem; font-size: clamp(1.22rem, 1.8vw, 1.52rem); }
.support-feature p { margin-top: 0.55rem; color: #e3eddd; font-size: 0.94rem; }
.support-feature .button { width: 100%; margin-top: 1.15rem; }
.support-phone { display: flex; align-items: center; gap: 0.85rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 0.85rem; background: #f0f4ea; }
.support-phone h2 { font: 650 0.875rem/1.4 var(--body); color: var(--muted); }
.support-phone a { display: inline-block; margin-top: 0.2rem; color: var(--forest); font-size: 1.17rem; font-weight: 760; text-decoration: none; overflow-wrap: anywhere; }
.support-phone a:hover { text-decoration: underline; }

.site-footer { color: #edf4e9; background: var(--forest-deep); }
.site-footer .brand-mark { background: #d1e4a1; color: var(--forest-deep); }
.site-footer .brand-wordmark { color: var(--white); }
.site-footer .brand-wordmark small { color: #d2dfd0; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-block: 2rem; }
.footer-column { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; text-align: center; }
.footer-column h2 { align-self: stretch; margin: 0; padding-bottom: 0.65rem; border-bottom: 1px dashed #f0f5e76b; font-size: 1.125rem; color: var(--white); }
.footer-column nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.45rem 1rem; }
.footer-column nav a, .footer-column .footer-phone { text-decoration: none; }
.footer-column nav a:hover { text-decoration: underline; }
.footer-map { display: block; width: 100%; height: 11rem; border: 0; border-radius: 0.4rem; }
.footer-stats { display: grid; gap: 0.5rem; margin: 0; }
.footer-stats div { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem; }
.footer-stats dd { margin: 0; font-weight: 700; }
.footer-columns + .footer-bottom { text-align: center; }
@media (max-width: 48rem) {
    .footer-columns { grid-template-columns: 1fr; }
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem 2rem; padding-block: 2.35rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.55rem; }
.footer-inner a { text-decoration: none; }
.footer-inner nav a:hover, .footer-phone:hover { text-decoration: underline; }
.footer-phone { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; }
.footer-phone svg { color: var(--lime); width: 1.1rem; height: 1.1rem; }
.footer-bottom { border-top: 1px solid #f0f5e72b; padding-block: 0.9rem; color: #d0ddcf; font-size: 0.8125rem; }

.page-main { padding-block: 2rem 4.5rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.65rem; color: var(--muted); font-size: 0.875rem; margin-bottom: 2.2rem; }
.breadcrumbs a:hover { color: var(--green); }
.page-heading { margin-bottom: 1.8rem; }
.page-heading h1, .category-detail h1 { color: var(--forest-deep); font-size: clamp(2.35rem, 5.1vw, 4rem); letter-spacing: -0.05em; overflow-wrap: anywhere; }
.page-heading > .button { margin-top: 1.5rem; }
.android-download-panel { max-width: 44rem; }
.android-download-version { margin-bottom: 0.85rem; }
.android-download-panel > .hint { margin-top: 0.85rem; }
.catalog-search { max-width: 32rem; margin-bottom: 1.5rem; }
.search-input { display: flex; gap: 0.55rem; }
.search-input input { flex: 1; min-width: 0; }
.search-input .button { flex: none; }
.search-result { margin-bottom: 1.15rem; color: var(--muted); overflow-wrap: anywhere; }
.search-result a { color: var(--green); font-weight: 650; margin-left: 0.35rem; }
.empty-state { border: 1px solid var(--line); border-radius: 0.85rem; padding: 1.5rem; background: var(--white); }
.empty-state h2 { font-size: 1.42rem; }
.empty-state p { color: var(--muted); margin-top: 0.4rem; }

.category-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 4.25rem); align-items: center; }
.category-detail > img { display: block; width: 100%; height: auto; max-height: 30rem; object-fit: cover; border-radius: 1rem; background: #385739; }
.category-detail h1 { margin-top: 0.7rem; }
.category-detail-copy > p:not(.eyebrow) { margin-top: 0.9rem; color: var(--muted); max-width: 35rem; }
.category-examples { padding: 1rem 1.2rem; margin: 1.25rem 0; border-radius: 0.65rem; border: 1px solid var(--line); background: #eef4e8; }
.category-examples dt { font-weight: 700; }
.category-examples dd { margin: 0.2rem 0 0; color: var(--muted); }

.form-panel { border: 1px solid var(--line); border-radius: 1rem; background: var(--white); padding: clamp(1rem, 4.5vw, 2rem); }
.form-panel h2 { margin-bottom: 1.15rem; font-size: 1.65rem; color: var(--forest-deep); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field { display: grid; align-content: start; gap: 0.35rem; margin-bottom: 0.95rem; }
.field label { font-weight: 670; font-size: 0.9rem; }
.field label span, .form-error { color: #9c3027; }
.form-error { font-size: 0.875rem; margin-bottom: 0.45rem; }
input, select, textarea { width: 100%; background: var(--white); color: var(--ink); border: 1px solid #b3c0b1; border-radius: 0.5rem; min-height: 2.85rem; padding: 0.53rem 0.75rem; }
select { appearance: none; padding-right: 2.25rem; background: linear-gradient(45deg, transparent 50%, var(--green) 50%) calc(100% - 18px) center / 6px 6px no-repeat, linear-gradient(135deg, var(--green) 50%, transparent 50%) calc(100% - 12px) center / 6px 6px no-repeat var(--white); }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: #a94238; }
.success-panel .support-icon { margin-bottom: 1rem; }
.success-panel p { color: var(--muted); margin-bottom: 1.25rem; }

@media (max-width: 60rem) {
    .navbar-inner { gap: 1.15rem; }
    .home-layout, .contact-layout { grid-template-columns: minmax(0, 1fr) minmax(13.75rem, 30%); gap: 1rem; }
    .crop-grid { gap: 0.75rem; }
    .crop-copy { padding-inline: 0.9rem; }
}

@media (max-width: 46rem) {
    .container { width: calc(100% - 2rem); }
    .navbar-inner { min-height: 4.45rem; grid-template-columns: 1fr auto; gap: 0; }
    .site-nav { grid-column: 1 / -1; grid-row: 2; align-self: stretch; gap: 1.3rem; border-top: 1px solid var(--line); }
    .nav-actions { grid-column: 2; grid-row: 1; gap: 0.4rem; }
    .nav-cta { display: none; }
    .nav-enhanced .nav-toggle { display: grid; }
    .nav-enhanced .site-nav:not(.is-open) { display: none; }
    .nav-search-form { inset-inline: auto -2.95rem; }
    .hero-inner { min-height: 29rem; align-items: end; padding-block: 3rem; }
    .hero-image { object-position: 64% center; }
    .hero::after { background: linear-gradient(90deg, #0b291dd4, #0b291d2e), linear-gradient(0deg, #0b291ded, #0b291d00 82%); }
    .hero h1 { font-size: clamp(2.6rem, 8.6vw, 4rem); }
    .hero-description { max-width: 27rem; }
    .home-section { padding-block: 2.65rem 3rem; }
    .home-layout, .contact-layout { grid-template-columns: 1fr; }
    .crop-grid, .crop-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .crop-grid-featured > li, .crop-grid-featured > li:is(:nth-child(4):nth-last-child(2), :nth-child(5):last-child) { grid-column: span 1; }
    .crop-grid-featured > li:nth-child(5):last-child { grid-column: 1 / -1; }
    .support { grid-template-columns: 1fr 1fr; align-items: start; }
    .brand-mark { width: 2.45rem; height: 2.45rem; }
    .footer-inner { align-items: start; flex-wrap: wrap; }
    .category-detail { grid-template-columns: 1fr; }
    .category-detail > img { max-height: 18rem; }
}

@media (max-width: 29rem) {
    .utility-inner { justify-content: flex-end; }
    .utility-inner > span { display: none; }
    .hero-inner { min-height: 27rem; }
    .hero-actions { gap: 0.5rem; }
    .hero-actions .button { padding-inline: 0.8rem; }
    .crop-link { min-height: 11.2rem; }
    .crop-copy h3 { font-size: 1.14rem; }
    .support, .form-row { grid-template-columns: 1fr; }
    .footer-inner { gap: 1.2rem; align-items: start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
