/* Skvin d.o.o. — site styles. Fonts are self-hosted, so the site makes no third-party requests. */

@font-face { font-family: "Quattrocento"; font-weight: 400; font-display: swap;
  src: url("fonts/quattrocento-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Quattrocento"; font-weight: 400; font-display: swap;
  src: url("fonts/quattrocento-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Quattrocento"; font-weight: 700; font-display: swap;
  src: url("fonts/quattrocento-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Quattrocento"; font-weight: 700; font-display: swap;
  src: url("fonts/quattrocento-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Quattrocento Sans"; font-weight: 400; font-display: swap;
  src: url("fonts/quattrocento-sans-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Quattrocento Sans"; font-weight: 400; font-display: swap;
  src: url("fonts/quattrocento-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Quattrocento Sans"; font-weight: 700; font-display: swap;
  src: url("fonts/quattrocento-sans-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Quattrocento Sans"; font-weight: 700; font-display: swap;
  src: url("fonts/quattrocento-sans-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --bg-top: #f4f3f9;
  --bg-bottom: #e3e0ee;
  --card: #ffffff;
  --ink: #2a2640;
  --muted: #625d80;
  --rule: #d6d2e6;
  --grape: #645f89;
  --grape-deep: #3b3656;
  --orange: #f26722;
  --orange-ink: #c94f12;
  --serif: "Quattrocento", Georgia, "Times New Roman", serif;
  --sans: "Quattrocento Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--grape-deep); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%) no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.page {
  width: 100%;
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 1.25rem 3.5rem;
  flex: 1;
}

/* Masthead: orange rule under the logo picks up the "sk" and "i" */
.masthead { text-align: center; }
.masthead h1 { margin: 0; line-height: 0; }
.masthead img { width: min(15rem, 70%); height: auto; }
.masthead .tagline {
  margin: 1.5rem auto 0;
  padding-top: 1.1rem;
  border-top: 3px solid var(--orange);
  width: fit-content;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--grape);
}

/* Contact block */
.contact {
  margin: 2rem 0 0;
  text-align: center;
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.7;
}
.contact strong { font-family: var(--serif); font-size: 1.05rem; color: var(--grape-deep); }
.contact a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.contact a:hover { color: var(--orange-ink); border-bottom-color: var(--orange); }

/* Link cards */
.links { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0.75rem; }
.links a {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem 1rem 1rem;
  background: var(--card);
  border-radius: 10px;
  border-left: 4px solid var(--grape);
  box-shadow: 0 1px 2px rgba(59, 54, 86, 0.08), 0 4px 14px rgba(59, 54, 86, 0.06);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.links a:hover {
  border-left-color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(59, 54, 86, 0.10), 0 8px 22px rgba(59, 54, 86, 0.10);
}
.links .icon {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #efedf6; color: var(--grape);
}
.links .icon svg { width: 1.45rem; height: 1.45rem; }
.links .icon img { width: 1.55rem; height: auto; }
.links .label { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.22rem; line-height: 1.2; color: var(--grape-deep); }
.links .note { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 0.15rem; }
.links .arrow { color: var(--rule); font-size: 1.2rem; transition: color .2s ease, transform .2s ease; }
.links a:hover .arrow { color: var(--orange); transform: translateX(3px); }

/* Legal footer: full-width grape band */
.legal {
  background: var(--grape-deep);
  color: #cfcbe2;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.75;
  padding: 1.8rem 1.25rem 2rem;
  border-top: 3px solid var(--orange);
}
.legal p { margin: 0; max-width: 40rem; margin-inline: auto; }
.legal strong { color: #fff; }
.legal a { color: #fff; }
.legal a:hover { color: #ffb48c; }

/* Long-form pages (privacy policy) */
.doc { max-width: 46rem; padding-top: 2.5rem; }
.doc .back { display: block; width: fit-content; font-size: 0.9rem; color: var(--grape); text-decoration: none; }
.doc .back:hover { color: var(--orange-ink); }
.doc .brand { display: block; width: fit-content; margin: 2rem 0 0; line-height: 0; }
.doc .brand img { width: 7rem; height: auto; }
.doc h1 { font-family: var(--serif); font-size: 2rem; line-height: 1.2; margin: 1.6rem 0 0.3rem; color: var(--grape-deep); }
.doc h2 { font-family: var(--serif); font-size: 1.3rem; margin: 2.4rem 0 0.6rem; color: var(--grape-deep); }
.doc .updated { color: var(--muted); font-size: 0.92rem; margin: 0 0 0.5rem; padding-bottom: 1.2rem; border-bottom: 3px solid var(--orange); width: fit-content; }
.doc p, .doc li { font-size: 1rem; }
.doc a { color: var(--orange-ink); }
.doc ol, .doc ul { padding-left: 1.3rem; }
.doc li { margin-bottom: 0.4rem; }
.doc dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1.2rem; margin: 0; }
.doc dt { font-weight: 700; }
.doc dd { margin: 0; }
.table-wrap { overflow-x: auto; margin: 1rem 0; background: var(--card); border-radius: 10px; box-shadow: 0 1px 2px rgba(59, 54, 86, 0.08); }
.doc table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--rule); }
.doc tr:last-child td { border-bottom: 0; }
.doc th { font-family: var(--serif); color: #fff; background: var(--grape); border-bottom: 0; }

@media (max-width: 420px) {
  body { font-size: 16px; }
  .links a { gap: 0.8rem; padding: 0.9rem 0.9rem 0.9rem 0.8rem; }
  .links .label { font-size: 1.1rem; }
  .doc dl { grid-template-columns: 1fr; }
  .doc dd { margin-bottom: 0.4rem; }
}
