/* ontellic.com / ontellic.ai: one page, type only, system fonts.
   One accent (electric blue) and its tint, used for three things only:
   "Domains for sale", the .com + .ai pair, and the contact link. */

:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --ink: #141413;
  --muted: #5d5c57;
  --line: #dcdad3;
  --accent: #2a45ff;
  --tint: #e9ecfd;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --ink: #f1f0eb;
    --muted: #a8a7a0;
    --line: #302f2c;
    --accent: #8b98ff;
    --tint: #1c2142;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--tint);
  color: var(--ink);
}

p,
h1 {
  margin: 0;
}

.page {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(3rem, 12vh, 8rem) 1rem clamp(3rem, 10vh, 5.5rem);
}

/* The offer: what is for sale, then the two domains. */

.for-sale {
  color: var(--accent);
  font-size: clamp(2.5rem, 12vw, 4.75rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.bundle-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-top: 0.75rem;
}

.pair {
  font-family: var(--mono);
  font-size: clamp(1.2rem, 5.3vw, 1.875rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.tld {
  color: var(--accent);
}

.domain-link {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--tint);
  text-underline-offset: 0.22em;
}

.domain-link:hover,
.domain-link:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.plus {
  color: var(--muted);
}

.pill {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--tint);
  color: var(--accent);
  font-size: 0.75rem;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* The name: the word, how it is said and built, why it fits. */

.name {
  margin-top: clamp(3.25rem, 10vh, 5.5rem);
}

h1 {
  font-size: clamp(2.5rem, 10vw, 4rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.say {
  margin-top: 0.7rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.sep {
  padding-inline: 0.35em;
}

.why {
  max-width: 36rem;
  margin-top: 1.1rem;
  font-size: clamp(1.125rem, 4.2vw, 1.3125rem);
  line-height: 1.5;
}

/* Contact. */

.contact {
  max-width: 36rem;
  margin-top: clamp(3rem, 9vh, 5rem);
}

.contact p + p {
  margin-top: 0.6rem;
}

.email {
  font-size: clamp(1.5rem, 6.4vw, 2.125rem);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}

.email + p {
  margin-top: 0.9rem;
}

.quiet {
  color: var(--muted);
  font-size: 0.9375rem;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--muted);
  text-underline-offset: 0.2em;
}

.email a {
  color: var(--accent);
  text-decoration-thickness: 2px;
  text-decoration-color: var(--tint);
}

a:hover,
.email a:hover {
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

@media (min-width: 44rem) {
  .page {
    padding-inline: 2rem;
  }
}
