:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #24222b;
  --muted: #69646f;
  --accent: #6248a0;
  --line: #dfdce3;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a35d15; outline-offset: 3px; }
.mast { border-bottom: 1px solid var(--line); }
.mast-inner, main { max-width: 1120px; margin-inline: auto; padding-inline: clamp(18px, 5vw, 46px); }
.mast-inner { min-height: 73px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 12px; }
.identity { display: flex; align-items: center; gap: 17px; }
.brand { font-size: 25px; font-weight: 780; letter-spacing: -.065em; }
.brand span { color: #7456df; }
.product { padding-inline-start: 17px; border-inline-start: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.account { display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 10px 7px 7px; border: 1px solid var(--line); border-radius: 12px; color: #564962; text-decoration: none; font-size: 13px; }
.account:hover { background: #f3eff7; }
.account-mark { display: grid; place-items: center; flex: none; width: 23px; height: 23px; border-radius: 7px; background: #ebe4fb; font-weight: 700; }
#email { overflow-wrap: anywhere; }
main { padding-block: clamp(44px, 7vw, 94px) 70px; }
h1 { margin: 0; font-size: clamp(42px, 8vw, 96px); font-weight: 650; letter-spacing: -.075em; line-height: 1.01; }
h1 em { color: var(--accent); font: italic 400 1em/1 Georgia, "Times New Roman", serif; letter-spacing: -.065em; margin-inline-start: .06em; white-space: nowrap; }
.subtitle { margin: 15px 0 0; color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.5; }
.catalog, main > .notice { margin-top: clamp(38px, 6vw, 76px); }
.toolbar, .section-label { display: flex; align-items: center; gap: 12px; }
.toolbar { justify-content: space-between; margin-bottom: 14px; }
.section-label h2 { margin: 0; font-size: 21px; font-weight: 670; letter-spacing: -.04em; }
#count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
#count:not(:empty) { border-radius: 8px; background: #efeaf5; padding: 3px 7px; }
.search { display: flex; align-items: center; gap: 10px; width: min(100%, 304px); background: white; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; }
.search:focus-within { outline: 3px solid #a35d15; outline-offset: 3px; }
.search input { width: 100%; min-width: 0; min-height: 42px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.lens { flex: none; position: relative; width: 12px; height: 12px; border: 1.6px solid #6e607d; border-radius: 50%; margin-right: 3px; }
.lens::after { content: ""; position: absolute; width: 5px; height: 1.6px; right: -4px; bottom: -2px; transform: rotate(45deg); border-radius: 1px; background: #6e607d; }
.projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.project { --tile: #ebe4fb; --glyph: #67479d; display: grid; grid-template-columns: 50px minmax(0, 1fr) 38px; align-items: center; gap: 17px; min-height: 86px; padding: 13px 17px; background: white; border: 1px solid var(--line); border-radius: 15px; text-decoration: none; }
.project[data-tone="1"] { --tile: #dff0e6; --glyph: #267254; }
.project[data-tone="2"] { --tile: #ffe5d9; --glyph: #a54e32; }
.project[data-tone="3"] { --tile: #ddeaf8; --glyph: #37618e; }
.project[data-tone="4"] { --tile: #f5e0ec; --glyph: #864967; }
.project:hover { border-color: #ac99ca; background: #fdfbff; }
.tile { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; background: var(--tile); color: var(--glyph); font-size: 18px; font-weight: 750; letter-spacing: -.055em; }
.project-copy { min-width: 0; overflow-wrap: anywhere; display: grid; gap: 4px; }
.project-copy strong { font-size: clamp(17px, 2vw, 21px); font-weight: 680; line-height: 1.2; letter-spacing: -.035em; }
.description { color: var(--muted); font-size: 14px; line-height: 1.42; }
.arrow { justify-self: end; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #ede8f3; border-radius: 50%; color: var(--accent); font-size: 19px; }
.notice { border: 1px solid var(--line); border-radius: 16px; padding: 24px; background: #f5f1f8; }
.notice h2, .notice h3 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.notice p { color: var(--muted); margin: 8px 0 0; line-height: 1.5; }
.notice p:empty { margin: 0; }
.primary, .quiet { display: inline-flex; gap: 10px; align-items: center; min-height: 43px; border-radius: 10px; font-size: 14px; font-weight: 650; padding: 8px 14px; margin-top: 16px; text-decoration: none; }
.primary { background: #342b45; border: 1px solid #342b45; color: white; }
.quiet { background: white; border: 1px solid var(--line); color: var(--ink); }
.primary:hover { background: #4a365d; }
.quiet:hover { border-color: var(--accent); }
.visually-hidden { width: 1px; height: 1px; position: absolute; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 650px) {
  .product { display: none; }
  .mast-inner { min-height: 62px; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .search { width: 100%; }
  .project { grid-template-columns: 41px minmax(0, 1fr) 29px; gap: 11px; min-height: 78px; padding: 12px; }
  .tile { width: 41px; height: 41px; border-radius: 11px; font-size: 16px; }
  .arrow { width: 29px; height: 29px; font-size: 17px; }
}
