/* arletop.com additions on top of site.css.
   Surfaces are flat: hairline rules, one ink panel, one blue accent. No shadows, gradients or glass. */

/* Brand ------------------------------------------------------------------- */
/* The mark is the favicon: an ink tile carrying the capital A the site's own typeface draws. */
.brand__mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    background: none;
    color: #fff;
    font-size: 0;
    line-height: 1;
}
.brand__dot { color: var(--accent); }

/* Landing section rhythm ---------------------------------------------------- */
.lp-head { display: grid; gap: 1rem 4rem; margin-bottom: clamp(2rem, 1.4rem + 3vw, 4rem); }
.lp-head h2 { max-width: 14em; }
.lp-head p { color: var(--muted); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); max-width: 34rem; }
@media (min-width: 900px) {
    .lp-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
}

/* Hero ------------------------------------------------------------------------ */
.hero { padding-block: clamp(2.5rem, 1.2rem + 4.5vw, 6.5rem) clamp(3rem, 1.5rem + 4.5vw, 6.5rem); background: var(--paper); }
.hero__grid { display: grid; gap: clamp(2.5rem, 1.5rem + 3.5vw, 5rem); align-items: center; }
@media (min-width: 1000px) {
    .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .95fr); align-items: start; }
    .hero__copy { padding-top: .35rem; }
}
.hero__copy { min-width: 0; }
.hero h1 {
    max-width: 11.5em;
    font-size: clamp(2.45rem, 1rem + 4.7vw, 5rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 800;
}
.hero__lead { margin-top: clamp(1.25rem, 1rem + 1vw, 2rem); max-width: 33rem; font-size: clamp(1.125rem, 1.02rem + .5vw, 1.375rem); line-height: 1.5; color: var(--text); }
.hero .cta-row { margin-top: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); }
.hero__meta { margin-top: 1.5rem; color: var(--muted); font-size: .975rem; }

/* The order list: the one dark surface above the fold. It is the offer, so it is also navigation. */
.menu { min-width: 0; border-radius: var(--radius-xl); background: var(--ink); color: #fff; overflow: hidden; }
.menu__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.menu__head h2 { font-size: 1.2rem; letter-spacing: -.02em; color: #fff; line-height: 1.2; }
.menu__head p { color: #9FB3AD; font-size: .9375rem; }
.menu__list { list-style: none; }
.menu__list li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.menu__list a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; row-gap: .15rem; align-items: center;
    padding: .62rem 1.5rem; color: #fff; text-decoration: none;
    transition: background-color .18s;
}
.menu__list a:hover, .menu__list a:focus-visible { background: var(--panel-2); color: #fff; }
.menu__list a:focus-visible { outline-color: #fff; outline-offset: -3px; }
.menu__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.2; }
.menu__desc { grid-column: 1; color: #A9BCB6; font-size: .9rem; line-height: 1.35; }
.menu__list .i { grid-column: 2; grid-row: 1 / span 2; color: var(--mint); transition: transform .2s var(--ease-out); }
.menu__list a:hover .i, .menu__list a:focus-visible .i { transform: translateX(3px); }

/* Short laptop screens: the eight offers stay above the fold by dropping the
   one-line descriptions before the rows get any tighter. */
@media (min-width: 1000px) and (max-height: 840px) {
    .menu__desc { display: none; }
    .menu__list a { padding: .85rem 1.5rem; }
}

/* Proof strip ------------------------------------------------------------------ */
.proof { border-block: 1px solid var(--line); background: var(--paper); }
.proof__list { list-style: none; display: grid; }
.proof__list li { display: grid; gap: .25rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.proof__list li:first-child { border-top: 0; }
.proof__list strong { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.2; color: var(--ink); }
.proof__list span { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 620px) { .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .proof__list li:nth-child(2) { border-top: 0; } .proof__list li:nth-child(even) { padding-left: 1.75rem; border-left: 1px solid var(--line); } }
@media (min-width: 1000px) {
    .proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .proof__list li { padding: 1.75rem 1.75rem 1.75rem 0; border-top: 0; }
    .proof__list li + li { padding-left: 1.75rem; border-left: 1px solid var(--line); }
}

/* Offers: ruled rows, the way a price list reads ---------------------------------- */
.offer-list { list-style: none; border-top: 2px solid var(--ink); }
.offer-row { display: grid; gap: .85rem 3rem; padding-block: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); border-bottom: 1px solid var(--line); }
.offer-row h3 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2.05rem); letter-spacing: -.03em; line-height: 1.1; }
.offer-row p { color: var(--text); max-width: 34rem; }
.offer-row__for { margin-top: .75rem; color: var(--muted); font-size: .975rem; }
.offer-row__for b { color: var(--ink); font-weight: 600; }
.offer-row__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-content: start; }
@media (min-width: 900px) {
    .offer-row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); align-items: start; }
    .offer-row__links { flex-direction: column; justify-self: end; align-items: flex-start; }
}
.lp-more { margin-top: 1.75rem; }

/* Custom work: one bordered block after the offer list, so an unlisted need has a place to land. */
.custom { display: grid; gap: 1rem; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); border: 1px solid var(--line-strong); border-radius: var(--radius-l); background: var(--mist); }
.custom h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); letter-spacing: -.03em; line-height: 1.15; }
.custom p { color: var(--text); max-width: 40rem; }
.custom .btn { justify-self: start; margin-top: .25rem; }
@media (min-width: 900px) {
  .custom { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 3rem; align-items: start; }
  .custom h3 { grid-column: 1; grid-row: 1 / span 2; }
  .custom p, .custom .btn { grid-column: 2; }
}

/* How it works: a real sequence, so it is numbered ------------------------------- */
.how { list-style: none; display: grid; gap: 2.25rem; counter-reset: how; }
.how li { counter-increment: how; display: grid; gap: .6rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.how li::before { content: counter(how); font-family: var(--font-display); font-weight: 800; font-size: 3.25rem; line-height: 1; letter-spacing: -.05em; color: var(--accent); margin-bottom: .5rem; }
.how h3 { font-size: 1.4rem; letter-spacing: -.025em; }
.how p { color: var(--text); max-width: 26rem; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

/* Work ---------------------------------------------------------------------------- */
.work { list-style: none; display: grid; gap: 2.25rem; }
.work li { display: grid; gap: .7rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.work__tag { color: var(--muted); font-size: .9375rem; }
.work h3 { font-size: 1.6rem; letter-spacing: -.03em; }
.work p { color: var(--text); }
.work__link { margin-top: .4rem; }
@media (min-width: 900px) { .work { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; } }

/* Terms (price) ------------------------------------------------------------------- */
.terms { list-style: none; display: grid; border-top: 2px solid var(--ink); }
.terms li { display: grid; gap: .5rem 3rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.terms h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.terms__what { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.035em; line-height: 1.05; color: var(--ink); }
.terms li > p:not(.terms__what) { color: var(--text); max-width: 32rem; }
@media (min-width: 900px) { .terms li { grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); align-items: baseline; } }

/* About ---------------------------------------------------------------------------- */
.about { display: grid; gap: 2.5rem 5rem; }
.about__intro { display: grid; gap: 1.5rem; align-content: start; }
.about h2 { max-width: 8em; }
.about__body { display: grid; gap: 1.1rem; max-width: 40rem; font-size: 1.125rem; }
.about__body p { color: var(--text); }
.about__facts { list-style: none; display: grid; margin-top: .5rem; border-top: 1px solid var(--line); }
.about__facts li { display: grid; gap: .1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.about__facts strong { font-weight: 650; color: var(--ink); }
.about__facts span { color: var(--muted); font-size: .9375rem; }
.about__links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } }
.about__photo { margin: 0; }
.about__photo img { display: block; width: clamp(7.5rem, 6rem + 8vw, 11rem); height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }

/* Author page: portrait beside the profile heading -------------------------------- */
.profile { display: grid; gap: 1.75rem; }
.profile__photo { margin: 0; }
.profile__photo img { display: block; width: 100%; max-width: 15rem; height: auto; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; }
.profile__intro { display: grid; gap: 0; }
@media (min-width: 860px) {
    .profile { grid-template-columns: 15rem minmax(0, 1fr); gap: 3.5rem; align-items: start; }
}

/* Inner pages --------------------------------------------------------------------- */
.page-head__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; }
.page-head__facts li {
    display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .75rem;
    border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff;
    color: var(--ink); font-size: .875rem; font-weight: 550;
}
.page-head__facts .i { width: .9rem; height: .9rem; color: var(--accent); }
.lp-note { padding: 1.15rem 1.3rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--mist); color: var(--ink); }
.lp-note > * + * { margin-top: .6rem; }
.lp-note p { margin: 0; }

.trust-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--line); }
.trust-grid > div { display: grid; gap: .5rem; align-content: start; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); background: #fff; }
.trust-grid .i { width: 1.5rem; height: 1.5rem; color: var(--accent); stroke-width: 1.8; }
.trust-grid strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.015em; color: var(--ink); }
.trust-grid p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
@media (min-width: 620px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Article columns: keep side-by-side cards readable inside the prose column. */
@media (min-width: 760px) {
    .prose .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .prose .facts li { border-left: 1px solid var(--line); padding: 1.2rem 1.25rem; }
    .prose .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
    .prose .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (min-width: 620px) {
    .prose .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 599px) {
    .hero .cta-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    .hero .cta-row .btn { width: 100%; }
}

/* Landing contact sits in the ink band: the two columns fill their tracks. */
.band .contact { justify-items: stretch; }

/* Language switch --------------------------------------------------------- */
.lang-switch { display: flex; align-items: center; gap: .1rem; flex: none; }
.lang-switch a {
    display: inline-block;
    padding: .3rem .45rem;
    border-radius: 3px;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-decoration: none;
    transition: color .15s, background-color .15s;
}
.lang-switch a:hover { color: var(--ink); background: var(--mist); }
.lang-switch a[aria-current="true"] { color: var(--ink); background: var(--mist); }
.lang-switch a[aria-current="true"]::after {
    content: "";
    display: block;
    height: 2px;
    margin-top: 1px;
    border-radius: 2px;
    background: var(--accent);
}
@media (max-width: 979px) {
    .site-header__bar .lang-switch { display: none; }
    .mobile-menu .lang-switch { margin: .75rem 0 0; }
}
@media (min-width: 980px) {
    .mobile-menu .lang-switch { display: none; }
}

/* ==========================================================================
   Identity: white paper, near-black ink, one blue for links, one type family.
   The mark is a period in a black square — the dot in arletop.com, nothing drawn.
   ========================================================================== */

@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/public-sans-400-latin.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: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/public-sans-400-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/public-sans-500-latin.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: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/assets/fonts/public-sans-500-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/public-sans-600-latin.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: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/public-sans-600-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/public-sans-700-latin.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: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/public-sans-700-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Metric-matched fallback (fontTools, site's own woff2 vs Liberation Sans) so the swap does not rewrap. */
@font-face { font-family: "Public Fallback"; font-weight: 100 900; size-adjust: 98.7%; ascent-override: 96.2%; descent-override: 22.8%; line-gap-override: 0%;
  src: local("Arial"), local("Liberation Sans"), local("Arimo"); }

:root {
  --paper: #ffffff;
  --mist: #f6f6f4;
  --mist-2: #efeeeb;
  --line: #e5e4e0;
  --line-strong: #cfcec9;

  --ink: #111110;
  --text: #3a3a38;
  --muted: #6d6d6a;

  --accent: #1d4ed8;
  --accent-deep: #173bb0;
  --accent-ink: #122f8c;
  --accent-soft: #dbe3fa;
  --accent-wash: #eef2fd;

  --navy: #111110;
  --navy-2: #1d1d1b;
  --panel: #111110;
  --panel-2: #1d1d1b;
  --mint: #8fb0ff;

  --font-display: "Public Sans", "Public Fallback", system-ui, sans-serif;
  --font-text: "Public Sans", "Public Fallback", system-ui, sans-serif;

  --radius-s: 4px;
  --radius: 6px;
  --radius-l: 8px;
  --radius-xl: 8px;

  --shadow-sheet: none;
  --shadow-pop: none;
}

h1, h2, h3, .brand, .menu__title, .stats .num, .log__what { font-weight: 700; }
.hero h1 { letter-spacing: -.035em; line-height: 1.03; }
h2 { letter-spacing: -.03em; line-height: 1.08; }
.prose h2, .prose h3 { letter-spacing: -.015em; }

/* Buttons: ink primary, hairline secondary, no arrow glyph */
.btn { border-radius: 6px; font-weight: 600; gap: 0; }
.btn .i--go { display: none; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #2b2b28; color: #fff; }
.btn--primary:active { background: #000; }
.btn--secondary { background: #fff; border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--ink); background: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--lg { border-radius: 6px; }

/* The mark is the period of arletop.com, drawn once in the favicon's geometry */
.brand__mark { width: 32px; height: 32px; border-radius: 4px; background: none; font-size: 0; }
.brand__mark svg { display: block; width: 100%; height: 100%; }

/* Ink surfaces are neutral black, never tinted */
.menu { background: var(--panel); border-radius: 8px; }
.menu__head { border-bottom-color: rgba(255, 255, 255, .14); }
.menu__head p, .menu__desc { color: #a5a5a1; }
.menu__list li + li { border-top-color: rgba(255, 255, 255, .1); }
.menu__list a:hover, .menu__list a:focus-visible { background: var(--panel-2); }
.menu__list .i { color: #b9b9b5; }
.band { background: var(--panel); }

.chip { border-radius: 4px; }

/* Hero measure: tight grotesk display, no orphan words */
.hero h1 { max-width: 12.5em; font-size: clamp(2.5rem, .9rem + 4.6vw, 4.9rem); }
@media (min-width: 980px) and (max-width: 1180px) { .hero h1 { font-size: clamp(2.3rem, 1rem + 3.4vw, 3.6rem); } }

/* 980-1150px: the bar carries brand + 5 nav items + the ET|EN switch + CTA, so tighten it
   rather than letting the switch push the CTA against the edge. */
@media (min-width: 980px) and (max-width: 1150px) {
    .site-header__bar { gap: .9rem; }
    .site-nav { gap: 0; }
    .site-nav a { padding-inline: .55rem; }
    .site-header__cta { padding-inline: 1rem; }
}

/* Balance display lines instead of leaving a one-word last line */
.hero h1, .page-head h1, .band h2, .section__head h2 { text-wrap: balance; }
.prose p, .hero__lead, .lead { text-wrap: pretty; }

/* Hero columns: the copy needs room for "automatiseerimise või" on one line */
@media (min-width: 1040px) {
    .hero__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, .88fr); }
}
