/* "What's new" page (/whats-new/): versions, guide, feedback form. Uses the tokens and buttons from site.css. */
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.foot nav a[aria-current="page"] { color: var(--ink); }

.wn-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 64px 0 40px; text-align: center; }
.wn-hero .wrap { display: flex; flex-direction: column; align-items: center; }
.wn-eyebrow { margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.wn-hero h1 { font-size: clamp(36px, 5.6vw, 68px); line-height: .98; letter-spacing: -.05em; max-width: 16ch; text-wrap: balance; }
.wn-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; max-width: 52ch; margin: 18px auto 0; text-wrap: balance; }
.wn-current { display: inline-flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 8px 16px 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.wn-current i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.wn-current b { color: var(--accent); font-weight: 700; }
.wn-current span { color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line-strong); }
.wn-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.wn-jump a { padding: 8px 14px; border-radius: var(--r-chip); border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--surface) 60%, transparent); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
.wn-jump a:hover { border-color: var(--accent); color: var(--accent); }

.wn-sec { padding: 72px 0; scroll-margin-top: 68px; }
.wn-sec + .wn-sec { border-top: 1px solid var(--line); }
.wn-sec h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.04em; }
.wn-card, .wn-versions > li, #guide-design, #plans { scroll-margin-top: 84px; }

/* versions: newest on top, a line down the left like a timeline */
.wn-versions { list-style: none; margin: 32px 0 0; padding: 0; max-width: 860px; display: grid; gap: 20px; }
.wn-ver { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 28px; }
.wn-ver.is-current { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 0 0 4px var(--accent-soft); }
.wn-ver-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.wn-ver-num { font-size: 26px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); }
.wn-ver-head h3 { font-size: 19px; letter-spacing: -.02em; flex: 1 1 260px; }
.wn-ver-head time { color: var(--muted); font-size: 14px; white-space: nowrap; }
.wn-badge { display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wn-ver ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.wn-ver li { position: relative; padding-left: 22px; line-height: 1.5; }
.wn-ver li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .55; }
.wn-ver li b { font-weight: 650; }
/* a line with a picture: a new model's catalogue card with the builder's NEW badge, the text beside it */
.wn-ver li.wn-item-pic { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; align-items: center; }
.wn-ver li.wn-item-pic::before { display: none; }
.wn-pic { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 12px; overflow: hidden; background: #2f3a2c; border: 1px solid var(--line); }
.wn-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wn-new { position: absolute; top: 8px; left: 8px; padding: 2px 7px; border-radius: 6px; background: #e0613a; color: #fff;
  font: 700 9.5px/1.4 var(--font); letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }

/* guide: numbered cards */
.wn-guide { background: var(--surface-2); }
.wn-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; align-items: start; }
.wn-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 28px 24px; }
.wn-card#plans { grid-column: 1 / -1; }
.wn-n { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.wn-card h3 { font-size: 21px; letter-spacing: -.025em; margin-bottom: 12px; }
.wn-card ol, .wn-card ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.wn-card li { padding-left: 4px; line-height: 1.5; }
.wn-card li::marker { color: var(--accent); font-weight: 700; }
.wn-card p { margin: 0 0 12px; line-height: 1.55; }
.wn-card b { font-weight: 650; }
.wn-tip { margin: 16px 0 0 !important; padding: 12px 14px; border-radius: var(--r-chip); background: var(--accent-soft); font-size: 14.5px; }
.wn-table { overflow-x: auto; margin: 4px 0 14px; }
.wn-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.wn-table th, .wn-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wn-table thead th { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wn-table tbody th { font-weight: 600; width: 32%; }
.wn-table td small, .wn-table th small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.wn-table .wn-pro { color: var(--accent); }
.wn-fine { font-size: 14px; color: var(--muted); margin: 0 !important; }
.wn-fine a { color: var(--accent); }

/* feedback form */
.wn-fb-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.wn-fb h2 { text-wrap: balance; }
.wn-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.wn-kind { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wn-kind legend { width: 100%; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.wn-kind label { cursor: pointer; }
.wn-kind input { position: absolute; opacity: 0; pointer-events: none; }
.wn-kind span { display: inline-block; padding: 8px 14px; border-radius: var(--r-chip); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.wn-kind label:hover span { border-color: var(--accent); }
.wn-kind input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.wn-kind input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.wn-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.wn-field em { font-style: normal; font-weight: 400; color: var(--muted); }
.wn-field textarea, .wn-field input { width: 100%; font: 400 16px/1.5 var(--font); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-btn); padding: 11px 13px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.wn-field textarea { resize: vertical; min-height: 140px; }
.wn-field textarea:focus, .wn-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wn-field [aria-invalid="true"] { border-color: #b4553f; }
.wn-field small { font-weight: 400; color: var(--muted); font-size: 13px; }
.wn-count { justify-self: end; }
.wn-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wn-form .btn { justify-self: start; min-width: 140px; }
.wn-form .btn[disabled] { opacity: .6; cursor: progress; }
.wn-msg { margin: 0; padding: 12px 14px; border-radius: var(--r-chip); font-size: 14.5px; background: var(--accent-soft); }
.wn-msg.err { background: rgba(180, 85, 63, .1); color: #8c3f2d; }
.wn-done { text-align: center; padding: 28px 8px; }
.wn-done h3 { font-size: 24px; letter-spacing: -.03em; margin-bottom: 8px; }
.wn-done p { margin: 0 0 18px; color: var(--muted); }

@media (max-width: 900px) {
  .wn-guide-grid { grid-template-columns: minmax(0, 1fr); }
  .wn-fb-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 620px) {   /* plan limits: each row becomes a block, the four plans in a 2 x 2 grid */
  .wn-table table { min-width: 0; }
  .wn-table thead { display: none; }
  .wn-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .wn-table tbody th, .wn-table td { padding: 0; border: 0; width: auto; }
  .wn-table tbody th { grid-column: 1 / -1; }
  .wn-table td::before { content: attr(data-plan); display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
}
@media (max-width: 520px) {
  .wn-hero { padding: 44px 0 32px; }
  .wn-sec { padding: 52px 0; }
  .wn-ver, .wn-card, .wn-form { padding: 20px 18px; }
  .wn-ver li.wn-item-pic { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
  .wn-current { flex-wrap: wrap; justify-content: center; }
  .wn-form .btn { width: 100%; }
}

/* guide v2 (2026-10-17, Kate's mockups): 2 x 2 cards with an illustration on top, then the limits card */
.wn-guide-grid { align-items: stretch; }
.wn-gcard .wn-n, .wn-limits .wn-n { font-size: 15px; letter-spacing: .06em; margin-bottom: 4px; }
.wn-gcard h3, .wn-limits h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.035em; margin-bottom: 16px; }
.wn-gcard ol { gap: 10px; }
.wn-ill { position: relative; aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; margin: 0 0 20px; background: var(--bg-2); border: 1px solid var(--line); }
.wn-ill > img { width: 100%; height: 100%; object-fit: cover; }
.wn-mini { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(23, 40, 30, .12); padding: 10px 12px 6px; font-size: 12.5px; line-height: 1.3; color: var(--ink); }
.wn-card .wn-mini p { margin: 0; line-height: 1.3; }
.wn-mini .wn-mini-h { display: flex; align-items: center; gap: 7px; font-weight: 650; font-size: 13px; padding-bottom: 7px; }
.wn-mini-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; border-top: 1px solid var(--line); }
.wn-mini-row > span { flex: 1; min-width: 0; }
.wn-mini-row em { font-style: normal; color: var(--muted); }
.wn-mini-row b { display: block; font-weight: 600; }
.wn-mini-row small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.wn-mini .ico { width: 16px; height: 16px; color: var(--ink); }
.wn-sw { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #dfe2df; border: 1px solid var(--line-strong); }
.wn-tg { flex: none; order: 2; position: relative; width: 26px; height: 15px; border-radius: 99px; background: var(--accent); }
.wn-tg::after { content: ""; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; }
/* 01: the real pattern + 3D, with the real Artwork panel floating on it */
.wn-ill-design .wn-ill-float { position: absolute; left: 12px; top: 12px; width: 38%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(23, 40, 30, .14); background: #fff; }
/* 02: a real studio render and the Scene settings */
.wn-ill-photo { background: #5f7f69; }
.wn-ill-photo > img { object-position: 0 50%; }
.wn-scene { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 46%; }
/* 03: the Export menu, a real spec sheet, the ZIP */
.wn-ill-files { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 10px; align-items: center; padding: 12px; background: var(--surface-2); }
.wn-ill-files .wn-mini { padding: 9px 10px 4px; font-size: 11.5px; box-shadow: 0 6px 18px rgba(23, 40, 30, .10); }
.wn-ill > img.wn-ill-spec { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 18px rgba(23, 40, 30, .10); }
.wn-zip .wn-mini-row span { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wn-zip .wn-mini-row .ico { color: var(--accent); }
/* 04: Your files with its four tabs, and render thumbnails */
.wn-ill-store { display: grid; grid-template-columns: .95fr 1.05fr; gap: 12px; align-items: center; padding: 12px; background: var(--surface-2); }
.wn-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 2px 0 9px; }
.wn-tabs span { padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line); font-size: 10.5px; font-weight: 600; color: var(--muted); }
.wn-tabs span.on { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.wn-space { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 11px; padding-top: 7px; border-top: 1px solid var(--line); }
.wn-space em { font-style: normal; color: var(--muted); }
.wn-bar { height: 6px; border-radius: 6px; background: var(--line); margin: 6px 0 6px !important; overflow: hidden; }
.wn-bar i { display: block; width: 26%; height: 100%; border-radius: 6px; background: var(--accent); }
.wn-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.wn-thumbs img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
/* the green bar under card 03 */
.wn-gcard .wn-tip { display: flex; align-items: center; gap: 10px; padding: 13px 16px; font-size: 15px; }
.wn-tip .ico { width: 20px; height: 20px; color: var(--accent); }
/* 05: the limits table */
.wn-limits > p { color: var(--muted); }
.wn-limits .wn-table { margin: 18px 0 14px; border: 1px solid var(--line); border-radius: 12px; }
.wn-limits table { min-width: 640px; }
.wn-limits thead th { background: var(--bg-2); color: var(--accent); text-align: center; padding: 14px 12px; }
.wn-limits thead th:first-child { text-align: left; text-transform: none; letter-spacing: -.01em; font-size: 15px; font-weight: 650; color: var(--ink); }
.wn-limits td { text-align: center; vertical-align: middle; }
.wn-limits tbody th { vertical-align: middle; width: 30%; }
.wn-limits tbody th, .wn-limits td { padding: 14px 12px; }
.wn-limits tbody tr:last-child > * { border-bottom: 0; }
.wn-limits tbody th { position: relative; padding-left: 54px; }
.wn-limits tbody th .ico { position: absolute; left: 16px; top: 50%; margin-top: -12px; width: 24px; height: 24px; color: var(--accent); }
.wn-info { display: flex; align-items: center; gap: 12px; margin: 0 !important; padding: 12px 16px; border-radius: 10px; background: var(--surface-2); font-size: 14px; color: var(--muted); }
.wn-info .ico { width: 20px; height: 20px; color: var(--accent); }
.wn-info a { color: var(--accent); }
@media (max-width: 620px) {
  .wn-ill-files { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; }
  .wn-ill-files .wn-zip { display: none; }
  .wn-ill-store { grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; }
  .wn-thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .wn-scene { width: 50%; right: 8px; padding: 7px 9px 3px; font-size: 11px; }
  .wn-scene .wn-mini-h { font-size: 11.5px; padding-bottom: 4px; }
  .wn-scene .wn-mini-row { padding: 4px 0; gap: 7px; }
  .wn-scene .wn-mini-row:last-child { display: none; }
  .wn-scene .ico, .wn-scene .wn-sw { width: 13px; height: 13px; }
  .wn-ill-design .wn-ill-float { width: 46%; left: 8px; top: 8px; }
  .wn-limits table { min-width: 0; }
  .wn-limits .wn-table { border: 0; border-radius: 0; }
  .wn-limits tbody th, .wn-limits td { padding: 0; }
  .wn-limits tbody th { width: auto; padding-left: 34px; min-height: 24px; display: flex; align-items: center; }
  .wn-limits tbody th .ico { left: 0; }
  .wn-limits td { text-align: left; }
  .wn-limits tbody tr:last-child > * { border-bottom: 0; }
  .wn-info { align-items: flex-start; }
}
/* a guide step with its own small picture on the right (01: Vectorize, JPG -> SVG) */
.wn-step-pic { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 14px; align-items: center; }
.wn-step-pic img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 520px) { .wn-step-pic { grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; } }
