/* Fraunces и Golos Text (SIL Open Font License), латиница, со своего домена: без цепочки через fonts.googleapis.com */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/fraunces-italic-400-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: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/fonts/fraunces-normal-400-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: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/golos-text-normal-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: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/golos-text-normal-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: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/golos-text-normal-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: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/golos-text-normal-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;
}

/* Gallera Studio product site — sea-chart base with a product accent. Light: paper + ink. Dark: night sea. */
:root {
  --paper: #f4efe4; --paper-2: #ebe4d3; --paper-3: #e1d8c3;
  --ink: #14233b; --ink-2: #2a3a55;
  --muted: rgba(20, 35, 59, .68); --faint: rgba(20, 35, 59, .68);
  --line: rgba(20, 35, 59, .14); --line-2: rgba(20, 35, 59, .28);
  --brass: #b8862e; --brass-deep: #7d5b13;
  --on-accent: #fff; --grain-opacity: .5;
  --max: 1120px; --gutter: 24px; --radius: 18px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino", Georgia, serif;
  --sans: "Golos Text", -apple-system, system-ui, "Segoe UI", sans-serif;
  /* the product's own screen keeps its dark palette in both themes */
  --d-panel: rgba(20, 25, 35, .6); --d-line: rgba(255, 255, 255, .1); --d-fg: #eef1f6; --d-muted: rgba(238, 241, 246, .62);
  --d-accent: #5b8def; --d-accent-2: #8be0a4; --d-chrome: #161b26; --d-well: #0f131b;
  color-scheme: light;
  --accent: #2f62c9; --accent-deep: #234c9e; --accent-soft: rgba(47, 98, 201, .16);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b1526; --paper-2: #101d33; --paper-3: #162742;
    --ink: #ece5d6; --ink-2: #d9d1bf;
    --muted: rgba(236, 229, 214, .68); --faint: rgba(236, 229, 214, .66);
    --line: rgba(236, 229, 214, .14); --line-2: rgba(236, 229, 214, .3);
    --brass: #d6a844; --brass-deep: #e6be66;
    --on-accent: #0b1526; --grain-opacity: .25;
    color-scheme: dark;
    --accent: #7ea6ef; --accent-deep: #9dbcf5; --accent-soft: rgba(126, 166, 239, .2);
  }
}
:root[data-theme="dark"] {
  --paper: #0b1526; --paper-2: #101d33; --paper-3: #162742;
  --ink: #ece5d6; --ink-2: #d9d1bf;
  --muted: rgba(236, 229, 214, .68); --faint: rgba(236, 229, 214, .66);
  --line: rgba(236, 229, 214, .14); --line-2: rgba(236, 229, 214, .3);
  --brass: #d6a844; --brass-deep: #e6be66;
  --on-accent: #0b1526; --grain-opacity: .25;
  color-scheme: dark;
  --accent: #7ea6ef; --accent-deep: #9dbcf5; --accent-soft: rgba(126, 166, 239, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"); }
body > * { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -48px; padding: 8px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; z-index: 100; }
.skip:focus { top: 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* type */
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; font-variation-settings: "opsz" 144, "SOFT" 30; }
h1 { font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.025em; }
h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1.08; max-width: 20ch; }
h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.lede, .sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.sub { margin-top: 18px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: -.01em; }
.brand .logo { width: 28px; height: 28px; border-radius: 7px; }
.nav nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav nav a:not(.btn) { color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav nav a:not(.btn):hover { color: var(--ink); border-color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 500; font-size: 16px; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.btn.primary { background: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn.ghost { border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.big { padding: 16px 30px; font-size: 18px; }
.link { color: var(--accent-deep); font-weight: 500; border-bottom: 1px solid var(--accent-soft); transition: border-color .2s; }
.link:hover { border-color: var(--accent-deep); }

/* layout */
section { padding: clamp(72px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; padding: clamp(64px, 9vw, 120px) 0 clamp(36px, 4vw, 56px); }
.hero .lede { margin: 28px 0 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.trust { font-size: 14px; color: var(--faint); margin-top: 18px; }

/* demo window: a device on the desk */
.demo { border-top: 0; padding-top: 0; }
.window { border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--paper-2); box-shadow: 0 40px 90px -50px rgba(20, 35, 59, .55); overflow: hidden; }
.chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--paper-3); border-bottom: 1px solid var(--line); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.tab { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--paper); padding: 5px 14px; border-radius: 8px; }
.caption { text-align: center; color: var(--faint); font-size: 14.5px; margin-top: 20px; }

/* cards */
.card { padding: 26px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); }
.num { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-deep); font-size: 30px; line-height: 1; margin-bottom: 14px; }

/* privacy split */
.privacy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.privacy .link { display: inline-block; margin-top: 22px; }
.privacy ul { display: grid; gap: 12px; }
.privacy li { padding: 18px 22px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.privacy li b { display: block; color: var(--ink); font-weight: 500; font-family: var(--serif); font-size: 19px; margin-bottom: 2px; }

/* faq */
.faq .qa { max-width: 820px; margin-top: 36px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px 0; font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 11px; height: 11px; border-right: 1.5px solid var(--accent-deep); border-bottom: 1.5px solid var(--accent-deep); transform: rotate(45deg); transition: transform .25s; margin-right: 6px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 66ch; }

/* final */
.final { text-align: center; }
.final h2 { margin: 0 auto; }
.final .btn { margin-top: 30px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 56px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: center; }
.made { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--serif); font-size: 17px; }
.made .mark { width: 28px; height: 28px; color: var(--ink); }
.made:hover { color: var(--accent-deep); }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
footer nav a:hover { color: var(--ink); }
footer .fine { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* doc pages */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 7vw, 88px) var(--gutter) 100px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 10px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; max-width: none; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li { margin: 8px 0; }
.doc li b { color: var(--ink); font-weight: 500; }
.doc code { background: var(--paper-3); padding: 2px 6px; border-radius: 5px; font-size: 14px; color: var(--ink); }
.doc a { color: var(--accent-deep); border-bottom: 1px solid var(--accent-soft); }

/* motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .nav nav a:not(.btn) { display: none; }
  .privacy { grid-template-columns: 1fr; gap: 28px; }
  footer .wrap { grid-template-columns: 1fr; }
  footer nav { justify-content: flex-start; }
}
@media (max-width: 640px) { :root { --gutter: 16px; } .faq summary { font-size: 18px; } }

/* ===== Nooman ===== */
.demo .screen { position: relative; aspect-ratio: 16 / 9.4; padding: 3% 3.2%; display: grid; grid-template-columns: 1fr 30%; grid-template-rows: auto 1fr auto; gap: 2% 3%;
  background: radial-gradient(120% 100% at 20% 0%, #182337 0%, #0f1520 45%, #0b0f16 100%); color: var(--d-fg); font-size: clamp(8px, .95vw, 13px); }
.screen svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.screen .clocks { grid-column: 1; grid-row: 1; display: flex; gap: .8em; }
.clock { padding: .8em 1.2em; border-radius: 1em; background: var(--d-panel); border: 1px solid var(--d-line); text-align: center; min-width: 9.5em; }
.clock .l { font-size: .95em; opacity: .9; }
.clock .tm { font-size: 1.9em; font-weight: 500; line-height: 1.2; font-variant-numeric: tabular-nums; }
.clock .m { font-size: .75em; opacity: .6; }
.clock.night { background: rgba(8, 10, 16, .75); } .clock.night .tm { opacity: .7; }
.hero-block { grid-column: 1; grid-row: 2; align-self: end; padding-bottom: 2%; }
.d-time { font-size: 5.6em; font-weight: 400; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.d-date { font-size: 1.7em; margin-top: .4em; }
.d-wx { display: flex; align-items: center; gap: .6em; margin-top: .8em; font-size: 1.1em; }
.d-wx svg { width: 1.8em; height: 1.8em; } .d-wx span:nth-child(2) { font-size: 1.6em; }
.d-wx-t { opacity: .85; }
.greet { position: absolute; left: 34.5%; top: 32%; transform: translate(-50%, -50%); width: 52%; text-align: center; z-index: 2; }
.greet .g1 { font-size: 3em; font-weight: 500; line-height: 1.15; }
.greet .g2 { font-size: 2em; margin-top: .3em; }
.greet b { font-weight: 600; }
.search { grid-column: 1; grid-row: 3; justify-self: center; width: 70%; display: flex; align-items: center; gap: .8em; padding: 1em 1.4em; border-radius: 2em; background: var(--d-panel); border: 1px solid var(--d-line); color: rgba(255, 255, 255, .5); font-size: 1.1em; }
.search svg { width: 1.3em; height: 1.3em; }
.cal { grid-column: 2; grid-row: 1 / span 3; border-radius: 1.2em; background: var(--d-panel); border: 1px solid var(--d-line); padding: 1.2em; display: flex; flex-direction: column; min-height: 0; }
.cal-head { display: flex; justify-content: space-between; font-size: 1em; opacity: .9; margin-bottom: .6em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: .8em; gap: .1em; }
.cal-grid .dw { opacity: .5; padding: .2em 0; }
.cal-grid .d { padding: .45em 0; border-radius: .5em; }
.cal-grid .d.o { opacity: .3; } .cal-grid .d.today { background: rgba(255, 255, 255, .22); font-weight: 700; }
.cal-tabs { display: flex; margin: .8em 0; padding: .15em; border-radius: .7em; background: rgba(255, 255, 255, .08); font-size: .8em; }
.cal-tabs span { flex: 1; text-align: center; padding: .35em; border-radius: .5em; opacity: .6; }
.cal-tabs .on { opacity: 1; background: rgba(255, 255, 255, .16); }
.agenda { flex: 1; overflow: hidden; }
.agenda .h { font-size: .7em; text-transform: uppercase; letter-spacing: .06em; opacity: .55; margin: .6em 0 .3em; }
.ev { display: grid; grid-template-columns: .3em 1fr auto; gap: .7em; padding: .45em 0; align-items: center; }
.ev .bar { height: 100%; border-radius: .15em; min-height: 2.2em; }
.ev .tt { font-size: 1em; font-weight: 500; }
.ev .ss { font-size: .78em; opacity: .6; }
.ev .soon { color: var(--d-accent-2); font-weight: 600; }
.ev.big { background: rgba(255, 255, 255, .06); border-radius: .8em; padding: .6em .6em .6em 0; margin: .2em 0; }
.ev.big .tt { font-size: 1.15em; font-weight: 600; }
.ev .join { padding: .55em 1em; border-radius: .6em; background: rgba(70, 110, 200, .6); border: 1px solid rgba(120, 150, 230, .5); font-size: .85em; font-weight: 500; }

/* the assistant line */
.lines { margin-top: 40px; display: grid; gap: 12px; max-width: 900px; }
.line { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: baseline; padding: 20px 26px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); font-size: 19px; }
.line .t { font-variant-numeric: tabular-nums; color: var(--faint); font-size: 14px; letter-spacing: .04em; }
.line b { font-weight: 500; color: var(--accent-deep); }

/* features */
.features .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.f svg { width: 28px; height: 28px; fill: none; stroke: var(--accent-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.f h3 { font-size: 21px; margin-bottom: 8px; }
.f p { color: var(--muted); font-size: 15.5px; }

@media (max-width: 1000px) { .features .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .line { grid-template-columns: 1fr; gap: 6px; font-size: 17px; }
  .demo .screen { grid-template-columns: 1fr; grid-template-rows: auto auto auto; aspect-ratio: auto; padding: 5%; gap: 4%; }
  .cal { display: none; }
  .greet { position: static; transform: none; width: 100%; margin: 2em 0; }
  .search { width: 100%; }
}
@media (max-width: 600px) { .features .grid { grid-template-columns: 1fr; } }

/* Ревью 2026-10-05: якоря под липкой шапкой, попадание пальцем, баланс заголовков, текущий раздел, длина строки */
[id] { scroll-margin-top: 84px; }
h1, h2, h3 { text-wrap: balance; }
.btn, button, a, summary { touch-action: manipulation; }
.nav nav a:not(.btn), footer nav a { display: inline-block; padding: 8px 6px; margin: 0 -6px; }
.nav nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent, var(--brass)); }
.doc > p, .doc > ul, .doc > ol, .logpage > p, .logpage > ul, .logpage > ol { max-width: 70ch; }
@media (pointer: coarse) {
  .btn.small { padding: 12px 16px; }
  .tool-note select { min-height: 44px; padding: 8px 12px; }
  .guides-nav a, .guide-links a, .more a, .crumbs a { display: inline-block; padding: 6px 0; }
}
