@font-face {
    font-family: Inter;
    src: url("inter.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("space-grotesk.woff2") format("woff2");
    font-weight: 300 700;
    font-display: swap;
}

:root {
    color-scheme: light;
    --bg: #f7faf2;
    --ink: #153125;
    --muted: #55685b;
    --accent: #8fff52;
    --line: #cad7c8;
    --card: #fff;
    --tint: #edf4e6;
    --radius: 16px;
    --heading: "Space Grotesk", Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    --body: Inter, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; }
h1, h2, h3 { margin: 0; font-family: var(--heading); line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.3vw, 5.2rem); letter-spacing: -.067em; font-weight: 700; }
h2 { font-size: clamp(1.58rem, 3vw, 2.65rem); letter-spacing: -.045em; }
h3 { font-size: 1.16rem; letter-spacing: -.022em; }
p { margin: .65rem 0 1rem; }
[lang="zh-Hans"] h1, [lang="zh-Hans"] h2, [lang="zh-Hans"] h3 { letter-spacing: -.02em; }
img { display: block; max-inline-size: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: #7d9a81; }
a:hover { text-decoration-thickness: 2px; }
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #2b7c43; outline-offset: 3px; }
:is(button, input, select, textarea) { font: inherit; }
button { cursor: pointer; }
summary { cursor: pointer; }
section[id] { scroll-margin-top: 1.25rem; }
.wrap { width: min(1328px, 100% - clamp(2rem, 7vw, 8.4rem)); margin-inline: auto; }
.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-200%); color: #fff; background: var(--ink); padding: .65rem 1rem; z-index: 10; }
.skip:focus { transform: none; }
.no-js-hide { display: none !important; }
.contact-strip { background: var(--accent); color: #102516; border-bottom: 1px solid #163320; }
.contact-inner { min-height: 46px; display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center; gap: 0 .85rem; font-size: .84rem; }
.contact-inner > div { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem .62rem; }
.contact-inner a { font-weight: 700; text-decoration-color: #1c492a; overflow-wrap: anywhere; }
.contact-inner a:last-child { white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: relative; z-index: 2; }
.header-inner { min-height: 75px; display: flex; align-items: center; gap: clamp(.8rem, 2.9vw, 3rem); }
.brand { display: inline-flex; gap: .65rem; align-items: center; color: inherit; font: 700 1.14rem var(--heading); letter-spacing: -.03em; text-decoration: none; }
.brand img { flex: none; }
.desktop-nav { display: flex; justify-content: center; flex: 1; gap: clamp(.75rem, 2vw, 1.7rem); }
.desktop-nav a { white-space: nowrap; font-size: .84rem; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover { text-decoration: underline; }
.language { display: inline-grid; place-items: center; min-width: 43px; height: 36px; padding-inline: .45rem; margin-inline-start: auto; border: 1px solid var(--line); background: var(--card); border-radius: 6px; text-decoration: none; font-size: .89rem; font-weight: 700; }
.mobile-nav { display: none; }

.button, .fruit-tool button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: .62rem .95rem; border: 1px solid var(--ink); border-radius: 7px; background: var(--accent); color: var(--ink); text-align: center; text-decoration: none; font-size: .9rem; font-weight: 700; line-height: 1.25; }
.button:hover, .fruit-tool button:hover { background: #b0ff87; }
.button-outline { background: transparent; }
.button-outline:hover { background: var(--tint); }

.hero { display: grid; grid-template-columns: 1.07fr 1fr; gap: clamp(1.3rem, 3.6vw, 4rem); padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2.2rem, 5.4vw, 4.8rem); }
.hero-copy { display: flex; flex-direction: column; min-width: 0; }
.kicker { display: flex; align-items: center; gap: .56rem; font-size: .84rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; margin: 0 0 .85rem; }
.kicker span { display: block; width: .68rem; height: .68rem; border: 1px solid var(--ink); border-radius: 50%; background: var(--accent); }
.hero h1 { max-width: 15ch; font-size: clamp(3.25rem, 6.4vw, 5.7rem); line-height: .97; }
[lang="zh-Hans"] .hero h1 { max-width: 13ch; font-size: clamp(2.7rem, 5.4vw, 5.1rem); line-height: 1.07; }
.hero-intro { color: var(--muted); max-width: 56ch; font-size: clamp(1.01rem, 1.47vw, 1.15rem); line-height: 1.6; margin-block: 1.22rem 1.65rem; }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: auto; }
.route-card { padding: clamp(1rem, 1.6vw, 1.4rem); display: flex; flex-direction: column; align-items: start; background: var(--tint); border: 1px solid #becfbc; border-radius: var(--radius); }
.route-card:nth-child(2) { background: #fff; }
.route-card h2 { font-size: clamp(1.1rem, 1.7vw, 1.42rem); letter-spacing: -.035em; }
.route-card p { color: #3d5647; margin-bottom: .92rem; font-size: .89rem; line-height: 1.52; }
.route-card .button { margin-top: auto; }
.photo { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.photo img { width: 100%; object-fit: cover; }
.photo figcaption, .diagram figcaption { padding: .7rem .92rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.hero-photo { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; border-color: #b7c7b7; }
.hero-photo img { height: 100%; min-height: 0; object-fit: cover; object-position: 48% 55%; }
.hero-photo figcaption { border-top: 1px solid var(--line); }

.home-section { padding-block: clamp(2.65rem, 6.1vw, 5.6rem); }
#formats { border-top: 1px solid var(--line); padding-top: clamp(2.2rem, 5vw, 4.3rem); }
.section-heading { display: flex; gap: 1rem 2rem; justify-content: space-between; align-items: end; margin-bottom: 1.55rem; }
.section-heading > a { font-size: .9rem; white-space: nowrap; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.format-grid, .tool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.format-card { border-top: 2px solid var(--ink); padding: .95rem .3rem .3rem 0; }
.format-card p { font-size: .9rem; color: var(--muted); }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.measure-layout, .quality-grid, .source-grid, .inquiry-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(1.5rem, 5.5vw, 6rem); align-items: start; }
.measure-layout .diagram { margin-top: .3rem; }
.measure-row { padding: 1rem 0 .9rem; border-bottom: 1px solid var(--line); }
.measure-row:first-of-type { margin-top: .85rem; }
.measure-row h3 { font-size: 1.14rem; }
.measure-row p { color: var(--muted); margin: .35rem 0 .42rem; }
.measure-row a, .source-grid a { font-weight: 650; }
.diagram { margin: 0; color: #245238; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 17px, #dae7d8 17px 18px), repeating-linear-gradient(90deg, #f5f9f1 0 17px, #dae7d8 17px 18px); }
.diagram svg { display: block; width: 100%; height: auto; }
.diagram figcaption { background: #f8fbf6; border-top: 1px solid var(--line); }
.guide-disclosure { border-bottom: 1px solid #a4bca7; padding-block: .8rem; }
.guide-disclosure summary { font-weight: 700; }
.guide-links { padding-inline-start: 1.1rem; margin-block: .65rem 0; }
.guide-links li { padding-block: .19rem; }
.tool-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tool-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: clamp(.95rem, 2vw, 1.45rem); text-decoration: none; }
.tool-card:hover { border-color: #4b8155; background: #f3fbea; }
.tool-card svg { margin-bottom: 1rem; }
.tool-card p { color: var(--muted); font-size: .91rem; }
.tool-card span { color: #245238; font-size: .84rem; font-weight: 700; margin-top: auto; }
.quality-band { background: #173529; color: #f7faf2; }
.quality-band p { color: #e0eadf; }
.quality-band a:not(.button) { text-decoration-color: #92b49a; }
.quality-band .guide-links { columns: 2; column-gap: 1.35rem; }
.quality-band .guide-links li { break-inside: avoid; }
.source-grid { border-bottom: 1px solid var(--line); }
.faq-wrap { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.faq { max-width: 900px; }
.faq h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); padding: .82rem .12rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 650; }
.faq details p { padding-inline: 1.1rem .3rem; margin-bottom: .1rem; color: var(--muted); }
.inquiry-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }

.article-lead { background: var(--tint); border-bottom: 1px solid var(--line); }
.article-intro { padding-block: 1.5rem clamp(2rem, 4.5vw, 4.05rem); }
.breadcrumb { display: flex; gap: .55rem; align-items: baseline; margin-bottom: 1.6rem; color: var(--muted); font-size: .88rem; }
.breadcrumb a { flex: none; }
.article-intro h1 { max-width: 21ch; }
.article-intro p { font-size: clamp(1.08rem, 1.7vw, 1.32rem); max-width: 76ch; color: #395644; margin: 1rem 0 1.25rem; }
.article-routes, .article-rfq, .calculator { padding-top: clamp(1.6rem, 3.5vw, 2.8rem); }
.article-routes .route-grid { max-width: 950px; }
.article-rfq { max-width: 980px; }
.article-layout { display: grid; gap: clamp(1.4rem, 5vw, 5.4rem); grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); padding-block: clamp(1.8rem, 4vw, 3.8rem); }
.article-body section { margin: 0 0 2.2rem; }
.article-body, .article-aside, .rfq-field { min-width: 0; }
.article-body h2 { font-size: clamp(1.32rem, 2.5vw, 2rem); }
.article-body p { color: #365041; }
.article-aside > * { margin-bottom: 1rem; }
.next-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 1.25rem; }
.next-card h2 { font-size: 1.35rem; }
.next-card .button { margin-top: .9rem; }
.table-scroll { margin-block: .8rem; border: 1px solid var(--line); overflow-x: auto; background: var(--card); }
table { width: 100%; border-collapse: collapse; text-align: start; }
th, td { text-align: start; padding: .66rem .72rem; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--tint); }
tbody tr:last-child > * { border-bottom: 0; }
.worksheet table { min-width: 400px; font-size: .91rem; }
.utility { min-height: 40vh; padding-block: 3rem 4.5rem; }
.utility p { max-width: 78ch; }
.utility h1 { margin-bottom: 1.2rem; }

.fruit-tool { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: clamp(1rem, 3vw, 2.25rem); max-width: 1120px; }
.fruit-tool h2 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
.fruit-tool-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: .9rem; margin-block: .75rem; }
.fruit-tool-field { display: grid; gap: .3rem; align-content: start; font-weight: 600; }
.fruit-tool input:not([type="checkbox"]), .fruit-tool select, .fruit-tool textarea { min-width: 0; width: 100%; border-radius: 6px; border: 1px solid #a6bca8; background: #fff; padding: .58rem .68rem; color: var(--ink); }
.rfq-field > :is(input:not([type="checkbox"]), select, textarea) { border-radius: 6px; border: 1px solid #a6bca8; background: #fff; color: var(--ink); padding: .55rem .65rem; }
.fruit-tool-actions { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .8rem; }
.fruit-tool button:disabled { background: #edf0eb; color: #4f6254; border-color: #a6bca8; cursor: default; }
.fruit-tool-results:not(:empty) { margin-block: .75rem; background: var(--tint); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.fruit-tool-error:not(:empty) { color: #8a2525; margin-block: .5rem; }
.fruit-tool-table { margin-block: .9rem; }
.fruit-tool-table:has(table) { overflow-x: auto; }

.site-footer { background: #edf3e9; border-top: 1px solid var(--line); padding-block: 2.7rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.17fr .68fr; gap: 2rem; }
.footer-grid p, .footer-grid address { font-size: .9rem; color: #40594a; }
.footer-grid address, .footer-links { display: grid; gap: .25rem; align-content: start; font-style: normal; }
.footer-grid a { overflow-wrap: anywhere; }

@media (max-width: 1080px) {
    .desktop-nav { gap: .7rem; }
    .desktop-nav a { font-size: .77rem; }
    .header-inner { gap: 1rem; }
    .hero { grid-template-columns: 1.11fr .89fr; }
    .hero h1 { font-size: clamp(3.05rem, 7.45vw, 5.2rem); }
}

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .mobile-nav { display: block; }
    .mobile-nav > summary { min-width: 42px; height: 38px; border-radius: 6px; border: 1px solid var(--line); display: grid; align-content: center; justify-items: center; gap: 4px; list-style: none; }
    .mobile-nav > summary::-webkit-details-marker { display: none; }
    .mobile-nav > summary span { width: 17px; border-top: 2px solid var(--ink); }
    .mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; padding: .6rem 1.1rem 1.1rem; display: grid; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px #15312519; }
    .mobile-nav nav a { text-decoration: none; padding: .56rem .3rem; }
    .hero { gap: 1.3rem; }
    .hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.1rem); }
    .route-grid { grid-template-columns: 1fr; }
    .article-routes .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tool-grid { gap: .55rem; }
}

@media (max-width: 690px) {
    .wrap { width: calc(100% - 2rem); }
    .contact-inner { width: calc(100% - 1rem); min-height: 47px; padding-block: .23rem; font-size: .75rem; line-height: 1.55; }
    .contact-inner > span { width: 100%; text-align: center; }
    .contact-inner > div { gap: .2rem .38rem; }
    .header-inner { min-height: 60px; }
    .brand img { width: 32px; height: 32px; }
    .brand { font-size: 1.04rem; }
    .hero, .measure-layout, .quality-grid, .source-grid, .inquiry-layout, .article-layout, .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .hero { padding-top: 2.05rem; }
    .hero h1 { max-width: 12ch; font-size: clamp(2.95rem, 11.3vw, 4.2rem); }
    [lang="zh-Hans"] .hero h1 { font-size: clamp(2.35rem, 8.8vw, 3.5rem); }
    .hero-intro { margin-block: .85rem 1.05rem; }
    .hero-photo img { height: auto; max-height: 420px; aspect-ratio: 12 / 8; }
    .section-heading { display: block; }
    .section-heading > a { display: inline-block; margin-top: .7rem; white-space: normal; }
    .format-grid, .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article-intro h1 { font-size: clamp(2.05rem, 9.5vw, 3.2rem); }
    .article-routes .route-grid { grid-template-columns: 1fr; }
    .footer-grid { gap: 1.1rem; }
}

@media (max-width: 360px) {
    .contact-inner { font-size: .69rem; }
    .quality-band .guide-links { columns: 1; }
    .format-grid, .tool-grid { column-gap: .55rem; }
    .brand { font-size: .94rem; }
}

@media print {
    .site-header, .contact-strip, .site-footer, .button, .article-aside { display: none; }
    .wrap { width: 100%; }
    .article-layout { display: block; }
}
