:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #e9e9e9;
  --soft: #fafafa;
  --serif: "Cormorant Garamond", "Noto Serif Ethiopic", Georgia, serif;
  --sans: "Inter", "Noto Sans Ethiopic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="am"] body { font-size: 17px; line-height: 1.8; }

.wrap { max-width: 1080px; margin: 0 auto; padding-inline: 24px; }

header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.mark { font-family: "Noto Serif Ethiopic", var(--serif); font-size: 22px; letter-spacing: 0.02em; color: var(--ink); text-decoration: none; }
nav { display: flex; align-items: center; gap: 24px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover { color: var(--ink); }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button {
  background: none; border: 0; padding: 6px 12px; font: inherit; font-size: 13px;
  color: var(--muted); cursor: pointer;
}
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--soft); }
@media (max-width: 640px) { nav a { display: none; } }

.hero { padding-block: 120px 96px; text-align: center; border-bottom: 1px solid var(--line); }
.hero .ge {
  font-family: "Noto Serif Ethiopic", var(--serif);
  font-size: clamp(56px, 12vw, 128px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.01em;
}
.hero .tag {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 34px);
  font-style: italic;
  margin: 20px 0 0;
}
html[lang="am"] .hero .tag { font-style: normal; font-family: "Noto Serif Ethiopic", var(--serif); }
.hero .lede { max-width: 560px; margin: 28px auto 0; color: var(--muted); }
.cta {
  display: inline-block; margin-top: 40px; padding: 14px 32px;
  border: 1px solid var(--ink); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 15px;
  background: #fff; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s;
}
.cta:hover { background: var(--ink); color: #fff; }
.cta:disabled { opacity: .5; cursor: default; }

section { padding-block: 96px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; margin: 0 0 48px; }
html[lang="am"] h2 { font-family: "Noto Serif Ethiopic", var(--serif); font-size: clamp(28px, 4.4vw, 40px); }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.grid3 > div { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.grid3 .n { font-family: var(--serif); font-size: 40px; color: #c9c9c9; line-height: 1; }
.grid3 h3 { font-weight: 500; font-size: 18px; margin: 16px 0 8px; }
.grid3 p { color: var(--muted); margin: 0; }

.quote { text-align: center; }
.quote blockquote {
  font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); line-height: 1.3;
  max-width: 760px; margin: 0 auto; font-weight: 400;
}
html[lang="am"] .quote blockquote { font-family: "Noto Serif Ethiopic", var(--serif); font-size: clamp(22px, 3.4vw, 32px); }
.quote cite { display: block; margin-top: 20px; color: var(--muted); font-style: normal; font-size: 14px; }

form.apply { max-width: 720px; }
fieldset { border: 0; padding: 0; margin: 0 0 48px; }
legend { font-family: var(--serif); font-size: 24px; margin-bottom: 20px; padding: 0; }
html[lang="am"] legend { font-family: "Noto Serif Ethiopic", var(--serif); font-size: 21px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
label.f { display: block; margin-bottom: 20px; }
label.f > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 0; border-bottom: 1px solid #d6d6d6; border-radius: 0;
  padding: 10px 0; outline: none; transition: border-color .2s;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%); background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { min-height: 120px; resize: vertical; border: 1px solid #d6d6d6; padding: 12px; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
.photo {
  display: flex; align-items: center; gap: 20px; padding: 20px; border: 1px dashed #d6d6d6; cursor: pointer;
}
.photo img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; background: var(--soft); }
.photo input { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.check input { margin-top: 5px; accent-color: #111; }
.hp { position: absolute; left: -9999px; }
.msg { margin-top: 20px; font-size: 15px; }
.msg.err { color: #9b1c1c; }
.done { padding: 48px 0; }
.done h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin: 0 0 12px; }

details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; max-width: 680px; }

footer { padding-block: 48px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Simple one-screen signup */
header.top .wrap { height: 56px; }
main.simple { max-width: 440px; padding-block: 40px 64px; text-align: center; }
main.simple .ge { font-family: "Noto Serif Ethiopic", var(--serif); font-weight: 400; font-size: clamp(44px, 14vw, 72px); line-height: 1.1; margin: 0; }
main.simple .tag { font-family: var(--serif); font-style: italic; font-size: 22px; margin: 8px 0 32px; }
html[lang="am"] main.simple .tag { font-style: normal; font-family: "Noto Serif Ethiopic", var(--serif); font-size: 19px; }
main.simple form { text-align: left; }
.selfie {
  display: flex; align-items: center; justify-content: center;
  width: 200px; height: 200px; margin: 0 auto 32px; border-radius: 50%;
  border: 1px dashed #cfcfcf; overflow: hidden; cursor: pointer; color: var(--muted);
}
.selfie img { width: 100%; height: 100%; object-fit: cover; }
.selfie-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; }
.selfie input { display: none; }
.cta.wide { width: 100%; margin-top: 12px; }
main.simple .done { text-align: center; }
