/* 一隅网站设计 (mycorner.cn): one static page. System fonts only (nothing loads from outside China's network). */
:root {
  --paper: #f6f2ea;
  --paper-2: #efe8db;
  --ink: #1f1b17;
  --ink-soft: #5c5249;
  --line: rgba(31, 27, 23, 0.14);
  --seal: #b8342a;
  --seal-deep: #962920;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --radius: 10px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.8 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.35; margin: 0; }
p { margin: 0; }
.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 242, 234, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.seal { width: 34px; height: 34px; flex: none; }
.brand__name { font: 600 1.15rem/1 var(--serif); letter-spacing: 0.08em; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
.nav .nav__cta { color: var(--seal); font-weight: 600; }
@media (max-width: 640px) { .nav a:not(.nav__cta) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 6px; font-weight: 600; text-decoration: none; letter-spacing: 0.04em; }
.btn--seal { background: var(--seal); color: #fff; }
.btn--seal:hover { background: var(--seal-deep); }
.btn--line { border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* hero */
.hero { padding: clamp(48px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero__inner { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr 1fr; } }
.kicker { margin-bottom: 14px; color: var(--seal); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.32em; }
h1 { font-size: clamp(1.55rem, 6.2vw, 2.6rem); letter-spacing: 0.04em; }
@media (min-width: 400px) { .nw { white-space: nowrap; } }
.lede { margin-top: 20px; max-width: 34em; color: var(--ink-soft); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__art { position: relative; margin: 0; aspect-ratio: 6 / 5; }
.shot { position: absolute; width: 82%; border-radius: var(--radius); box-shadow: 0 24px 60px -28px rgba(31, 27, 23, 0.55), 0 0 0 1px var(--line); }
.shot--back { top: 0; right: 0; transform: rotate(2.5deg); }
.shot--front { bottom: 0; left: 0; transform: rotate(-2deg); }

/* sections */
.section { padding: clamp(64px, 9vw, 112px) 0; scroll-margin-top: 56px; } /* clear of the sticky top bar */
.section--tint { background: var(--paper-2); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); letter-spacing: 0.03em; }
.note { margin-top: 16px; max-width: 40em; color: var(--ink-soft); }

.kinds { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 760px) { .kinds { grid-template-columns: repeat(3, 1fr); } }
.kind { padding: 28px 24px; background: #fffdf9; border: 1px solid var(--line); border-radius: var(--radius); border-top: 3px solid var(--seal); }
.kind h3 { font-size: 1.25rem; }
.kind p { margin-top: 10px; color: var(--ink-soft); }

.sub { margin-top: clamp(48px, 7vw, 72px); font-size: 1.2rem; }
.features { display: grid; gap: 1px; margin: 20px 0 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(4, 1fr); } }
.features li { display: grid; gap: 4px; padding: 20px; background: var(--paper); }
.features strong { font-family: var(--serif); font-size: 1.05rem; }
.features span { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.7; }

.styles { display: grid; gap: clamp(20px, 3vw, 32px); margin-top: 36px; }
@media (min-width: 760px) { .styles { grid-template-columns: repeat(2, 1fr); } }
.style { margin: 0; }
.style img { border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -30px rgba(31, 27, 23, 0.6); }
.style figcaption { margin-top: 12px; color: var(--ink-soft); }
.style figcaption strong { margin-right: 10px; color: var(--ink); font-family: var(--serif); font-size: 1.1rem; }

.steps { display: grid; gap: 0; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; max-width: 760px; }
.steps li { position: relative; display: grid; gap: 4px; padding: 0 0 28px 56px; counter-increment: step; }
.steps li::before { content: counter(step, cjk-ideographic); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--seal); color: #fff; font: 600 0.95rem/1 var(--serif); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.steps strong { font-family: var(--serif); font-size: 1.1rem; line-height: 36px; }
.steps span { color: var(--ink-soft); }

.faq { display: grid; gap: 0; margin: 32px 0 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq dt { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.faq dd { margin: 6px 0 0; color: var(--ink-soft); }

/* contact */
.contact { background: var(--ink); color: var(--paper); }
.contact .kicker { color: #e9a79c; }
.contact .lede { color: rgba(246, 242, 234, 0.75); }
.contact__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 760px) { .contact__inner { grid-template-columns: 1fr auto; } }
.phone { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-top: 32px; }
.phone span { color: rgba(246, 242, 234, 0.6); font-size: 0.9rem; letter-spacing: 0.2em; }
.phone a { font: 600 clamp(1.5rem, 3.4vw, 2rem)/1.2 var(--serif); letter-spacing: 0.06em; text-decoration: none; }
.company { margin-top: 28px; color: rgba(246, 242, 234, 0.6); font-size: 0.9rem; }
.qr { margin: 0; justify-self: start; text-align: center; }
.qr img { width: 220px; height: 220px; padding: 12px; background: #fff; border-radius: var(--radius); }
.qr figcaption { margin-top: 12px; color: rgba(246, 242, 234, 0.75); font-size: 0.9rem; }

/* footer: the filing number in the middle at the bottom, as the filing rules ask */
.foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); background: #171411; color: rgba(246, 242, 234, 0.6); font-size: 0.85rem; }
.foot__inner { display: grid; gap: 6px; justify-items: center; text-align: center; }
.beian { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.beian a { display: inline-flex; align-items: center; gap: 6px; color: rgba(246, 242, 234, 0.75); text-decoration: none; }
.beian a:hover { color: var(--paper); text-decoration: underline; }
.beian img { width: 16px; height: 16px; }
