:root {
  --ion-background: #F9FAF6;
  --ion-text: #2C2C2C;
  --ion-muted: #777;
  --ion-button: #3A241E;
  --ion-divider: #D4CFC7;
  color-scheme: light;
  font-family: "YekanBakh", sans-serif;
  background: var(--ion-background);
  color: var(--ion-text);
}

@font-face {
  font-family: "YekanBakh";
  src: url("/fonts/YekanBakh-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src: url("/fonts/YekanBakh-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YekanBakh";
  src: url("/fonts/YekanBakh-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ion-background);
  font-family: "YekanBakh", sans-serif;
  font-size: 14px;
  line-height: 1.85;
}

a { color: var(--ion-button); }

.shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  justify-self: end;
  width: 40px;
  height: 44px;
}

.brand-logo { width: 40px; height: 44px; object-fit: contain; }



.back-to-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 50%;
}

.back-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.35;
}

.back-to-app:hover .back-icon { opacity: 0.65; }
.back-to-app:focus-visible { outline: 2px solid var(--ion-button); outline-offset: 3px; }

.hero {
  padding: 40px 44px 30px;
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--ion-button);
  font-size: 0.83rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.5;
}

.summary {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--ion-muted);
}

.content { padding: 28px 44px 46px; }

section {
  padding: 14px 0;
  border-bottom: 1px solid var(--ion-divider);
}

section:last-child { border-bottom: 0; }
.document[hidden] { display: none; }

h2 {
  margin: 0 0 8px;
  color: var(--ion-text);
  font-size: 1rem;
}

p { margin: 7px 0; }

ul {
  margin: 8px 0;
  padding-right: 22px;
}

.notice {
  margin: 14px 0;
  padding: 13px 16px;
  border-right: 4px solid var(--ion-button);
  border-radius: 10px;
  background: var(--ion-background);
}

.meta {
  margin-top: 20px;
  color: var(--ion-muted);
  font-size: 0.88rem;
}

footer {
  padding-top: 24px;
  color: var(--ion-muted);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 620px) {
  .shell { width: min(100% - 20px, 920px); padding-top: 20px; }
  .hero, .content { padding-right: 22px; padding-left: 22px; }
}
.contact-list { margin: 0; }

.contact-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ion-divider);
}

.contact-row:last-child { border-bottom: 0; }
.contact-row dt { font-weight: 700; }
.contact-row dd { margin: 0; overflow-wrap: anywhere; }
.contact-pending { color: var(--ion-muted); }

@media (max-width: 620px) {
  .contact-row { grid-template-columns: 1fr; gap: 2px; }
}
