@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f4efe5;
  --surface: #fbf8f1;
  --ink: #18201b;
  --muted: #535e57;
  --line: #ddd4c3;
  --accent: #0f5c46;
  --accent-strong: #0a4334;
  --on-accent: #f8f4ea;
  --stela: #0f5c46;
  --stela-deep: #0b4a38;
  --on-stela: #f3eee2;
  --on-stela-muted: rgb(243 238 226 / 80%);
  --sun: #e8b452;
  --shadow: 0 1px 2px rgb(24 32 27 / 6%), 0 10px 30px rgb(24 32 27 / 8%);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12'%3E%3Cpath d='M0 12V9h6V6h6V3h6V0h12v3h6v3h6v3h6v3z'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1512;
    --surface: #151e19;
    --ink: #ebe5d7;
    --muted: #a3ada6;
    --line: #29352e;
    --accent: #74c9a5;
    --accent-strong: #9adbbf;
    --on-accent: #0b1410;
    --stela: #123d31;
    --stela-deep: #0e3328;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 10px 30px rgb(0 0 0 / 30%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 48rem) {
  .wrap {
    padding: 0 2rem;
  }
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 10;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  left: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: var(--ink);
}

.mark {
  width: 2.1rem;
  height: 2.1rem;
  flex: none;
}

.mark .tile {
  fill: var(--stela);
}

.mark .petal {
  fill: var(--sun);
}

.primary {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.95rem;
}

.primary a {
  color: var(--muted);
  text-decoration: none;
}

.primary a:hover {
  color: var(--ink);
}

.primary .lang {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.primary .lang:hover {
  border-color: var(--ink);
}

@media (max-width: 47.99rem) {
  .primary .sec {
    display: none;
  }
}

.hero {
  padding: 4rem 0 4.5rem;
}

@media (min-width: 56rem) {
  .hero {
    padding: 5.5rem 0 6rem;
  }

  .hero .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: center;
  }
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.6rem, 1.35rem + 4.6vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 36rem;
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: clamp(1.12rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  color: var(--on-accent);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.stela {
  display: none;
}

@media (min-width: 56rem) {
  .stela {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 1.75rem;
    background: var(--stela);
    box-shadow: var(--shadow);
    color: var(--sun);
  }
}

.stela .kin {
  width: 56%;
}

.kin .petal {
  fill: currentColor;
}

.kin .hole {
  fill: var(--stela);
}


.steps {
  position: absolute;
  left: 0;
  right: 0;
  height: 18px;
  background: var(--stela-deep);
  -webkit-mask: var(--step) repeat-x center bottom / 72px 18px;
  mask: var(--step) repeat-x center bottom / 72px 18px;
}

.stela .steps {
  bottom: 0;
}

.stela .steps.top {
  top: 0;
  bottom: auto;
  transform: scaleY(-1);
}

section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 56rem) {
  section {
    padding: 6rem 0;
  }
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.product {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product figure {
  display: flex;
  align-items: center;
  margin: 0;
  border-bottom: 1px solid var(--line);
  background: #e8e3d9;
}

.product img {
  width: 100%;
  height: auto;
}

.product .body {
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 56rem) {
  .product {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }

  .product figure {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .product .body {
    align-self: center;
    padding: 2.75rem;
  }
}

h3 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.product p {
  margin: 0 0 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.services {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: var(--line);
  list-style: none;
}

@media (min-width: 40rem) {
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.services li {
  padding: 1.75rem 1.5rem 2rem;
  background: var(--surface);
}

.services svg {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1.25rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 0;
  color: var(--muted);
}

.note b {
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  background: var(--stela);
  color: var(--on-stela);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

@media (min-width: 56rem) {
  .about .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 4.5rem;
  }
}

.about .kin {
  width: 4.5rem;
  margin-top: 1.5rem;
  color: var(--sun);
}

.about .kin .hole {
  fill: var(--bg);
}

.about .text p {
  max-width: 40rem;
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
}

.about .text p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.name {
  font-family: var(--serif);
  font-weight: 600;
}

.contact {
  position: relative;
  margin-top: 18px;
  border-top: 0;
  background: var(--stela);
  color: var(--on-stela);
}

.contact .steps {
  top: -17px;
  background: var(--stela);
}

.contact h2 {
  max-width: 40rem;
}

.contact p {
  max-width: 36rem;
  margin: 0 0 2rem;
  color: var(--on-stela-muted);
  font-size: 1.12rem;
}

.email {
  display: inline-block;
  color: var(--sun);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 1rem + 3vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.email:hover {
  color: var(--on-stela);
}

.contact :focus-visible {
  outline-color: var(--sun);
}

.contact .legal-name {
  margin: 2.5rem 0 0;
  color: var(--on-stela-muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

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

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

.site-footer.jade {
  border-top: 0;
  background: var(--stela-deep);
  color: var(--on-stela-muted);
}

.site-footer.jade a {
  color: var(--on-stela-muted);
}

.site-footer.jade a:hover {
  color: var(--on-stela);
}

.doc {
  max-width: 44rem;
  padding: 3.5rem 0 5rem;
}

.doc h1 {
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem);
}

.doc .updated {
  margin: 0 0 2.5rem;
  color: var(--muted);
}

.doc h2 {
  margin: 2.5rem 0 0.6rem;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

.doc p {
  margin: 0 0 1rem;
}

.lost {
  padding: 6rem 0 7rem;
}

.lost p {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.12rem;
}
