:root {
  --paper: #f6f1e8;
  --sheet: #fffdf9;
  --ink: #17324f;
  --muted: #5d7084;
  --line: #e4d9c9;
  --navy: #173e66;
  --link: #b8432e;
  --link-hover: #8d301f;
  --green: #1d6b48;
  --shadow: 0 18px 50px rgba(23, 40, 60, 0.08);
  --sans: "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --mono: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: #e6dfd3;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

::selection {
  background: #f3c7bc;
  color: #17283a;
}

a { color: var(--link); }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  padding: 0.4rem 0.7rem;
  background: white;
  color: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
  z-index: 20;
}
.skip:focus { transform: none; }

#notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: white;
  padding: 0.75rem 1.25rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 160ms ease;
  pointer-events: none;
}
#notice::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 8px;
  pointer-events: auto;
}
#notice.is-open {
  transform: translateY(0);
  pointer-events: auto;
}
#notice:not(.is-open) p,
#notice:not(.is-open) #noticebtn {
  visibility: hidden;
}
#notice[hidden] { display: none; }
#notice p {
  margin: 0;
  max-width: 68rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
#noticebtn,
.copy {
  background: #2d6eab;
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  flex: none;
}
#noticebtn:hover,
.copy:hover { background: #3d82c4; }
.copy { background: var(--navy); }
.copy:hover { background: #24588f; }

.shell {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  max-width: 1080px;
  margin: 1.25rem auto;
  min-height: calc(100vh - 2.5rem);
  background: var(--sheet);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sidebar {
  padding: 1.6rem 1.25rem 2rem;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.logo {
  display: block;
  width: min(100%, 210px);
  height: auto;
}

.langs {
  display: flex;
  gap: 0.35rem;
  margin: 0.95rem 0 0.3rem;
}
.langs a {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 9px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1;
}
.langs a[aria-current="true"] {
  border-color: var(--navy);
  background: white;
}

.nav ul {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
}
.nav li { margin: 0.15rem 0; }
.nav a {
  display: block;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover { background: rgba(23, 62, 102, 0.07); }
.nav a[aria-current="page"] {
  background: var(--navy);
  color: white;
}
.nav a[aria-current="page"]:hover { color: white; }

.contact {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  font-style: normal;
}
.contact a {
  color: var(--ink);
  text-decoration: none;
}
.contact a:hover { color: var(--link); }

.main {
  padding: 2.3rem 2.5rem 2.6rem;
  min-width: 0;
}

main h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.prose h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 1.6rem 0 0.6rem;
}
.prose p,
.prose li {
  font-size: 1.05rem;
  line-height: 1.62;
}
.servers td:last-child,
.servers th:last-child { white-space: nowrap; }
.servers { margin-bottom: 0.4rem; }

.prose::after {
  content: "";
  display: block;
  clear: both;
}

.pillow {
  float: right;
  width: min(220px, 42%);
  margin: 0.15rem 0 1rem 1.4rem;
}
.pillow img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.services {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0;
}
.services li { margin: 0.8rem 0; }

.note {
  color: var(--muted);
  margin-top: 0;
}

.price-block { margin: 1.9rem 0; }
.price-block h2,
.outcomes h2,
.keybox h2 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.45rem;
}

.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
th, td {
  text-align: left;
  padding: 0.55rem 0.45rem;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
td.num, th.num {
  text-align: right;
  white-space: nowrap;
}
tbody tr:hover { background: rgba(23, 62, 102, 0.035); }

.facts { margin: 1.4rem 0 0; }
.facts div {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) minmax(0, 1fr);
  gap: 0.35rem 1.2rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--muted); }
.facts dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.4rem 0 1.8rem;
}
.outcomes article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.05rem 1.1rem 1.15rem;
}
.outcomes article:first-child { border-top: 4px solid var(--green); }
.outcomes article:last-child { border-top: 4px solid var(--link); }
.eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.keybox {
  margin-top: 0.5rem;
  padding-top: 0.4rem;
}
.key-actions { margin: 0.8rem 0; }
details.key { margin-top: 0.4rem; }
details.key summary {
  cursor: pointer;
  color: var(--link);
  font-weight: 650;
}
textarea.key {
  display: block;
  width: 100%;
  min-height: 16rem;
  margin: 0.85rem 0 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.45;
  resize: vertical;
}

.colophon {
  margin: 2.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 800px) {
  body { background: var(--sheet); }
  #notice {
    flex-direction: column;
    align-items: stretch;
  }
  #noticebtn { align-self: center; }
  .shell {
    display: block;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: none;
  }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .nav li { margin: 0; }
  .main { padding: 1.4rem 1.15rem 2.4rem; }
  .pillow {
    float: none;
    width: min(220px, 70%);
    margin: 0 0 1rem;
  }
  .outcomes,
  .facts div { grid-template-columns: 1fr; }
}

@media print {
  body { background: white; }
  #notice, .langs, .skip { display: none; }
  .shell {
    display: block;
    box-shadow: none;
    margin: 0;
    max-width: none;
  }
  .sidebar { border: 0; }
  a { color: var(--ink); }
}
