@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/eb-garamond-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-regular.woff2") format("woff2");
}

* { box-sizing: border-box; }

:root {
  color-scheme: light;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #183b67;
  background: #f5f0e6;
  -webkit-font-smoothing: antialiased;
}

body { margin: 0; }

.page {
  width: min(100% - 112px, 1040px);
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 88px 0 104px;
}

.logo {
  display: block;
  width: 104px;
  height: 104px;
  margin: 0 0 29px -10px;
}

h1 {
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(50px, 7.5vw, 86px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

p { margin: 0; }

.intro {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: #69717a;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  border-top: 1px solid #d7d3ca;
  padding: 25px 0 32px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.025em;
  color: #69717a;
}

footer a {
  color: #183b67;
  text-decoration: underline;
  text-decoration-color: #adb4ba;
  text-underline-offset: 5px;
}

footer a span { margin-left: 7px; }
footer a:hover { color: #16499a; text-decoration-color: currentColor; }
footer a:focus-visible { outline: 2px solid #16499a; outline-offset: 7px; }
::selection { background: #dce3eb; color: #183b67; }

@media (max-width: 600px) {
  .page { width: calc(100% - 56px); }
  main { padding: 72px 0 88px; }
  .logo { width: 84px; height: 84px; margin: 0 0 28px -8px; }
  h1 { font-size: clamp(42px, 11vw, 62px); }
  .intro { font-size: 16px; margin-top: 20px; }
  footer { flex-wrap: wrap; gap: 12px 24px; padding: 22px 0 26px; }
}
