/* The company website: white and ivory for room, a deep lacquer red for
   the shop's name and headings, champagne gold for the buttons and the
   fine lines. Red is an accent, not a ground -- large fields of dark red
   tire the eye, and a jeweller's house looks expensive through space and
   restraint, not through colour laid on thick.

   Rules this file keeps:

   * Gold is never small text on white: it falls short of readable
     contrast, and many readers are older. Gold is a button (dark text on
     it), a hairline, an icon, or text on deep red. Where gold-toned text
     must sit on white it uses --gold-text, which clears 4.5:1.
   * Every "Online Renewal" button is the same gold, everywhere.
   * Long text is left-aligned. Section headings are centred, and so are
     the short items led by a large icon -- the reasons and the steps.
   * Chinese and Tamil are never letter-spaced: spacing that suits small
     Latin capitals makes Chinese look loose and pulls Tamil apart.
   * Light only, system fonts only, no script, nothing from another host:
     the privacy notice promises the site loads nothing from anyone else. */

:root {
  --red: #8E1B22;
  --red-dark: #6B1219;
  --red-soft: #F8ECEC;
  --gold: #C5A257;
  --gold-hi: #D3B46E;
  --gold-lo: #B8954B;
  --gold-line: #DCC79A;
  --gold-text: #8A6A22;
  --gold-on-red: #E6CF95;
  --gold-ink: #4A0F12;
  --ink: #2E2622;
  --text: #4A3F3A;
  --muted: #7A6E68;
  --white: #FFFFFF;
  --cream: #FAF6EF;
  --line: #ECE3D6;
  --radius: 6px;
  --wrap: 1140px;
  --serif: Georgia, "Songti SC", "STSong", "Noto Serif CJK SC", "Noto Serif SC",
           "Source Han Serif SC", "SimSun", "Noto Serif Tamil", "Tamil Sangam MN",
           "Nirmala UI", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
          "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
          "Noto Sans Tamil", "Tamil Sangam MN", "Nirmala UI", "Latha", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

a { color: var(--red); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.3; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--red); }
h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.22; }
h2 { font-size: clamp(25px, 3.2vw, 34px); }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 14px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 760px; }

/* Hidden until a keyboard user tabs to it. Pushed well clear: at this line
   height the link is about 50 px tall. */
.skip {
  position: absolute; left: 12px; top: -120px; z-index: 10;
  padding: 10px 14px; background: var(--red); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---- top bar: phone and languages -------------------------------------- */

.topbar { background: var(--red-dark); color: rgba(255, 255, 255, 0.88); font-size: 13px; }
.topbar a:focus-visible { outline-color: var(--gold-on-red); }
.topbar-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 34px;
}
.topbar-phone {
  display: inline-flex; align-items: center; gap: 7px;
  color: inherit; text-decoration: none; white-space: nowrap; letter-spacing: 0.02em;
}
.topbar-phone .icon { width: 14px; height: 14px; stroke: var(--gold-on-red); stroke-width: 1.6; }
.topbar-phone:hover { color: var(--gold-on-red); }

.lang { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.lang a {
  padding: 2px 10px; line-height: 1.4; color: rgba(255, 255, 255, 0.82); text-decoration: none;
  border-left: 1px solid rgba(230, 207, 149, 0.35);
}
.lang a:first-child { border-left: 0; }
.lang a:last-child { padding-right: 0; }
.lang a:hover { color: var(--gold-on-red); }
.lang a[aria-current="true"] { color: var(--gold-on-red); font-weight: 700; }

/* ---- header: white, one row -------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 12px 28px;
  min-height: 72px; padding-top: 10px; padding-bottom: 10px;
}
.logo {
  display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto;
  color: var(--red); text-decoration: none;
  font-family: var(--serif); font-size: 22px;
}
.logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-mark, .logo-img { flex: none; display: block; }
.logo-mark { width: 52px; height: 52px; }
.logo-img { height: 52px; width: auto; }
.logo-seal { fill: var(--red); }
.logo-ring { fill: none; stroke: var(--gold-on-red); stroke-width: 1; }
.logo-numeral { fill: var(--gold-on-red); font: 400 21px Georgia, "Times New Roman", serif; }

.main-nav { display: flex; align-items: center; gap: 4px 28px; }
.main-nav a {
  flex: none; color: var(--ink); text-decoration: none; font-size: 15px;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.main-nav a:hover { color: var(--red); border-bottom-color: var(--gold); }

/* ---- buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 10px 24px;
  border-radius: 4px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.3;
  text-decoration: none; text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* Champagne gold, with only enough gradient to read as metal. */
.btn-primary, .btn-renew {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo));
  color: var(--gold-ink); border-color: var(--gold-lo);
}
.btn-primary:hover, .btn-renew:hover { background: var(--gold-lo); }
/* Solid red: the way to the shop. Gold stays reserved for Online Renewal. */
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-secondary { background: var(--white); color: var(--red); border-color: var(--red); }
.btn-secondary:hover { background: var(--red-soft); }
.btn-renew { flex: none; min-height: 42px; padding: 8px 18px; font-size: 15px; white-space: nowrap; }
.label-short { display: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---- hero: ivory, the shop's mark large -------------------------------- */

.hero {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}
.hero-grid { display: grid; gap: 36px; align-items: center; }
.eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  color: var(--gold-text); font-size: 14px; font-weight: 700;
}
.eyebrow::before { content: ""; flex: none; width: 32px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 15em; }
.lead { font-size: 18px; color: var(--text); }
.hero .lead { margin-top: 18px; max-width: 34em; }

/* The mark leads the first screen: above the words on a phone, beside them
   from 760 px. Its glow follows the circle (a filter, not a background,
   which would show the edge of its box). */
.hero-emblem { display: grid; place-items: center; order: -1; }
.emblem, .emblem-img { display: block; width: 176px; height: auto; }
.emblem { filter: drop-shadow(0 14px 24px rgba(107, 18, 25, 0.2)) drop-shadow(0 0 36px rgba(197, 162, 87, 0.3)); }
/* The shop's own mark is a tall gate, so it is sized by its height. */
.emblem-img { width: auto; height: 210px; max-width: 100%; filter: drop-shadow(0 14px 22px rgba(107, 18, 25, 0.16)); }
.emblem-halo { fill: none; stroke: var(--gold-line); stroke-width: 1; }
/* A ring of gold beads: round caps on dashes of no length. */
.emblem-beads { fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 1; }
.emblem-seal { fill: url(#emblem-red); }
.emblem-red-hi { stop-color: #A8262F; }
.emblem-red-lo { stop-color: var(--red-dark); }
.emblem-gold-hi { stop-color: #F4E3B0; }
.emblem-gold-mid { stop-color: var(--gold-on-red); }
.emblem-gold-lo { stop-color: var(--gold); }
.emblem-ring { fill: none; stroke: url(#emblem-gold); stroke-width: 1.8; }
.emblem-fine { stroke: var(--gold-on-red); stroke-width: 0.7; opacity: 0.75; }
.emblem-arc {
  fill: var(--gold-on-red); letter-spacing: 0.24em;
  font: 400 19px Didot, "Bodoni 72", "Times New Roman", Times, serif;
}
/* Didot or Times rather than Georgia, whose numerals sit low: "1PIN"
   must read as one word, the 1 as tall as the letters. */
.emblem-name { fill: url(#emblem-gold); font: 400 66px Didot, "Bodoni 72", "Times New Roman", Times, serif; }
.emblem-gem { fill: var(--gold-on-red); }
.emblem-rule { stroke: var(--gold-on-red); stroke-width: 1; opacity: 0.75; }

.frame { margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--gold-line); border-radius: var(--radius); }
.frame img { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 4 / 3; border-radius: 3px; }

/* ---- trust strip ------------------------------------------------------- */

.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-row {
  list-style: none; margin: 0 auto; padding-top: 20px; padding-bottom: 20px;
  display: grid; gap: 16px 24px;
}
.trust-row li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.icon {
  display: block; flex: none; width: 30px; height: 30px;
  fill: none; stroke: var(--gold-lo); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.trust-row span { font-size: 14px; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.trust-row strong { display: block; font-size: 15px; color: var(--ink); }

/* ---- sections ---------------------------------------------------------- */

.section { padding: 64px 0; }
.section.alt { background: var(--cream); }
.section p { color: var(--text); }
section[id] { scroll-margin-top: 84px; }

.section-head { text-align: center; margin-bottom: 40px; }
.kicker {
  margin: 0 0 8px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text);
}
.rule { display: block; width: 40px; height: 2px; margin: 16px auto 0; background: var(--gold); }

.prose p:last-child { margin-bottom: 0; }

.cards { display: grid; gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
}
.card-rule { display: block; width: 24px; height: 2px; margin-bottom: 16px; background: var(--gold); }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--red); margin-bottom: 8px; }
.card p { margin: 0; }
.card-link { display: inline-block; margin-top: 14px; font-weight: 700; }
.card-link::after { content: " \2192"; }

/* Each reason under its own icon, large: a gold-rimmed medallion with a
   second fine ring around it, like the mark at the top of the page. The
   outer ring is a shadow, so it costs no extra markup. */
.feature { text-align: center; }
.feature-icon {
  display: grid; place-items: center; width: 76px; height: 76px; margin: 7px auto 20px;
  border: 1px solid var(--gold); border-radius: 50%; background: var(--cream);
  box-shadow: 0 0 0 6px var(--white), 0 0 0 7px var(--gold-line);
}
.feature-icon .icon { width: 36px; height: 36px; stroke: var(--red); stroke-width: 1.25; }
.feature h3 { margin-bottom: 6px; font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--red); }
/* pretty: no single character left alone on the last line. */
.feature p { margin: 0 auto; max-width: 22em; text-wrap: pretty; }
/* Two by two even on a phone, so the four medallions read as a set and
   the page stays short -- except in Tamil, whose longer words need the
   full width until 760 px. */
.cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
:lang(ta) .cards.four { grid-template-columns: minmax(0, 1fr); }

/* How it works, as a timeline: each icon joined to the next by a fine gold
   line. Down the left on a phone and a tablet, across the page on a wide
   screen. The order reads from the line, so no numbers are needed. */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; max-width: 640px; }
/* align-content: start -- the steps in a row are stretched to the tallest,
   and without it the spare height is shared out between icon and text,
   pushing a short step's heading below its neighbours'. */
/* The line runs from the centre of one icon to the centre of the next;
   each icon, and the ring of section colour around it, covers its ends. */
.step {
  position: relative; display: grid; grid-template-columns: 68px 1fr; column-gap: 24px;
  align-content: start; padding-bottom: 36px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 34px; top: 34px; bottom: -34px; width: 1px;
  background: var(--gold-line);
}
.step-icon {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 68px; height: 68px; border: 1px solid var(--gold); border-radius: 50%; background: var(--white);
  box-shadow: 0 0 0 6px var(--cream), 0 0 0 7px var(--gold-line);
}
.step-icon .icon { width: 32px; height: 32px; stroke: var(--red); stroke-width: 1.25; }
.step-text { padding-top: 12px; }
.step h3 { margin-bottom: 6px; font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--red); }
.step p { margin: 0; }

/* ---- online renewal + scam warning ------------------------------------- */

.online { display: grid; gap: 32px; align-items: start; }
.online .lead { margin-top: 0; }
.mini-steps { margin: 18px 0; padding-left: 1.4em; }
.mini-steps li + li { margin-top: 6px; }
.mini-steps li::marker { color: var(--gold-text); font-weight: 700; }
.note { font-size: 15px; color: var(--muted) !important; }
.online .btn { margin-top: 8px; }

/* The one boxed notice on the page: it is the thing worth interrupting a
   reader for. */
.scam {
  background: var(--red-soft); border: 1px solid #EBCFD1; border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 24px 26px;
}
.scam h2 { font-size: 22px; margin-bottom: 12px; }
.scam ul { margin: 0; padding-left: 1.2em; }
.scam li { color: var(--ink); }
.scam li + li { margin-top: 8px; }
.scam li::marker { color: var(--red); }

/* ---- faq --------------------------------------------------------------- */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-weight: 700; color: var(--ink); list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--gold-line); border-radius: 50%;
  color: var(--gold-text); font-weight: 400; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 44px 20px 0; margin: 0; }

/* ---- contact ----------------------------------------------------------- */

.contact-grid { display: grid; gap: 28px; align-items: start; }
.facts { margin: 0; }
.facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts div:first-child { padding-top: 0; }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 13px; font-weight: 700; color: var(--gold-text); }
.facts dd { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink); }
.map-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 6px; font-weight: 600; }

.hours {
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  border-radius: var(--radius); padding: 24px 26px;
}
.hours h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; color: var(--red); margin-bottom: 10px; }
.hours dl { margin: 0; }
/* Day on the left, time on the right; when both will not fit on a narrow
   phone the time drops beneath, still to the right, never split. */
.hours dl div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.hours dl div:last-child { border-bottom: 0; }
.hours dd { margin: 0 0 0 auto; text-align: right; color: var(--ink); font-weight: 600; white-space: nowrap; }
.hours .pending { color: var(--muted); font-style: italic; margin: 0; }
/* The shop front and the inside, with the address: what to look for. */
.shop-photos {
  display: grid; gap: 20px; margin-top: 36px;
  grid-template-columns: minmax(0, 420px); justify-content: start;
}
/* A photo keeps its own shape -- the shop front is portrait -- rather
   than being cut to the frame's. */
.shop-photos picture { display: block; }
.shop-photos .frame img { aspect-ratio: auto; }

/* ---- policy pages ------------------------------------------------------ */

.page { padding-top: 48px; }
.page h1 { margin-bottom: 4px; }
.page h1 + .lead { margin-top: 16px; }
.page-prose { margin-top: 20px; max-width: 42em; }
.policy {
  margin-top: 24px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.policy h2 { font-size: 21px; margin: 24px 0 8px; }
.policy h2:first-child { margin-top: 0; }
.policy ul { padding-left: 1.3em; margin: 0 0 14px; }
.policy li + li { margin-top: 6px; }
/* The company's papers at the foot of About: a quiet box, the same as
   the opening hours. */
.company {
  margin-top: 36px; padding: 24px 26px; background: var(--white);
  border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius);
}
.company h2 { font-size: 21px; margin-bottom: 8px; }
.company-facts { margin: 0; }
.company-facts div {
  display: flex; flex-wrap: wrap; gap: 2px 16px; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.company-facts div:last-child { border-bottom: 0; }
.company-facts dt { flex: 0 0 13em; color: var(--muted); font-size: 15px; }
.company-facts dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.company .note { margin: 12px 0 0; }

.language-note {
  margin: 16px 0 0; padding: 12px 16px; border-left: 3px solid var(--gold);
  background: var(--cream); color: var(--ink);
}

/* ---- footer: deep red, the one other place red is laid down ------------- */

.site-footer { background: var(--red-dark); color: rgba(255, 255, 255, 0.9); padding: 48px 0 22px; }
.site-footer a { color: #fff; }
.site-footer a:focus-visible { outline-color: var(--gold-on-red); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand { font-family: var(--serif); font-size: 21px; color: var(--gold-on-red); margin-bottom: 14px; }
.footer-heading { font-size: 13px; font-weight: 700; color: var(--gold-on-red); margin-bottom: 10px; }
.footer-brand { margin-bottom: 4px; }
.footer-tagline { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 15px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 8px; }
.footer-base {
  margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(230, 207, 149, 0.25);
  color: rgba(255, 255, 255, 0.62); font-size: 13px;
}
.footer-base p { margin: 0; }

/* ---- wider screens ----------------------------------------------------- */

@media (min-width: 760px) {
  .hero { padding: 80px 0 88px; }
  /* minmax(0, ...): a long Tamil word or the mark's own size must not
     widen a column past its share and push the page sideways. */
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
  .hero-emblem { order: 0; }
  .emblem, .emblem-img { width: min(100%, 420px); }
  .emblem-img { width: auto; height: 400px; }
  .shop-photos { grid-template-columns: repeat(2, minmax(0, 420px)); }
  .trust-row { grid-template-columns: repeat(3, 1fr); }
  .cards.four, :lang(ta) .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; }
  .online { grid-template-columns: 1.2fr 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 2fr 1fr; }
  .section { padding: 88px 0; }
}

/* Three cards side by side only once each has room for Tamil's longest
   words ("புகைப்படங்களையும்" is over 200 px): below this they stack. */
@media (min-width: 900px) {
  .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .cards.four, :lang(ta) .cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; max-width: none; }
  .step { grid-template-columns: 1fr; text-align: center; padding-bottom: 0; }
  .step-icon { width: 88px; height: 88px; margin: 7px auto 24px; }
  .step-icon .icon { width: 42px; height: 42px; }
  .step-text { padding-top: 0; }
  /* Across: centre of this icon to centre of the next, one column and the
     28 px gap along. */
  .step:not(:last-child)::before {
    left: 50%; right: calc(-50% - 28px); top: 51px; bottom: auto; width: auto; height: 1px;
  }
  .feature-icon { width: 88px; height: 88px; }
  .feature-icon .icon { width: 42px; height: 42px; }
}

/* ---- below 1100 px the menu drops to its own row ----------------------- */
/* Measured, not guessed: name, menu and button share one row from 901 px in
   English and Chinese, 921 px in Malay and 1041 px in Tamil. One breakpoint
   above all of them, so a longer word in any language cannot cut the name. */

@media (max-width: 1100px) {
  section[id] { scroll-margin-top: 132px; }
  .header-row { flex-wrap: wrap; min-height: 0; padding-bottom: 0; }
  .main-nav {
    order: 3; width: 100%; gap: 22px; overflow-x: auto; scrollbar-width: none;
    padding: 2px 24px 8px 0;
    /* A soft fade at the right edge says there is more to swipe to. */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }
  .main-nav::-webkit-scrollbar { display: none; }
}

/* A phone: the header scrolls away with the page, so the reading area is
   the whole screen; the button says just "Renew"; the name may take two
   lines rather than be cut. */
@media (max-width: 480px) {
  .site-header { position: static; }
  section[id] { scroll-margin-top: 0; }
  .header-row { gap: 10px 12px; padding-top: 12px; }
  .btn-renew .label-long { display: none; }
  .btn-renew .label-short { display: inline; }
  .btn-renew { padding: 8px 14px; }
  .logo { font-size: 18px; gap: 10px; }
  .logo-mark, .logo-img { width: 44px; height: 44px; }
  .logo-img { width: auto; }
  .logo-text {
    line-height: 1.15; white-space: normal;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  }
  .main-nav { gap: 18px; }
  .lang a { padding: 2px 8px; }
  .trust-row { grid-template-columns: 1fr; gap: 12px; }
  .trust-row .icon { width: 26px; height: 26px; }
  .feature-icon { width: 68px; height: 68px; }
  .feature-icon .icon { width: 32px; height: 32px; }
  .feature h3 { font-size: 19px; }
  .feature p { font-size: 15px; line-height: 1.65; }
  .hero { padding: 32px 0 48px; }
  .hero-grid { gap: 28px; }
  .section { padding: 56px 0; }
}

/* The narrowest phones (an old iPhone SE is 320 px). */
@media (max-width: 340px) {
  .logo { gap: 8px; }
  .logo-mark, .logo-img { width: 38px; height: 38px; }
  .logo-img { width: auto; }
  .emblem, .emblem-img { width: 150px; }
  .emblem-img { width: auto; height: 180px; }
  .btn-renew { padding: 8px 10px; font-size: 13px; }
}

/* Tamil: give its taller letters a little more line height. */
:lang(ta) h1 { font-size: clamp(27px, 4vw, 42px); line-height: 1.45; }
:lang(ta) h2 { line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
