@font-face { font-family: Manrope; src: url('/assets/aangan-manrope.woff2') format('woff2'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: Cormorant; src: url('/assets/aangan-cormorant.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
:root { color-scheme: light; --paper: #f7f5ef; --ink: #242a20; --olive: #404e37; --line: #dddacc; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 Manrope, system-ui, sans-serif; }
header { border-bottom: 1px solid var(--line); }
nav, footer, main { width: min(100% - 2rem, 72rem); margin-inline: auto; }
nav, footer { display: flex; align-items: center; gap: clamp(.65rem, 3vw, 2rem); padding-block: 1rem; }
.brand { margin-right: auto; font: 600 clamp(1.4rem, 4vw, 2rem)/1 Cormorant, Georgia, serif; text-decoration: none; }
.brand span { font-size: .75em; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid #846628; outline-offset: 3px; }
main { min-height: min(73svh, 45rem); padding: clamp(2.5rem, 6vw, 6rem) 0; }
h1, h2 { font-family: Cormorant, Georgia, serif; line-height: 1; margin-block: 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.85rem, 7vw, 6.75rem); max-width: 14ch; margin-bottom: .22em; }
h2 { font-size: 2rem; }
.intro { margin-bottom: 2rem; }
.intro p { max-width: 48ch; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1rem; }
form, .result { border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1.25rem, 4vw, 2.7rem); }
form { display: grid; gap: .9rem; background: #fffcf5; }
label { display: grid; gap: .35rem; font-weight: 650; }
select, input, button { font: inherit; min-height: 2.8rem; padding: .52rem .75rem; }
input, select { border-radius: .45rem; border: 1px solid #b6b6a6; color: var(--ink); background: #fffdf8; }
button { width: max-content; border: 1px solid var(--olive); border-radius: .45rem; background: var(--olive); color: #fff; cursor: pointer; margin-top: .35rem; }
button:hover { background: #2d3c27; }
.result { display: flex; flex-direction: column; justify-content: space-between; background: var(--olive); color: #fffaf0; }
.result p { margin-block: 0; }
dl { display: grid; gap: 1rem; margin-block: 1.1rem; }
dl div { border-top: 1px solid #ffffff3d; padding-top: .7rem; }
dt { color: #e9e5d2; font-weight: 700; }
dd { margin: 0; font: 600 clamp(1.7rem, 4vw, 3.2rem)/1.1 Cormorant, Georgia, serif; }
.note { color: #e9e5d2; }
footer { justify-content: space-between; border-top: 1px solid var(--line); flex-wrap: wrap; }
@media (max-width: 48rem) { .workspace { grid-template-columns: 1fr; } nav { font-size: .9rem; } }
@media (prefers-reduced-motion: no-preference) {
  .result { animation: enter .55s ease both; }
  @keyframes enter { from { opacity: 0; translate: 0 .85rem; } }
}
