@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Barlow+Condensed:wght@700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #112b46;
  --muted: #4a637c;
  --blue: #1857ca;
  --paper: #f7fbff;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #1857ca; outline-offset: 4px; }
.header {
  position: absolute; z-index: 1; inset: 20px 24px auto;
  max-width: 1136px; margin-inline: auto; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; padding: 9px 12px 9px 14px;
  min-height: 64px; border: 1px solid #ffffffcf; border-radius: 20px;
  background: #f5faffeb; backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px #152b4e17;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; }
.brand img { border-radius: 11px; }
nav { display: flex; align-items: center; gap: 5px; font-weight: 700; }
nav a { padding: .62rem .85rem; border-radius: 10px; }
nav a:hover, nav a[aria-current] { background: #e2eeff; color: #174ca6; }
.cart-button {
  background: #e3eeff; border: 0; border-radius: 12px; min-height: 42px;
  padding: 0 13px; display: flex; align-items: center; gap: 10px; font-weight: 700;
}
.cart-button:hover { background: #d3e4ff; }
.cart-icon { display: inline-block; position: relative; width: 18px; height: 15px; }
.cart-icon::before {
  content: ""; position: absolute; inset: 0 1px 5px 1px;
  border: 2px solid currentColor; border-radius: 2px 3px 4px 3px; transform: skew(-9deg);
}
.cart-icon::after {
  content: ""; position: absolute; bottom: 0; left: 3px; width: 4px; height: 4px;
  border-radius: 50%; background: currentColor; box-shadow: 9px 0 currentColor;
}
.hero {
  min-height: 640px; min-height: clamp(590px, 76svh, 760px);
  display: grid; align-items: center; padding: 104px 24px 48px;
  background:
    linear-gradient(0deg, var(--paper), transparent 25%),
    linear-gradient(90deg, #e6f4ff 1%, #e6f4ffde 27%, #d8efff62 52%, transparent 76%),
    #dcefff;
}
.hero-content { width: min(100%, 1100px); margin-inline: auto; }
h1 { margin: 0; font: 800 clamp(5rem, 11vw, 11rem)/.87 "Barlow Condensed", "Arial Narrow", sans-serif; letter-spacing: -.025em; }

.hero-content > p:not(.status) { font-size: clamp(1.2rem, 2.3vw, 1.75rem); margin: 1.25rem 0 1.6rem; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.primary, .address { min-height: 50px; border-radius: 12px; padding: .78rem 1.15rem; font-weight: 700; }
.primary { color: white; background: var(--blue); border: 1px solid var(--blue); }
.primary:hover { background: #1248aa; }
.address { display: flex; align-items: center; gap: 11px; border: 1px solid #b6d2f3; background: #f7fbfff0; }
.address:hover { background: white; }
.copy-icon { width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 3px; box-shadow: -3px -3px 0 -1px #f7fbff, -4px -4px currentColor; }
.status { min-height: 1.4em; margin: .55rem 0 0; font-weight: 700; }
footer { border-top: 1px solid #dbe8f6; display: flex; justify-content: space-between; padding: 22px max(24px, calc((100% - 1100px) / 2)); gap: 16px; }
dialog { width: min(470px, calc(100% - 28px)); border: 1px solid #cedff4; border-radius: 20px; background: white; color: var(--ink); padding: 30px; box-shadow: 0 24px 80px #10274640; }
dialog::backdrop { background: #14294666; backdrop-filter: blur(4px); }
dialog h2 { padding-right: 28px; }
dialog ol { padding-left: 22px; line-height: 1.7; margin-bottom: 22px; }
.close { position: absolute; top: 10px; right: 12px; border: 0; border-radius: 8px; background: #eaf3ff; font-size: 1.5rem; width: 34px; height: 34px; }
.dialog-status { margin-bottom: 0; overflow-wrap: anywhere; }
@media (max-width: 660px) {
  .header { inset: 12px 12px auto; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
  .hero { padding-inline: 20px; min-height: 590px; background-position: center, center, 59% center; }
  h1 { font-size: clamp(3.55rem, 14vw, 5.5rem); }


}

h2 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; margin: 0 0 22px; letter-spacing: -.035em; }
.server, .start { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.server { padding: 18px 0 54px; }
.server-grid { display: grid; grid-template-columns: minmax(160px, .34fr) 1fr; gap: 16px; }
.topics { display: grid; gap: 8px; align-content: start; }
.topics button {
  text-align: left; min-height: 52px; border: 1px solid #d5e5f7;
  border-radius: 12px; background: white; padding: 12px 16px; font-weight: 700;
}
.topics button:hover { border-color: #7aa8e8; }
.topics button[aria-pressed="true"] { color: white; background: #1857ca; border-color: #1857ca; }
.topic {
  border-radius: 20px; border: 1px solid #d5e5f7; padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(90deg, #f8fcff 32%, #e8f4ffd9 74%, #b9dafaad);
}
.topic h3 { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2.2rem); }
.topic p { max-width: 42ch; line-height: 1.6; margin-bottom: 20px; }
.topic a { color: #1248aa; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.start {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: 22px; margin-bottom: 54px; padding: 24px;
  background: #e2efff; border: 1px solid #cfe2fa; border-radius: 20px;
}
.start img { width: 88px; height: auto; border-radius: 18px; }
.start h2 { margin: 0 0 7px; }
.start p { margin: 0; line-height: 1.5; }
.dialog-status { color: var(--muted); }
@media (max-width: 660px) {
  .server-grid { grid-template-columns: 1fr; }
  .topics { grid-template-columns: 1fr 1fr; }
  .start { grid-template-columns: auto 1fr; padding: 18px; gap: 14px; }
  .start img { width: 54px; }
  .start button { grid-column: 1 / -1; }
  nav a { padding-inline: .62rem; }
}

.hero { background: linear-gradient(0deg, var(--paper), transparent 35%), radial-gradient(ellipse at 82% 25%, #b8dafa, transparent 62%), #edf7ff; }
.topic { background: linear-gradient(120deg, #fff, #e1f1ff); }
.wordmark { display: block; width: min(440px, 100%); height: auto; margin-bottom: 26px; }
.start p a { color: #1248aa; text-decoration: underline; }
