/* Durgasutra. The page is an aged print sheet: paper ground, old-press type, vermilion ink. */
:root {
  --paper: #E9DCC0; --field: #FBF5E6; --ink: #2B1D12; --ink-2: #3D2C1C; --muted: #5A4632;
  --red: #A3271C; --rule: #8A6A3A; --line: #8A7353; --ochre: #7A4E12; --cream: #FFF6E4;
  --display: 'IM Fell English', Georgia, serif;
  --text: 'EB Garamond', Georgia, serif;
  --deva: 'Eczar', 'Noto Serif Devanagari', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--text); font-size: 20px; line-height: 1.5;
  background: var(--paper) url(paper.jpg) 0 0 / 820px 820px;
}
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::placeholder { color: #75614A; opacity: 1; }
h1, h2, h3, p, figure, ol, ul, fieldset { margin: 0; }
h1, h2, .h-display { font-family: var(--display); font-weight: 400; }
[lang="sa"], [lang="hi"] { font-family: var(--deva); }
.price { font-family: var(--text), var(--deva); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.kicker { font-size: 19px; font-variant-caps: all-small-caps; letter-spacing: 0.12em; color: var(--ochre); }
.muted { color: var(--muted); }
.note { font-size: 17px; line-height: 1.35; color: var(--muted); }

/* Header */
.top { max-width: 1160px; margin: 0 auto; padding: 16px 28px 0; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 54px; flex: none; display: block; }
.brand span { font-family: var(--display); font-size: 31px; line-height: 1; color: var(--ink); }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 26px; font-size: 19px; }

/* The link to the page in the other language. */
.lang { padding: 0.12em 0.6em 0.08em; border: 1px solid var(--line); border-radius: 2px; background: rgba(251, 245, 230, 0.5); text-decoration: none; white-space: nowrap; }
.lang:hover { border-color: var(--red); }
.lang[lang="hi"] { font-family: var(--deva); }
.lang[lang="en"] { font-family: 'EB Garamond', Georgia, serif; }

/* The Hindi page. Eczar is the Devanagari face throughout, and it is cut wider and taller than the Latin faces, so sizes come down a step. */
html[lang="hi"] { --text: 'Eczar', 'EB Garamond', Georgia, serif; --display: 'Eczar', 'IM Fell English', Georgia, serif; }
html[lang="hi"] body { font-size: 18px; line-height: 1.6; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] .h-display, html[lang="hi"] .btn, html[lang="hi"] .brand span { font-weight: 500; }
html[lang="hi"] .band h2 { font-size: 36px; line-height: 1.3; }
html[lang="hi"] .parts h3 { font-size: 21px; line-height: 1.35; }
html[lang="hi"] .num { font-style: normal; }
html[lang="hi"] .kicker { letter-spacing: 0; font-variant-caps: normal; font-size: 17px; }
html[lang="hi"] .order h1 { line-height: 1.2; }
html[lang="hi"] .field > label, html[lang="hi"] .field > .err { line-height: 1.45; }
html[lang="hi"] .offer, html[lang="hi"] .samples > summary, html[lang="hi"] .plate figcaption, html[lang="hi"] .hero em { font-style: normal; }
html[lang="hi"] .note, html[lang="hi"] .all, html[lang="hi"] .vignette figcaption, html[lang="hi"] .sample-link { font-style: normal; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--display); font-size: 23px; line-height: 1.1; text-align: center; text-decoration: none;
  padding: 14px 26px; min-height: 56px; background: var(--red); color: var(--cream); border: 0; border-radius: 2px; cursor: pointer;
  box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 5px rgba(255, 240, 212, 0.6);
}
.btn:hover { color: var(--cream); background: #8E2017; box-shadow: inset 0 0 0 4px #8E2017, inset 0 0 0 5px rgba(255, 240, 212, 0.6); }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn-pay { width: 100%; font-size: 25px; padding: 15px 20px; min-height: 60px; }

/* Hero: the print and the whole order form on one screen, nothing to scroll.
   Sizes in here are in em. On a wide screen the type follows the screen's height, so the form always ends where the screen does.
   Two bands. A header: the name and verse on the left, the links on the right. Under it the print and the form side by side,
   sharing a top edge (the form's title) and a bottom edge (the Pay button). The sample report link hangs under the print,
   in the space the hero keeps below. */
.hero {
  --gap: 0.8em;
  --print: min(22.5em, 34vw);
  max-width: 1640px; margin: 0 auto; padding: 14px 28px calc(14px + 2.4em); min-height: min(100vh, 916px);
  display: grid; justify-content: center; align-content: center;
  grid-template-columns: auto minmax(0, 46em); grid-template-rows: auto auto auto;
  grid-template-areas: "brand nav" "verse ." "plate order";
  column-gap: clamp(26px, 3.4vw, 60px);
  font-size: clamp(15px, min(calc(2.55vh - 1px), 1.5vw), 21px); line-height: 1.35;
}
@supports (height: 100svh) {
  .hero { min-height: min(100svh, 916px); font-size: clamp(15px, min(calc(2.55svh - 1px), 1.5vw), 21px); }
}
.hero .top { display: contents; }
.hero .brand { grid-area: brand; align-self: start; gap: 0.55em; padding-bottom: 0.5em; }
.hero .brand img { width: 2.5em; height: 2.5em; }
.hero .brand span { font-size: 1.55em; }
.hero .top nav { grid-area: nav; align-self: center; justify-self: end; padding-bottom: 0.5em; font-size: 0.95em; gap: 0.2em 1.3em; justify-content: flex-end; }
.verse { grid-area: verse; font-family: var(--deva); font-size: 0.95em; line-height: 1.4; color: var(--red); padding-bottom: 1.1em; }
/* The print is exactly as tall as the form beside it. Its width is set so that this is its own shape, give or take a line of
   text; the difference is trimmed from the print's plain margin. If the form is much the taller, the print stops growing. */
.plate { position: relative; grid-area: plate; align-self: stretch; min-width: 0; width: var(--print); max-height: calc(var(--print) * 1.43); }
.plate img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 0 0 1px rgba(43, 29, 18, 0.28), 0 18px 28px -22px rgba(43, 29, 18, 0.7); }
.plate figcaption { position: absolute; top: 100%; left: 0; right: 0; margin-top: 0.7em; text-align: center; font-size: 1em; line-height: 1.35; font-style: italic; }
.plate figcaption a { color: var(--red); }
.plate figcaption .muted { font-size: 0.86em; }
.plate figcaption .short { display: none; }
/* The form, top to bottom: its title and the price, then the question on the left and the person on the right, then Pay. */
.order {
  grid-area: order; min-width: 0; max-width: 46em;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 1.15em 1.6em;
}
.head, .pay { grid-column: 1 / -1; }
.order h1 { font-size: 2.6em; line-height: 1; margin-top: -0.14em; }
.lede { font-size: 1.02em; color: var(--ink-2); margin-top: 0.35em; }
/* The price of one question, under the title: the sale price, the full price struck through, and the sale's last day. */
.priced { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 0.8em; margin-top: 0.5em; line-height: 1.3; color: var(--ink-2); }
.priced .now { font-size: 0.95em; font-weight: 600; }
.priced .price { font-size: 1.5em; line-height: 1.1; font-weight: 500; color: var(--red); }
.priced s { margin: 0 0.3em 0 0.15em; font-weight: 400; color: var(--muted); }
.offer { font-size: 0.95em; font-style: italic; color: var(--red); }
.ask, .who { min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.who { justify-content: space-between; }

/* A field is one box: its name in small letters at the top, what is typed under it. What is wrong with a field takes
   the name's place, in red. Nothing sits on a border. */
.field {
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0.4em 0.75em 0.36em;
  border: 1px solid var(--line); border-radius: 2px; background: var(--field); cursor: text;
}
.field > label, .field > .err { display: block; font-size: 0.78em; line-height: 1.3; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field > .err { color: var(--red); }
.field > .err:empty { display: none; }
.field:has(> .err:not(:empty)) > label { display: none; }
input[type="text"], input[type="tel"], textarea {
  font: inherit; line-height: 1.35; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; outline: none; background: none; color: var(--ink);
}
textarea { display: block; resize: none; }
/* The box shows which field is being typed in, so the input inside it carries no ring of its own. */
.field input:focus, .field textarea:focus, .field input:focus-visible, .field textarea:focus-visible { outline: none; }
.field:focus-within { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field:has([aria-invalid="true"]) { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.err { font-size: 17px; line-height: 1.3; color: var(--red); font-weight: 600; }
.err:empty { display: none; }
.hero .note, .pay .err { font-size: 0.82em; line-height: 1.3; }

/* The choice of AM or PM, or of a language, shows on the whole cell, so the round dot is kept for the keyboard and screen readers only. */
.ampm input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.ampm:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }

/* The question and its situation. The situation box takes whatever height is left. With two or three questions, on a wide
   screen one shows at a time and small switches in the place of the box's name move between them. */
#questions { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.qblock { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--gap); }
.ask-q textarea { height: 2.7em; max-height: 5.4em; }
.about { flex: 1 1 auto; }
.about textarea { flex: 1 1 auto; min-height: 4.05em; }
.qpick { position: absolute; z-index: 2; top: calc(0.4em + 1px); left: calc(0.75em + 1px); display: flex; gap: 0.3em; }
.qpick button {
  position: relative; font: inherit; font-size: 0.78em; line-height: 1.3; font-weight: 600; padding: 0 0.65em; min-width: 2.3em; white-space: nowrap;
  border: 0; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--line); background: none; color: var(--ink-2); cursor: pointer;
}
.qpick button::after { content: ""; position: absolute; inset: -0.5em -0.1em; }
.qpick button[aria-current="true"] { background: var(--ink); box-shadow: none; color: var(--cream); }
.qpick button.bad { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.qpick button.bad[aria-current="true"] { background: var(--red); box-shadow: none; color: var(--cream); }
@media (min-width: 1024px) {
  #questions.multi .ask-q > label, #questions.multi .ask-q > .err { display: block; visibility: hidden; }
  #questions.multi .ask-q > .err:not(:empty) { display: none; }
}
/* Under the questions: one more question, with what it adds to the price, and a way to take the last one back. */
.more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.3em 1em; }
.more .add {
  flex: 1 1 auto; font: inherit; font-size: 0.9em; line-height: 1.3; font-weight: 600; text-align: left; padding: 0.42em 0.8em 0.4em;
  border: 1px dashed var(--line); border-radius: 2px; background: rgba(251, 245, 230, 0.55); color: var(--ink); cursor: pointer;
}
.more .add::before { content: "+"; margin-right: 0.5em; font-weight: 400; color: var(--red); }
.more .add .price { color: var(--red); }
.more .add:hover { border-color: var(--red); border-style: solid; }
.more .drop { font: inherit; font-size: 0.78em; line-height: 1.3; padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; white-space: nowrap; }
.more .drop:hover { color: var(--red); }

/* Sample questions: a link in the question box's top right corner opens a list over the boxes below it, so nothing on the
   page moves. One subject is open at a time. Choosing a question writes it into the box. */
.samples > summary {
  position: absolute; z-index: 3; top: calc(0.4em + 1px); right: calc(0.75em + 1px); list-style: none;
  font-size: 0.78em; line-height: 1.3; font-style: italic; color: var(--red); white-space: nowrap; cursor: pointer;
}
.samples > summary::-webkit-details-marker, .topic > summary::-webkit-details-marker { display: none; }
.samples > summary span { text-decoration: underline; }
.samples > summary::after {
  content: ""; display: inline-block; width: 0.4em; height: 0.4em; margin-left: 0.45em;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-0.22em) rotate(45deg);
}
.samples[open] > summary::after { transform: translateY(0.08em) rotate(225deg); }
.samples .short { display: none; }
.samples-panel {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(var(--samples-top, 4.5em) + 0.3em); max-height: 60vh; overflow: auto; overscroll-behavior: contain;
  padding: 0.5em 0.85em 0.2em; background: var(--field); border: 1px solid var(--ink); border-radius: 2px; box-shadow: 0 18px 28px -18px rgba(43, 29, 18, 0.75);
}
.samples-panel > .note { padding-bottom: 0.4em; font-style: italic; }
.topic { border-top: 1px solid rgba(138, 115, 83, 0.45); }
.topic > summary { list-style: none; display: flex; align-items: baseline; justify-content: space-between; gap: 1em; padding: 0.34em 0 0.28em; font-size: 0.92em; font-weight: 600; cursor: pointer; }
.topic > summary::after { content: "+"; font-weight: 400; color: var(--muted); }
.topic[open] > summary::after { content: "\2013"; }
.topic[open] > summary { color: var(--red); }
.topic ul { list-style: none; margin: 0; padding: 0 0 0.35em; }
.topic button { display: block; width: 100%; font: inherit; font-size: 0.95em; line-height: 1.3; text-align: left; padding: 0.2em 0.2em 0.2em 0.9em; border: 0; border-radius: 2px; background: none; color: var(--ink); cursor: pointer; }
.topic button:hover { color: var(--red); background: rgba(163, 39, 28, 0.07); }

/* The country code sits in front of the number, in the same box. It starts as +91 and follows the visitor's country. */
.tel { display: flex; gap: 0.6em; }
.tel #cc { flex: none; width: 2.9em; border-right: 1px solid rgba(138, 115, 83, 0.45); }
/* Date and time of birth share a row. AM and PM are two cells at the right end of the time box. */
.born { display: flex; gap: var(--gap); }
.born > .field:first-child { flex: 1 1 0; }
.born > .field:last-child { flex: 0 0 12.2em; }
.time { display: flex; align-items: center; gap: 0.4em; }
.time input { flex: 1 1 0; }
/* A choice of two, as two small cells side by side on the line where the typing goes: AM or PM, and the report's language. */
.seg { display: flex; flex: none; align-self: flex-start; }
.ampm { position: relative; display: flex; align-items: center; justify-content: center; height: 1.6em; padding: 0 0.55em; border: 1px solid rgba(138, 115, 83, 0.7); font-size: 0.82em; line-height: 1; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.ampm + .ampm { border-left: 0; }
.ampm:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.ampm:has(input:disabled) { cursor: default; }
/* "Don't know", in the top right corner of the time box, for someone who was never told the time. Ticked, the time is not asked for. */
.unsure { position: absolute; top: calc(0.51em + 1px); right: 0.96em; font-size: 0.78em; line-height: 1.3; font-weight: 600; color: var(--muted); }
.unsure label { display: flex; align-items: center; gap: 0.3em; white-space: nowrap; cursor: pointer; }
.unsure input { width: 0.95em; height: 0.95em; margin: 0; accent-color: var(--red); }
.unsure .full { display: none; }
@media (min-width: 1024px) {
  .born > .field:last-child > label, .born > .field:last-child > .err { padding-right: 6.6em; }
  html[lang="hi"] .born > .field:last-child > label, html[lang="hi"] .born > .field:last-child > .err { padding-right: 5.4em; }
}
.field:has(#tob-unknown:checked) .time { opacity: 0.5; }
/* The WhatsApp number, and beside it the language the report is written in. */
.placed { display: flex; gap: var(--gap); }
.placed > .field:first-child { flex: 1 1 0; }
.placed > .field:last-child { flex: none; cursor: default; }
.field:has(> .err:not(:empty)) .ampm:not(:has(input:checked)) { color: var(--red); }
/* Pay, under both columns: when the report comes on the left, the button on the right. */
.pay { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1.6em; align-items: center; padding-top: 0.25em; }
.pay > * { grid-row: 1; grid-column: 1; }
/* Beside the button: where to ask, and under it when the report comes. */
.pay-notes { display: flex; flex-direction: column; gap: 0.2em; min-width: 0; }
.pay-notes a { color: var(--red); white-space: nowrap; }
html[lang="hi"] .pay .note { font-size: 0.84em; }
.pay .btn-pay { grid-column: 2; }
.pay .note { font-size: 0.95em; line-height: 1.3; font-style: italic; color: var(--ink-2); }
.btn-pay { width: 100%; font-size: 1.28em; padding: 0.55em 0.8em; min-height: 2.5em; }
.pay .err:not(:empty) + .note { display: none; }
.done { display: flex; flex-direction: column; gap: 0.7em; align-self: center; min-height: 0; max-width: 30em; border: 2px solid var(--red); background: var(--field); padding: 1.2em 1.2em 1.3em; }
.done h2 { font-size: 1.9em; line-height: 1.05; }
/* Someone back from the payment reminder: their order is saved, so this holds only the Pay button. */
.done .btn-pay { margin-top: 0.2em; }
.done .again { align-self: flex-start; font: inherit; font-size: 0.86em; padding: 0; border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.done .again:hover { color: var(--red); }
[hidden] { display: none !important; }

/* A small laptop or a tablet on its side: a narrower print and tighter boxes, so the form's two columns keep their width. */
@media (max-width: 1240px) {
  .verse { padding-bottom: 0.9em; }
  .hero { column-gap: 26px; }
  .order, .pay { column-gap: 1em; }
  .pay .note { font-size: 0.86em; }
  html[lang="hi"] .pay .note { font-size: 0.78em; }
  #dob::placeholder, #tob::placeholder { font-size: 0.92em; }
  .btn-pay { font-size: 1.12em; }
  .field { padding-left: 0.6em; padding-right: 0.6em; }
  .born > .field:last-child { flex-basis: 11.6em; }
  .ampm { padding: 0 0.42em; }
  .unsure { right: 0.77em; }
  .qpick { left: calc(0.6em + 1px); }
  .samples > summary { right: calc(0.6em + 1px); }
}

/* A narrow screen: the upper half of the print as a strip across the top, and under it the form in one column that scrolls.
   A phone's keyboard covers half the screen as soon as a box is tapped, so nothing here tries to fit one screen: every box is
   the full width, what is typed is 18px, and anything to be tapped is about 44px tall. */
@media (max-width: 1023px) {
  .hero { display: flex; flex-direction: column; max-width: none; padding: 0 0 26px; min-height: 0; font-size: 17px; --gap: 12px; }
  .hero .top { order: 0; display: flex; flex-wrap: nowrap; max-width: none; margin: 0; padding: 5px 16px; }
  .hero .brand, .hero .top nav { padding: 0; }
  .plate { order: 1; }
  .verse { order: 2; align-self: center; width: 100%; max-width: 592px; padding: 8px 16px 0; font-size: 13px; }
  .order { order: 3; }
  .hero .brand img { width: 34px; height: 34px; }
  .hero .brand span { font-size: 24px; }
  .hero .top nav { display: grid; grid-template-columns: auto auto; justify-items: end; align-items: center; gap: 0 10px; font-size: 14px; line-height: 1.25; }
  .hero .top nav .lang { grid-column: 2; grid-row: 1 / span 2; padding: 5px 9px 4px; }
  .plate { position: relative; align-self: stretch; width: auto; flex: none; height: clamp(120px, 36vw, 230px); max-height: none; }
  /* The sample report link sits just under the strip, on the right, beside the verse. */
  .plate figcaption { position: absolute; z-index: 2; top: 100%; left: auto; right: max(16px, calc((100% - 592px) / 2 + 16px)); margin: 0; padding: 7px 0 9px 12px; font-size: 14px; line-height: 1.3; }
  .plate figcaption .muted { display: none; }
  /* A narrow screen is sent only the upper half of the print (the <picture> in the page), cut to a strip. */
  .plate img { object-position: 50% 22%; box-shadow: 0 1px 0 rgba(43, 29, 18, 0.28), 0 -1px 0 rgba(43, 29, 18, 0.28); }
  .order { display: flex; flex-direction: column; align-self: center; flex: none; gap: var(--gap); width: 100%; max-width: 592px; min-height: 0; padding: 6px 16px 0; }
  .order h1 { font-size: 30px; margin-top: 0; }
  .lede { font-size: 16px; line-height: 1.3; margin-top: 4px; }
  .priced { margin-top: 9px; }
  .priced .now, .offer { font-size: 16px; }
  .who { justify-content: flex-start; }
  /* A box: its name at 14px, what is typed at 18px. A message may run to a second line. */
  .field { padding: 9px 13px; }
  .field > label, .field > .err { font-size: 14px; line-height: 1.3; white-space: normal; margin-bottom: 2px; }
  .field input[type="text"], .field input[type="tel"], .field textarea { font-size: 18px; line-height: 1.4; }
  /* The question starts at two lines and the situation at five; both grow with what is typed (order.js), with no limit. */
  .ask-q textarea { height: 2.8em; max-height: none; }
  .about { flex: none; }
  .about textarea { flex: none; height: 7em; min-height: 0; }
  /* Every question bought shows, one under another, each under its own name; the switches are not needed. */
  .qblock + .qblock { margin-top: var(--gap); }
  #questions .qblock[hidden] { display: flex !important; }
  .qpick { display: none; }
  .samples > summary { top: 3px; right: 13px; padding: 6px 0 6px 14px; font-size: 14px; line-height: 1.3; }
  .samples-panel { padding: 0.5em 0.75em 0.2em; }
  .topic > summary { padding: 0.62em 0 0.56em; }
  .topic button { padding-top: 0.5em; padding-bottom: 0.5em; }
  .more .add { min-height: 46px; font-size: 16px; padding: 9px 13px; }
  .more .drop { margin-left: auto; padding: 6px 0; font-size: 14px; }
  /* Date, time, place, number and language: each its own row. */
  .born, .placed { flex-direction: column; }
  .born > .field:first-child, .born > .field:last-child, .placed > .field:first-child { flex: none; }
  .time { gap: 12px; }
  .seg { align-self: center; }
  .ampm { height: 44px; min-width: 58px; padding: 0 16px; font-size: 16px; }
  /* "I don't know my time of birth" is a row of its own under the time, with a tick large enough to tap. */
  .unsure { position: static; margin-top: 9px; padding-top: 6px; border-top: 1px solid rgba(138, 115, 83, 0.35); font-size: 15px; line-height: 1.3; font-weight: 400; color: var(--ink-2); }
  .unsure label { min-height: 34px; gap: 10px; white-space: normal; }
  .unsure input { flex: none; width: 20px; height: 20px; }
  .unsure .full { display: inline; }
  .unsure .short { display: none; }
  .tel { gap: 0.6em; }
  .tel #cc { width: 2.7em; }
  /* The report's language: its name on the left, the two choices on the right. */
  .placed > .field:last-child { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
  .placed > .field:last-child > label { font-size: 15px; margin: 0; }
  .pay { display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
  .pay-notes { align-items: center; gap: 3px; text-align: center; }
  .pay .note { font-size: 15px; font-style: normal; color: var(--muted); }
  html[lang="hi"] .pay .note { font-size: 15px; }
  .btn-pay { font-size: 23px; min-height: 58px; padding: 0.45em 0.6em; }
  .done { flex: none; margin: 20px 16px; width: auto; padding: 1em 1em 1.1em; }
}
@media (max-width: 380px) {
  .hero .brand { gap: 6px; }
  .hero .brand span { font-size: 21px; }
  .hero .top nav { font-size: 13px; gap: 0 7px; }
  .order h1 { font-size: 28px; }
}

/* Sections below the hero */
.band { border-top: 4px double var(--rule); padding: 60px 0 64px; }
.band h2 { font-size: 44px; line-height: 1.08; }
.center { text-align: center; }
.parts { list-style: none; padding: 0; margin-top: 34px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 30px 36px; }
.parts li { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--rule); padding-top: 12px; }
.num { font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1.1; color: var(--red); }
.parts h3 { font-size: 24px; font-weight: 600; line-height: 1.2; }
.parts p { color: var(--ink-2); }
.sample-link { margin-top: 34px; font-size: 21px; font-style: italic; }
.sample-link a { color: var(--red); }
.split { display: flex; flex-wrap: wrap; gap: 28px 64px; align-items: center; justify-content: center; }
.split.rev { flex-wrap: wrap-reverse; }
.split .copy { flex: 1 1 400px; min-width: 0; max-width: 560px; display: flex; flex-direction: column; gap: 14px; }
.split ul { padding-left: 1.1em; display: flex; flex-direction: column; gap: 4px; }
.vignette { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.vignette.wide { flex-basis: 400px; }
.vignette img { display: block; width: 100%; max-width: 290px; height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 58%, transparent 100%); }
.vignette.wide img { max-width: 400px; }
.vignette figcaption { font-size: 17px; font-style: italic; color: var(--muted); text-align: center; }

.foot { border-top: 4px double var(--rule); padding: 30px 0 48px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.foot .crest { display: block; width: 170px; height: auto; }
.foot .name { font-family: var(--display); font-size: 30px; line-height: 1; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: center; font-size: 19px; }

/* Sample report */
.report { max-width: 800px; margin: 0 auto; padding: 34px 28px 0; display: flex; flex-direction: column; gap: 46px; }
.report .title { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
.report .title h1 { font-size: 58px; line-height: 1; }
.report .title p:last-child { max-width: 560px; font-style: italic; color: var(--muted); }
.report section { border-top: 4px double var(--rule); padding-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.asked { font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1.2; }
.part { display: flex; align-items: baseline; gap: 14px; }
.part .num { font-size: 34px; line-height: 1; }
.part h2 { font-size: 40px; line-height: 1.08; }
.answer h3 { font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--red); }
.answer p { font-size: 23px; line-height: 1.4; margin-top: 4px; }
.report h3.sub { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; margin-top: 8px; }
.report h3.small { font-size: 22px; font-weight: 600; line-height: 1.25; margin-top: 8px; }
.mantra { font-family: var(--deva); font-weight: 500; font-size: 26px; line-height: 1.4; color: var(--red); }
.mantras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 18px 36px; }
.shakti { border-left: 3px solid var(--red); padding-left: 16px; }
.shakti span { display: block; font-family: var(--deva); font-weight: 500; font-size: 1.1em; color: var(--red); }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; line-height: 1.35; }
th { text-align: left; padding: 8px 14px 8px 0; border-bottom: 2px solid var(--ink); font-weight: 600; font-variant-caps: all-small-caps; letter-spacing: 0.08em; color: var(--muted); }
td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; white-space: nowrap; }
td.when { white-space: nowrap; font-weight: 600; }
td.sure { font-weight: 600; color: var(--red); }
.dates { min-width: 520px; }
.agree { min-width: 680px; font-size: 18px; }
.agree td:first-child { font-weight: 600; }
.steps { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.forty { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; max-width: 540px; }
.forty span { aspect-ratio: 1 / 1; border: 1px solid var(--line); background: rgba(251, 245, 230, 0.6); padding: 2px 5px; font-size: 15px; line-height: 1.2; color: var(--muted); }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 26px 36px; }
.charts figure { display: flex; flex-direction: column; gap: 6px; }
.charts img { display: block; width: 100%; height: auto; }
.charts figcaption { font-size: 17px; line-height: 1.35; color: var(--ink-2); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 22px 36px; }
.cols ul { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-direction: column; gap: 7px; font-size: 18px; line-height: 1.35; }
.cols h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.fine { font-size: 18px; line-height: 1.45; }
.ending { border-top: 4px double var(--rule); padding: 34px 0 56px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.ending img { display: block; width: 150px; height: auto; }
.ending .h-display { font-size: 34px; line-height: 1.1; }

/* Blogs: the list of posts, and a post. One column of text on the paper and nothing beside it. */
.blogs, .post { max-width: 736px; margin: 0 auto; padding: 44px 28px 0; }
.post .kicker a { color: inherit; text-decoration: none; }
.post .kicker a:hover { color: var(--red); }
.post h1, .blogs h1 { font-size: 56px; line-height: 1.04; margin-top: 6px; }
.standfirst { font-size: 25px; line-height: 1.35; font-style: italic; color: var(--ink-2); margin-top: 14px; }
.post .body { margin-top: 30px; border-top: 4px double var(--rule); padding-top: 30px; font-size: 22px; line-height: 1.55; }
.post .body > * + * { margin-top: 0.85em; }
.post .body h2 { font-size: 35px; line-height: 1.12; margin-top: 1.5em; }
.post .body ol, .post .body ul { padding-left: 1.2em; }
.post .body li + li { margin-top: 0.4em; }
.post .body strong { font-weight: 600; }
/* Words quoted from a text: set in from both sides, in italics. A verse stands in its own script, in red, with its meaning under it. */
.quote { padding: 0 1.4em; font-style: italic; color: var(--ink-2); }
.sloka { padding: 0.3em 0.6em; text-align: center; }
.sloka [lang="sa"] { display: block; font-size: 1.05em; font-weight: 500; line-height: 1.6; color: var(--red); }
.sloka .tr { display: block; max-width: 30em; margin: 0.4em auto 0; font-style: italic; color: var(--ink-2); }
.sloka cite { display: block; margin-top: 0.3em; font-size: 17px; font-style: normal; color: var(--muted); }
/* The nine planets: a name, and under it what it keeps. */
.grahas { margin-bottom: 0; }
.grahas dt { border-top: 1px solid var(--rule); padding-top: 0.55em; margin-top: 1em; font-family: var(--display); font-size: 28px; line-height: 1.15; }
.grahas dt span { font-family: var(--text); font-size: 19px; font-style: italic; color: var(--ochre); margin-left: 0.3em; }
.grahas dd { margin: 0.25em 0 0; }
/* The list of posts. */
.blogs section { margin-top: 40px; border-top: 4px double var(--rule); padding-top: 26px; }
.blogs h2 { font-size: 38px; line-height: 1.1; }
.blogs .about { font-style: italic; color: var(--muted); margin-top: 4px; }
.blogs ul { list-style: none; padding: 0; margin-top: 8px; }
.blogs li { padding: 18px 0; }
.blogs li + li { border-top: 1px solid var(--rule); }
.blogs h3 { font-family: var(--display); font-weight: 400; font-size: 29px; line-height: 1.15; }
.blogs h3 a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
.blogs h3 a:hover { color: var(--ink); }
.blogs li p { margin-top: 5px; color: var(--ink-2); }
.post-end { margin-top: 46px; border-top: 4px double var(--rule); padding: 30px 0 56px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.post-end .next { font-family: var(--display); font-size: 28px; line-height: 1.2; }
.post-end .next span { display: block; font-family: var(--text); font-size: 19px; font-variant-caps: all-small-caps; letter-spacing: 0.12em; color: var(--ochre); }
.post-end .next a { color: var(--red); }
/* The posts named on the first page. */
.reads { list-style: none; padding: 0 !important; gap: 8px !important; }
.reads a { color: var(--red); }
.all { font-style: italic; }

/* Phones */
@media (max-width: 860px) {
  .blogs, .post { padding: 26px 16px 0; }
  /* The header of a blog page: the name and its two links stay on one line on a phone. */
  .top.page { flex-wrap: nowrap; gap: 10px; }
  .top.page .brand { gap: 9px; }
  .top.page .brand img { width: 38px; height: 38px; }
  .top.page .brand span { font-size: 24px; }
  .top.page nav { flex-wrap: nowrap; gap: 14px; font-size: 16px; white-space: nowrap; }
  .post h1, .blogs h1 { font-size: 40px; }
  .standfirst { font-size: 22px; }
  .post .body { font-size: 20px; padding-top: 24px; margin-top: 24px; }
  .post .body h2 { font-size: 29px; }
  .quote { padding: 0 0.8em; }
  .sloka { padding: 0.2em 0; }
  .grahas dt { font-size: 25px; }
  .blogs h2 { font-size: 31px; }
  .blogs h3 { font-size: 25px; }
  .post-end .next { font-size: 24px; }
  body { font-size: 19px; }
  .top { padding: 10px 16px 0; }
  .brand img { width: 46px; height: 46px; }
  .brand span { font-size: 27px; }
  .top nav { font-size: 17px; gap: 2px 18px; }
  .wrap { padding: 0 16px; }
  .band { padding: 44px 0 48px; }
  .band h2, .part h2 { font-size: 34px; }
  .report { padding: 22px 16px 0; gap: 36px; }
  .report .title h1 { font-size: 42px; }
  .asked { font-size: 25px; }
  .answer p { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
