/* eppclient: colors, type and components from the identity kit (identity/index.html) */

@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/Manrope-Regular-latin.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/fonts/Manrope-Medium-latin.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fonts/Manrope-SemiBold-latin.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(/fonts/Manrope-Bold-latin.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 800; font-display: swap; src: url(/fonts/Manrope-ExtraBold-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(/fonts/IBMPlexMono-Regular-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/fonts/IBMPlexMono-Medium-latin.woff2) format("woff2"); }

:root {
  --navy: #10233A;
  --forest: #36654F;
  --fern: #4F8A6E;
  --sage: #A9C4B0;
  --mist: #E3ECE5;
  --stone: #F3F1EA;
  --slate: #5B6B7C;
  --white: #FFFFFF;
  --ink2: #3B4B5C;
  --line: #E2DED4;
  --sans: Manrope, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--stone);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); }
a:hover { color: var(--navy); }
code, pre { font-family: var(--mono); }
:focus-visible { outline: 3px solid var(--fern); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Type */

h1, h2, h3 { margin: 0; }
.display { font-size: clamp(40px, 6vw, 64px); line-height: 1.06; font-weight: 800; letter-spacing: -.04em; }
h1, .h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -.025em; }
h3, .h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--forest); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--ink2); max-width: 680px; margin: 16px 0 0; }
.muted { color: var(--slate); }
.small { font-size: 14px; }

/* Buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none;
  background: var(--navy); color: var(--white); border: 2px solid var(--navy);
  transition: background .15s, color .15s, border-color .15s;
}
.button:hover { background: var(--forest); border-color: var(--forest); color: var(--white); }
.button--light { background: var(--white); color: var(--navy); border-color: var(--white); }
.button--light:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); }
.button--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.button--outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.button--ghost { background: transparent; color: var(--white); border-color: rgba(169, 196, 176, .5); }
.button--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--sage); color: var(--white); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header */

.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(243, 241, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.top__logo img { height: 28px; width: auto; }
.top nav { display: flex; gap: 4px 24px; flex: 1; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--navy); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--forest); }
.top nav a[aria-current] { border-bottom-color: var(--fern); }
.top .button { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* Hero */

.hero { background: var(--navy); color: var(--white); padding: 96px 0 104px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero .eyebrow { color: var(--sage); }
.hero .lead { color: var(--mist); font-size: 20px; }

/* The session panel: an EPP exchange as the web client logs it */
.session {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(169, 196, 176, .25);
  border-radius: 18px;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  color: var(--mist);
}
.session__head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); padding-bottom: 14px; margin-bottom: 10px; border-bottom: 1px solid rgba(169, 196, 176, .2); }
.session__head span:last-child { color: var(--fern); }
.session__head span:last-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--fern); margin-right: 8px; vertical-align: 1px; }
.session ol { list-style: none; margin: 0; padding: 0; }
.session li { display: grid; grid-template-columns: 18px 64px minmax(0, 1fr); gap: 8px; padding: 3px 0; }
.session li > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session .out { color: var(--white); }
.session .in { color: var(--sage); }
.session .arrow { font-weight: 500; }
.session .out .arrow { color: var(--white); }
.session .in .arrow { color: var(--fern); }
.session .code { color: var(--sage); }

/* Sections */

section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }
section.mist { background: var(--mist); border-top: 0; }
section.mist + section { border-top: 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }

.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { background: var(--white); border-radius: 18px; padding: 28px; min-width: 0; }
.card p { margin: 8px 0 0; color: var(--ink2); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--mist); color: var(--forest); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card .icon svg { width: 22px; height: 22px; }

pre {
  margin: 0; max-width: 100%; overflow-x: auto;
  background: var(--mist); border-radius: 12px; padding: 18px 20px;
  font-size: 14px; line-height: 1.7; color: var(--navy);
}

/* Registries */

.registry { display: flex; flex-direction: column; gap: 6px; }
.registry__tld { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 10px; }
.registry__name { font-weight: 700; }

/* Plans */

.plans { align-items: stretch; }
.plan { display: flex; flex-direction: column; border: 1px solid var(--line); }
.plan__name { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.plan__price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 12px; }
.plan__price small { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--slate); }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.prose .plan ul { margin: 24px 0 28px; }
.prose .plan li { margin: 0; }
.plan li { display: flex; gap: 10px; color: var(--ink2); }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%2336654F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan--featured { background: var(--navy); color: var(--white); border-color: var(--navy); }
.plan--featured .plan__name { color: var(--sage); }
.plan--featured .plan__price small, .plan--featured li { color: var(--mist); }
.plan--featured li::before { background-color: rgba(255, 255, 255, .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%23A9C4B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Secondary products */

.product { display: flex; flex-direction: column; gap: 4px; }
.product .eyebrow { margin: 0; }
.product .more { margin-top: auto; padding-top: 20px; font-weight: 700; text-decoration: none; }
.product .more::after { content: " →"; }

/* Call to action band */

.cta { background: var(--forest); color: var(--white); border-radius: 18px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta p { margin: 8px 0 0; color: var(--mist); }

/* Inner pages */

.page-head { padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.page-head .lead { font-size: 20px; }
.prose > * { max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin: 56px 0 12px; }
.prose h3 { margin: 32px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 18px; color: var(--ink2); }
.prose li { margin: 6px 0; }
.prose pre { margin: 24px 0; }
.prose code { font-size: .9em; }
.prose > .wide { max-width: none; margin-bottom: 32px; }
.content { padding: 64px 0 96px; }
.content .wrap { display: grid; gap: 64px; }

.tablebox { background: var(--white); border-radius: 18px; padding: 8px 12px; overflow-x: auto; margin: 24px 0 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); white-space: nowrap; }
td.num, th.num { text-align: right; white-space: nowrap; }
.note { font-size: 14px; color: var(--slate); }

.diagrams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0; }
.diagrams figure { margin: 0; background: var(--white); border-radius: 18px; padding: 24px; }
.diagrams svg { display: block; width: 100%; max-width: 464px; height: auto; margin: 0 auto; }
.diagrams figcaption { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--slate); text-align: center; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.prose .steps li { counter-increment: step; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; margin: 0; }
.steps li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

.contact-list { display: grid; gap: 20px; }
.contact-list .card { display: flex; flex-direction: column; gap: 4px; }
.contact-list a { font-size: 22px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; color: var(--navy); }
.contact-list a:hover { color: var(--forest); }

/* Footer */

.footer { background: var(--navy); color: var(--sage); padding: 64px 0 48px; font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer img { height: 26px; width: auto; margin-bottom: 16px; }
.footer p { margin: 0; }
.footer h2 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin: 6px 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--mist); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(169, 196, 176, .2); padding-top: 24px; margin-top: 16px; font-size: 13px; color: var(--slate); }
.footer__bottom a { color: var(--sage); }

/* Smaller screens */

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .top .wrap { flex-wrap: wrap; gap: 0 16px; padding-top: 12px; }
  .top__logo { flex: 1; }
  .top nav { order: 3; flex-basis: 100%; overflow-x: auto; gap: 20px; padding: 6px 0 4px; white-space: nowrap; scrollbar-width: none; }
  .hero { padding: 64px 0 72px; }
  section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .g2, .g3, .diagrams { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .cta { padding: 32px 24px; }
  .page-head { padding: 56px 0 40px; }
  .footer .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
