/* EasyEtsy public site. Copy length varies widely across ten languages (German compounds,
   Japanese without spaces), so nothing that holds text has a fixed width or height. */
:root {
  --bg: #faf8f4; --surface: #ffffff; --ink: #1a1917; --ink-soft: #3a3833; --muted: #6b675f;
  --line: #e8e2d8; --brand: #f1641e; --brand-dark: #c74a0e; --brand-soft: #fdeee5;
  --dark: #151412; --dark-2: #22201d; --dark-line: #34312c; --dark-muted: #b3ada3;
  --ok: #1e7a4a; --ok-bg: #e4f4ea; --warn: #8a5a00; --warn-bg: #fff3d6; --bad: #b42318; --bad-bg: #fde8e6;
  --radius: 14px; --shadow: 0 30px 80px -30px rgba(40, 28, 16, .35), 0 8px 24px -12px rgba(40, 28, 16, .18);
  --font-sans: "Inter", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Noto Sans JP", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-display: "Iowan Old Style", "Charter", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --fs-body: 16px; --fs-small: 14px; --fs-xs: 13px;
  --fs-h1: clamp(38px, 5.4vw, 66px); --fs-h2: clamp(28px, 3.4vw, 42px); --fs-h3: 18px; --fs-lead: clamp(17px, 1.5vw, 19px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 400 var(--fs-body)/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* CJK reads better with a sans display face and a little more line height. */
:lang(zh-CN), :lang(ja) { --font-display: var(--font-sans); }
:lang(zh-CN) body, :lang(ja) body { line-height: 1.75; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; overflow-wrap: break-word; }
h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
:lang(zh-CN) :is(h1, h2), :lang(ja) :is(h1, h2) { font-weight: 700; letter-spacing: 0; line-height: 1.3; }
/* Japanese has no spaces: break headings at phrase boundaries where the browser supports it. */
:lang(ja) :is(h1, h2, h3) { word-break: auto-phrase; }
h1 { font-size: var(--fs-h1); line-height: 1.05; }
h2 { font-size: var(--fs-h2); line-height: 1.12; }
h3 { font-size: var(--fs-h3); line-height: 1.35; font-weight: 650; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

/* Buttons wrap their label instead of overflowing on long translations. */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font: 650 15px/1.25 var(--font-sans); text-align: center; text-decoration: none; white-space: normal; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.button:focus-visible, .site-nav a:focus-visible, .text-link:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid rgba(241, 100, 30, .45); outline-offset: 3px; }
.button-brand { color: #fff; background: var(--brand); }
.button-brand:hover { background: var(--brand-dark); }
.button-dark { min-height: 40px; padding: 8px 18px; color: #fff; background: var(--ink); font-size: 14px; }
.button-dark:hover { background: #000; }
.button-ghost { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.6); }
.button-ghost:hover { border-color: var(--ink); }
.button-light { color: var(--ink); background: #fff; }
.eyebrow { color: var(--brand-dark); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
:lang(zh-CN) .eyebrow, :lang(ja) .eyebrow { letter-spacing: .06em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(232, 226, 216, .7); background: rgba(250, 248, 244, .86); backdrop-filter: saturate(1.4) blur(14px); }
.header-row { min-height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--brand); font: 800 17px/1 var(--font-sans); }
.brand-name { font-weight: 750; font-size: 18px; letter-spacing: -.01em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-inline: auto; }
.site-nav a { color: var(--ink-soft); font-size: var(--fs-small); font-weight: 550; text-decoration: none; }
.site-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav + .header-actions { margin-left: 0; }
.language-picker { position: relative; display: inline-flex; align-items: center; }
.language-picker svg { position: absolute; left: 11px; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.6; pointer-events: none; }
.language-picker select { appearance: none; min-height: 40px; max-width: 150px; padding: 0 28px 0 34px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b675f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; font: 550 14px/1 var(--font-sans); cursor: pointer; }
@media (max-width: 900px) { .site-nav { display: none; } .site-nav + .header-actions { margin-left: auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 36px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(241, 100, 30, .16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 56px; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.lead { max-width: 60ch; color: var(--ink-soft); font-size: var(--fs-lead); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: var(--muted); font-size: var(--fs-small); }
.hero-visual { position: relative; min-width: 0; }
.mock-window { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #f6f3ee; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ddd5ca; }
.mock-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 16px 18px 8px; }
.mock-head strong { font-size: 15px; }
.mock-chip { padding: 3px 10px; border-radius: 999px; color: var(--muted); background: #f3efe8; font-size: 12px; font-weight: 600; }
.mock-list { margin: 0; padding: 4px 10px 10px; list-style: none; }
.mock-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 8px; border-bottom: 1px solid #f1ece4; }
.mock-list li:last-child { border-bottom: 0; }
.mock-thumb { width: 40px; height: 40px; border-radius: 10px; }
.tone-a { background: linear-gradient(135deg, #e8c37d, #b8862f); }
.tone-b { background: linear-gradient(135deg, #8c6a4f, #4f3826); }
.tone-c { background: linear-gradient(135deg, #f2b8a0, #d9714a); }
.mock-text { display: grid; min-width: 0; }
.mock-text b { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mock-text small { color: var(--muted); font-size: 12px; }
.mock-badge { max-width: 132px; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.35; text-align: center; }
.mock-badge.late { color: var(--bad); background: var(--bad-bg); }
.mock-badge.soon { color: var(--warn); background: var(--warn-bg); }
.mock-badge.ok { color: var(--ink-soft); background: #f1ede6; }
.mock-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 18px 18px; border-top: 1px solid var(--line); background: #fcfbf8; }
.mock-step { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.mock-step.done { color: var(--ok); background: var(--ok-bg); }
.mock-step.brand { color: var(--brand-dark); background: var(--brand-soft); }
.mock-arrow { color: var(--muted); }
.mock-toast { position: absolute; right: -8px; bottom: -22px; display: flex; align-items: center; gap: 8px; max-width: 80%; padding: 10px 14px; border-radius: 12px; color: #fff; background: var(--dark); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.mock-toast .dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(241, 100, 30, .25); }
.trust-row { margin: 64px 0 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: var(--fs-small); font-weight: 550; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; }
.trust-row li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@media (max-width: 980px) {
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .mock-window { transform: none; }
  .mock-toast { right: 12px; }
}

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: #f3efe8; }
.section-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 48px; }
.section-lead { color: var(--ink-soft); font-size: var(--fs-lead); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .2s, transform .2s, box-shadow .2s; }
.feature:hover { border-color: #e0cdb9; box-shadow: 0 18px 40px -28px rgba(40, 28, 16, .35); transform: translateY(-2px); }
.feature p, .step p, .security-list p { color: var(--muted); }
.feature-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--brand-soft); }
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.steps { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; counter-reset: step; }
.step { display: grid; align-content: start; gap: 12px; min-width: 0; padding: 28px; border-radius: var(--radius); background: var(--surface); }
.step-num { color: var(--brand); font: 600 30px/1 var(--font-display); }
.section-dark { color: #f4f1ec; background: var(--dark); }
.section-dark .eyebrow { color: #ff8d55; }
.section-dark .section-lead, .section-dark .security-list p { color: var(--dark-muted); }
.security-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.security-grid .section-head { margin-bottom: 0; }
.security-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--dark-line); border-radius: var(--radius); background: var(--dark-line); }
.security-list article { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 26px; background: var(--dark-2); }
.text-link { justify-self: start; color: #ff8d55; font-weight: 650; text-underline-offset: 4px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 650; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--brand); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; color: var(--muted); }
.cta-panel { position: relative; display: grid; justify-items: center; gap: 16px; overflow: hidden; padding: 72px 32px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #1d1b18, #2d2722); text-align: center; }
.cta-panel::after { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgba(241, 100, 30, .35), transparent 70%); pointer-events: none; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel p { max-width: 56ch; color: var(--dark-muted); font-size: var(--fs-lead); }
.cta-panel .cta-row { justify-content: center; }
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .feature-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .feature-grid, .steps, .security-list { grid-template-columns: minmax(0, 1fr); }
  .feature, .step, .security-list article { padding: 22px; }
  .cta-row .button { flex: 1 1 100%; }
  .cta-panel { padding: 52px 22px; }
  .header-row { gap: 12px; }
  .brand-name { font-size: 17px; }
  .language-picker select { max-width: 124px; }
}
/* Narrow phones: the header keeps the logo mark only, so the language menu and the
   sign-in button never press against the screen edge in long languages. */
@media (max-width: 420px) {
  .site-header .brand-name { display: none; }
  .header-actions { gap: 8px; }
  .button-dark { padding-inline: 14px; }
}

/* Footer */
.site-footer { padding: 64px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.footer-grid nav { display: grid; align-content: start; gap: 10px; }
.footer-grid h4 { margin-bottom: 4px; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid nav a { color: var(--ink-soft); font-size: var(--fs-small); text-decoration: none; }
.footer-grid nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-tagline { max-width: 36ch; margin-top: 14px; color: var(--muted); font-size: var(--fs-small); }
.footer-bottom { display: grid; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); }
.disclaimer { max-width: 90ch; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal-card { max-width: 820px; margin-inline: auto; padding: 48px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.legal-card h1 { font-size: clamp(32px, 4vw, 44px); }
.legal-meta { margin: 12px 0 28px; color: var(--muted); font-size: var(--fs-small); }
.legal-card h2 { margin: 36px 0 12px; font-size: 22px; }
.legal-card p, .legal-card li { color: var(--ink-soft); }
.legal-card p + p { margin-top: 12px; }
.legal-card ul { margin: 12px 0; padding-left: 22px; }
.legal-card li + li { margin-top: 6px; }
.legal-note { margin-bottom: 8px; padding: 12px 16px; border-radius: 10px; color: var(--ink-soft); background: #f3efe8; font-size: var(--fs-small); }
@media (max-width: 640px) { .legal-card { padding: 28px 20px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } .mock-window { transform: none; } }
