@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/InstrumentSans-Variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --deep-mere: #0C3B52;
  --ink: #10222C;
  --slate: #4F6470;
  --mist: #EFF4F6;
  --shallows: #E6F0F4;
  --first-light-tint: #FBF3E4;
  --line: #D9E3E8;
  --radius-card: 18px;
  --radius-pill: 980px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.5 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-block: 14px; position: relative; z-index: 2; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-size: 15px; }
.top nav a:not(.btn), .login summary, .foot nav a { text-decoration: none; }
.top nav a:not(.btn):hover, .login summary:hover, .foot nav a:hover { text-decoration: underline; }
.brand { display: flex; align-items: center; gap: 9px; color: var(--deep-mere); }
.brand img { display: block; }
.wm { display: block; height: 28px; aspect-ratio: 4165 / 770; color: var(--deep-mere); }
.wm-small { height: 24px; }

.login { position: relative; }
.login summary { cursor: pointer; list-style: none; }
.login summary::-webkit-details-marker { display: none; }
.login .menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 200px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.login .menu a { padding: 10px; border-radius: 8px; }
.login .menu a:hover { background: var(--mist); text-decoration: none; }

.btn { display: inline-block; font-weight: 500; text-decoration: none; padding: 13px 26px; border-radius: var(--radius-pill); }
.btn-small { font-size: 15px; padding: 9px 18px; }
.btn-deep { background: var(--deep-mere); color: #fff; }
.btn-white { background: #fff; color: var(--deep-mere); }
.btn:hover { opacity: .88; }

.hero, .closing { background: var(--deep-mere); color: #fff; text-align: center; }
.hero-text { max-width: 900px; margin-inline: auto; padding: clamp(72px, 10vw, 112px) 24px 48px; }
h1 { font-size: clamp(46px, 7vw, 84px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; }
.hero p { max-width: 560px; margin: 24px auto 32px; font-size: 21px; line-height: 1.4; color: #E4EEF2; text-wrap: balance; }
.wave { display: block; width: 100%; height: clamp(110px, 12vw, 170px); }

.statement { max-width: 760px; margin-inline: auto; padding: clamp(72px, 10vw, 112px) 24px; text-align: center; }
.statement h2, .closing h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.07; letter-spacing: -.025em; font-weight: 600; }
.statement h2 { color: var(--deep-mere); }
.statement p { margin-top: 20px; font-size: 21px; line-height: 1.4; color: var(--slate); text-wrap: balance; }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; padding-bottom: clamp(72px, 10vw, 112px); }
.tile { display: flex; flex-direction: column; gap: 12px; min-height: 240px; padding: 48px 40px; border-radius: var(--radius-card); text-decoration: none; }
.tile-studio { background: var(--shallows); }
.tile-community { background: var(--first-light-tint); }
.tile strong { font-size: 40px; line-height: 1.1; letter-spacing: -.02em; font-weight: 600; color: var(--deep-mere); }
.tile span { font-size: 21px; line-height: 1.4; }
.tile em { margin-top: auto; font-style: normal; font-weight: 500; color: var(--deep-mere); }
.tile:hover em { text-decoration: underline; }

.band { background: var(--mist); padding-block: 96px; }
.band h2 { font-size: clamp(32px, 4vw, 40px); line-height: 1.1; letter-spacing: -.02em; font-weight: 600; color: var(--deep-mere); }
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px; margin-top: 40px; }
.fit h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.01em; font-weight: 600; color: var(--deep-mere); }
.fit p { margin-block: 8px; color: var(--slate); }
.fit a { font-weight: 500; color: var(--deep-mere); }

.closing { padding: 96px 24px; }
.closing .btn { margin-top: 28px; }
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--slate); }
