@charset "UTF-8";

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../font/inter.woff2?h=8386043358") format("woff2");
}

:root {
  color-scheme: dark;

  /* Radix grayDark */
  --gray-1: #111111;   /* app background     */
  --gray-6: #3a3a3a;   /* subtle border      */
  --gray-11: #b4b4b4;  /* low-contrast text  */
  --gray-12: #eeeeee;  /* high-contrast text */

  /* Radix amberDark */
  --amber-10: #ffd60a;  /* brand accent (the star)             */
  --amber-11: #ffca16;  /* accessible accent text (AA on --bg) */

  /* Semantic aliases */
  --bg: var(--gray-1);
  --fg: var(--gray-12);
  --muted: var(--gray-11);
  --accent: var(--amber-10);
  --accent-text: var(--amber-11);
  --border: var(--gray-6);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

/* Masthead */
.masthead {
  margin-bottom: 2.5rem;
}

h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg);
  text-indent: -0.05em; /* optical: pull the "i" side bearing to the margin */
  /* "izartu" is intentionally lowercase. Do not capitalize. */
}

/* Decorative star as a background image (inline to the LEFT of the wordmark),
   at letter height, hanging outside the content frame (same look as before). */
h1::before {
  content: "";
  display: inline-block;
  width: 0.78em;  /* 0.74em height x star aspect ratio (~1.05) */
  height: 0.74em; /* matches the lowercase "i" glyph */
  margin-left: -1.06em; /* = -(width + margin-right): keeps the wordmark left-aligned
                           with the rest of the content, star hangs outside the frame */
  margin-right: 0.28em;
  vertical-align: baseline;
  background: url(../image/star.svg) no-repeat center / contain;
}

.tagline {
  margin: 0.3rem 0 0;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted);
  text-indent: -0.20em; /* optical: pull the italic slant to the margin */
}

.lead {
  margin: 0 0 2.5rem;
  font-size: 1.1rem;
}

/* Sections */
section {
  margin: 0 0 1.8rem;
}

h2 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-text);
}

section p {
  margin: 0;
}

/* Links */
a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--amber-10) 40%, transparent);
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  /* Two lines side by side (software left, content right); the second wraps
     below when there is not enough room for both. */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1.5rem; /* row gap when wrapped, min column gap when side by side */
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--muted);
  border-bottom: none;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

/* On narrow screens there is no centered margin for the star to hang into,
   so reserve enough left padding to keep it inside the viewport. */
@media (max-width: 820px) {
  main {
    padding-left: 4rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 2.5rem 1.25rem 2.5rem 3.25rem;
  }
}
