/* Proton's own palette (proton.com stylesheet): white, black, greys, Proton red as the one accent; Kanit
   headings (Proton's typeface), Source Sans 3 body; 1px rules, no shadows. */
:root {
  --paper: #ffffff;
  --card: #f5f5f5;
  --ink: #000000;
  --ink-2: #505050;
  --muted: #707070;
  --rule: #dedede;
  --dark: #1a1a1a;
  --dark-2: #2a2a2a;
  --red: #e60019;
  --red-dk: #b30013;
  --wa: #1f9d55;
  --wa-dk: #177a42;
  --head: 'Kanit', 'Arial', sans-serif;
  --body: 'Source Sans 3', system-ui, sans-serif;
}
.lang-cn { --body: 'Noto Sans SC', 'Source Sans 3', system-ui, sans-serif; }
.lang-cn h1, .lang-cn h2, .lang-cn h3 { font-family: 'Noto Sans SC', var(--head); letter-spacing: 0; }
*, *::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 17px/1.6 var(--body); }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; letter-spacing: 0; }
h2 { font-size: clamp(26px, 3.4vw, 38px); text-transform: uppercase; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
mark.todo { background: #ffe58a; color: inherit; padding: 0 .2em; }
.sub { color: var(--ink-2); max-width: 40em; }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand { flex-direction: row; align-items: center; gap: 10px; }
.brand img { width: 38px; height: 38px; }
.brand-txt { display: flex; flex-direction: column; }
.brand-p { font: 600 20px/1 var(--head); letter-spacing: .1em; color: var(--ink); }
.brand-area { font: 600 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lang { display: flex; flex-shrink: 0; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.brand { min-width: 0; }
.lang a { padding: 6px 10px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.lang a + a { border-left: 1px solid var(--rule); }
.lang a[aria-current] { background: var(--ink); color: #fff; }

/* hero */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.kicker { font: 600 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
h1 { font-size: clamp(38px, 5.2vw, 64px); text-transform: uppercase; color: var(--ink); }
h1 em { font-style: normal; color: var(--red); display: block; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 34em; margin: 22px 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 4px; padding: 15px 22px; font: 700 18px/1 var(--head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-main { background: var(--red); color: #fff; }
.btn-main:hover { background: var(--red-dk); }
.btn-wa { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-wa:hover { background: var(--card); }
.btn-wa svg { color: var(--wa); }

/* price board */
.board { background: var(--dark); color: #fff; border-radius: 6px; padding: 26px 26px 20px; }
.board h2 { font-size: 15px; letter-spacing: .16em; color: #ff4d5e; margin-bottom: 14px; font-family: var(--body); font-weight: 700; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.b-name { font: 600 22px/1 var(--head); letter-spacing: .03em; }
.b-dots { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .35); transform: translateY(-4px); }
.b-price { font: 700 22px/1 var(--head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.b-price small { font: 400 13px/1 var(--body); color: #b5b5b5; }
.b-price .ask { font-style: italic; }
.board-note { font-size: 13px; color: #b5b5b5; margin: 14px 0 0; }

/* selling points under the hero buttons */
.perks { list-style: none; margin: 26px 0 0; padding: 16px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.perks li { font: 600 15px/1.3 var(--body); color: var(--ink); padding-left: 16px; position: relative; }
.perks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; background: var(--red); }

/* promotions: the agent's posters in a row */
.promo-sec { padding: 72px 0 56px; border-bottom: 1px solid var(--rule); }
.promo-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 32px; max-width: 980px; }
.promo:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 16px); }
.promo img { width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--rule); background: #111; }
.promo p { margin: 10px 0 4px; font-size: 15px; line-height: 1.35; }
.promo p { font-size: 17px; }
.promo p b { font: 600 22px/1 var(--head); color: var(--ink); margin-right: 6px; }
.promo strong { color: var(--red); }
.promo a { font-weight: 600; font-size: 14px; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; }

/* models: picture, name, variant prices */
.models { padding: 72px 0; }
.model-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.model { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.m-car { display: grid; place-items: center; min-height: 180px; }
.m-car img { width: 100%; max-width: 360px; height: auto; }
.model h3 { font-size: 36px; margin: 0; color: var(--ink); }
.m-type { margin: 2px 0 12px; color: var(--muted); font-size: 15px; }
.m-vars { border-collapse: collapse; width: 100%; max-width: 440px; margin-bottom: 14px; }
.m-vars th, .m-vars td { padding: 7px 0; border-bottom: 1px dotted var(--rule); font-size: 16px; }
.m-vars th { text-align: left; font-weight: 400; color: var(--ink-2); }
.m-vars td { text-align: right; font: 700 19px/1 var(--head); font-variant-numeric: tabular-nums; }
/* the main action per model is the test drive (form -> WhatsApp); the brochure is a quiet text link above it */
.m-ask { display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff; padding: 12px 18px; border-radius: 4px; font: 600 16px/1 var(--head); text-decoration: none; }
.m-ask:hover { background: var(--red-dk); }
.m-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.m-pdf { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.m-pdf svg { width: 15px; height: 15px; }
.m-pdf span { color: var(--muted); }
.m-pdf:hover { color: var(--ink); }

/* customers: handover photos, a masonry of columns */
.customers { padding: 72px 0; border-top: 1px solid var(--rule); }
.cust-grid { list-style: none; margin: 28px 0 0; padding: 0; columns: 4 220px; column-gap: 14px; }
.cust-grid li { break-inside: avoid; margin-bottom: 14px; }
.cust-grid img { display: block; width: 100%; height: auto; border-radius: 4px; background: var(--card); }

/* showroom: the owner's photos with captions. Tall photos one cell (4:5), wide photos two cells (8:5), so rows are
   even; the crop is small (3:4 -> 4:5, 16:9 -> 8:5) */
.showroom { padding: 72px 0; border-top: 1px solid var(--rule); }
.show-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 14px; }
.show-grid figure { margin: 0; }
.show-grid figure.wide { grid-column: span 2; }
.show-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--card); }
.show-grid figure.wide img { aspect-ratio: 8 / 5; }
.show-grid figcaption { font-size: 14px; color: var(--ink-2); margin-top: 6px; }

/* help: lettered notes on a card */
.help { padding: 72px 0; background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.help-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.help-list li { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--rule); }
.h-letter { font: 700 40px/.9 var(--head); color: var(--red); width: 30px; flex: none; }
.help-list h3 { margin-bottom: 6px; }
.help-list p { margin: 0; color: var(--ink-2); }

/* steps: numbered with a rule */
.steps { padding: 72px 0; }
.step-list { list-style: none; counter-reset: s; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step-list li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 16px; }
.step-list li::before { content: "0" counter(s); display: block; font: 700 15px/1 var(--head); letter-spacing: .12em; color: var(--red); margin-bottom: 10px; }
.step-list p { color: var(--ink-2); margin: 0; font-size: 16px; }

/* quote form */
.quote { padding: 72px 0; background: var(--dark); color: #fff; }
.quote .sub { color: #cfcfcf; }
.quote-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.quote-wa a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.quote-wa svg { width: 20px; height: 20px; color: #6fd99a; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; background: var(--card); color: var(--ink); border-radius: 6px; padding: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.field i { color: #b3261e; font-style: normal; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: 400 16px/1.3 var(--body); color: var(--ink); background: #fff; border: 1px solid #c9c9c9; border-radius: 4px; padding: 12px; width: 100%; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-err { grid-column: 1 / -1; margin: 0; color: #b3261e; font-weight: 600; }
.form .btn-main { width: 100%; }

/* where */
.find { padding: 56px 0; }
.find-in { max-width: 720px; }
.find a { font-weight: 600; color: var(--ink); }

/* footer */
.foot { border-top: 1px solid var(--rule); padding: 28px 0 90px; font-size: 14px; color: var(--muted); }
.disclaimer { max-width: 60em; }
.credit a { color: var(--red); font-weight: 600; }

.float-wa { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; z-index: 30; }
.float-wa:hover { background: var(--wa-dk); }
.float-wa svg { width: 30px; height: 30px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero { padding: 40px 0; }
  .hero-in, .quote-in { grid-template-columns: 1fr; gap: 36px; }
  .help-list { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr 1fr; }
  .show-grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; grid-auto-flow: dense; }
  .model { grid-template-columns: 1fr; gap: 14px; }
  .m-car { min-height: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .ctas .btn { width: 100%; }
  .top-in { gap: 12px; }
  .brand img { width: 30px; height: 30px; }
  .brand-p { font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
  .brand-area { font-size: 10px; letter-spacing: .04em; }
  .lang a { padding: 6px 8px; }
  .promo-list { grid-template-columns: 1fr; gap: 32px; }
  .promo:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .step-list { grid-template-columns: 1fr; }
  .cust-grid { columns: 2; column-gap: 10px; }
  .cust-grid li { margin-bottom: 10px; }
  .form { grid-template-columns: 1fr; padding: 20px; }
  .board { padding: 22px 18px 16px; }
  .b-name, .b-price { font-size: 20px; }
}
@media (max-width: 360px) {
  .brand-area { display: none; }
  .top-in { gap: 8px; }
  .brand { gap: 6px; }
  .brand-txt { min-width: 0; overflow: hidden; }
  .brand-p { font-size: 12.5px; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; }
}
