/* CheckRef platform landing — shared visual language with scholar.checkref.org */

:root,
[data-theme="dark"] {
  --navy-900: #0a1330;
  --navy-850: #0c1738;
  --navy-800: #111d44;
  --navy-card: #13204c;
  --navy-card-2: #101a40;
  --gold: #1ab8d4;
  --gold-bright: #33cceb;
  --gold-soft: #a8eaf4;
  --ink: #eef2ff;
  --ink-soft: #aeb9da;
  --ink-mute: #7e8bb5;
  --line: #243160;
  --heading: #fff;
  --nav-bg: rgba(10, 19, 48, 0.82);
  --preview-url-bg: rgba(0, 0, 0, 0.25);
  --hero-glow: rgba(26, 184, 212, 0.13);
  --pill-bg: rgba(26, 184, 212, 0.08);
  --pill-border: rgba(51, 204, 235, 0.35);
  --ghost-bg: rgba(255, 255, 255, 0.02);
  --ghost-hover: rgba(255, 255, 255, 0.06);
  --ghost-hover-border: #33437a;
  --preview-shadow: rgba(0, 0, 0, 0.7);
  --cta-bg: rgba(26, 184, 212, 0.1);
  --cta-border: rgba(51, 204, 235, 0.28);
  --cta-glow: rgba(26, 184, 212, 0.18);
  --step-code-bg: rgba(26, 184, 212, 0.12);
  --foot-hover: #a8eaf4;
  --green: #5fd39a;
  --warn: #f2c75c;
  --bad: #ec7a6a;
  --brand-grad-a: #33cceb;
  --brand-grad-b: #1ab8d4;
}

[data-theme="light"] {
  --navy-900: #f4f8fd;
  --navy-850: #eef3fa;
  --navy-800: #e6edf7;
  --navy-card: #ffffff;
  --navy-card-2: #f8fafd;
  --gold: #0e9ab8;
  --gold-bright: #1ab8d4;
  --gold-soft: #0d7a94;
  --ink: #0f1a33;
  --ink-soft: #3d4f6f;
  --ink-mute: #6b7d9a;
  --line: #d0dae8;
  --heading: #0a1330;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --preview-url-bg: rgba(15, 26, 51, 0.06);
  --hero-glow: rgba(26, 184, 212, 0.1);
  --pill-bg: rgba(26, 184, 212, 0.1);
  --pill-border: rgba(14, 154, 184, 0.28);
  --ghost-bg: rgba(15, 26, 51, 0.02);
  --ghost-hover: rgba(15, 26, 51, 0.05);
  --ghost-hover-border: #b8c8de;
  --preview-shadow: rgba(15, 23, 42, 0.1);
  --cta-bg: rgba(26, 184, 212, 0.08);
  --cta-border: rgba(14, 154, 184, 0.24);
  --cta-glow: rgba(26, 184, 212, 0.12);
  --step-code-bg: rgba(26, 184, 212, 0.1);
  --foot-hover: #0d7a94;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--navy-900);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.serif {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.accent {
  color: var(--gold-bright);
  font-style: italic;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* Nav */
header.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(150deg, var(--brand-grad-a), var(--brand-grad-b));
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(26, 184, 212, 0.35);
}

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  font-weight: 600;
  color: var(--heading);
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-right .login {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 15px;
}

.nav-right .login:hover {
  color: var(--ink);
}

.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  border-radius: 13px;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(150deg, var(--brand-grad-a), var(--brand-grad-b));
  color: #0d1229;
  padding: 13px 24px;
  box-shadow: 0 8px 22px rgba(26, 184, 212, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 184, 212, 0.45);
}

.btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: var(--ghost-bg);
  color: var(--ink);
  padding: 13px 24px;
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: var(--ghost-hover);
  border-color: var(--ghost-hover-border);
}

.btn-lg {
  padding: 17px 30px;
  font-size: 16px;
  border-radius: 15px;
}

.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  background: var(--ghost-bg);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.theme-btn svg {
  width: 17px;
  height: 17px;
  position: absolute;
  transition: transform 0.35s ease, opacity 0.25s;
}

.theme-btn .sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}

.theme-btn .moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-btn .sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .theme-btn .moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--ghost-bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink-soft);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 56px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--hero-glow), transparent 62%);
  pointer-events: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--gold-soft);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 19px;
  border-radius: 999px;
  margin-bottom: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.08;
  color: var(--heading);
  margin: 0 auto 22px;
  max-width: 16ch;
}

.hero p.sub {
  color: var(--ink-soft);
  font-size: clamp(17px, 2vw, 19px);
  max-width: 58ch;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.micro {
  margin-top: 22px;
  color: var(--ink-mute);
  font-size: 14px;
}

/* Preview */
.preview {
  margin: 52px auto 0;
  max-width: 920px;
  position: relative;
  text-align: left;
}

.preview-frame {
  background: linear-gradient(180deg, var(--navy-card), var(--navy-card-2));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px;
  box-shadow: 0 40px 90px -30px var(--preview-shadow);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
}

.preview-bar .d {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.pd1 {
  background: #e05b6e;
}

.pd2 {
  background: #f2c75c;
}

.pd3 {
  background: #5fd39a;
}

.preview-url {
  margin-left: 14px;
  color: var(--ink-mute);
  font-size: 13px;
  background: var(--preview-url-bg);
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.preview-body {
  background: var(--navy-900);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--line);
}

.pv-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.pv-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--heading);
}

.pv-sub {
  color: var(--ink-mute);
  font-size: 13px;
  margin-top: 3px;
}

.pv-scope {
  background: var(--pill-bg);
  border: 1px solid var(--pill-border);
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 8px;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.kpi {
  background: var(--navy-card-2);
  border: 1px solid var(--line);
  border-top: 2px solid rgba(26, 184, 212, 0.4);
  border-radius: 13px;
  padding: 14px 15px;
}

.kpi .lbl {
  color: var(--ink-mute);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kpi .val {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--heading);
  margin-top: 4px;
}

.ref-list {
  display: grid;
  gap: 0;
}

.ref-row {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.ref-row:last-child {
  border-bottom: none;
}

.ref-badge {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.ref-badge.ok {
  background: rgba(95, 211, 154, 0.15);
  color: var(--green);
}

.ref-badge.warn {
  background: rgba(242, 199, 92, 0.15);
  color: var(--warn);
}

.ref-badge.err {
  background: rgba(236, 122, 106, 0.15);
  color: var(--bad);
}

.ref-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.ref-text b {
  color: var(--heading);
}

/* Reference search in preview */
.landing-ref-search {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.landing-ref-search__modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.landing-ref-search__mode {
  border: 1px solid var(--line);
  background: var(--navy-card-2);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.landing-ref-search__mode.is-active {
  border-color: var(--pill-border);
  background: var(--pill-bg);
  color: var(--gold-bright);
}

.landing-ref-search__textarea {
  width: 100%;
  min-height: 72px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--navy-card-2);
  color: var(--ink);
  padding: 11px 13px;
  font-size: 13px;
  line-height: 1.55;
  font-family: inherit;
}

.landing-ref-search__textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px var(--pill-bg);
}

.landing-ref-search__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.landing-ref-search__count {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-mute);
}

.landing-ref-search__status {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.landing-ref-search__status.is-error {
  color: var(--bad);
}

.landing-ref-search__results {
  margin-top: 14px;
}

.landing-ref-search__results .results-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--navy-card-2);
}

.landing-ref-search__results .results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.landing-ref-search__results .results-table th,
.landing-ref-search__results .results-table td {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink-soft);
}

.landing-ref-search__results .results-table th {
  color: var(--ink-mute);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
}

.landing-ref-crossref {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: var(--navy-card-2);
}

.landing-ref-crossref__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
  font-family: 'Playfair Display', serif;
}

.landing-ref-crossref__sub {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 4px 0 10px;
  line-height: 1.5;
}

.landing-ref-crossref__external {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-bright);
}

.landing-ref-crossref__list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.landing-ref-crossref__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--navy-card);
}

.landing-ref-crossref__item-title {
  font-weight: 600;
  color: var(--heading);
  font-size: 13px;
  margin-bottom: 4px;
}

.landing-ref-crossref__item-meta {
  font-size: 12px;
  color: var(--ink-soft);
}

.landing-ref-crossref__pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.landing-ref-crossref__pager-meta {
  font-size: 12px;
  color: var(--ink-mute);
}

.landing-ref-crossref__pager-btn {
  border: 1px solid var(--line);
  background: var(--navy-card);
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.landing-ref-crossref__pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Sections */
section {
  padding: 88px 0;
}

.eyebrow {
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-head {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  color: var(--heading);
  max-width: 22ch;
}

.sec-lead {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 58ch;
  margin-top: 16px;
  line-height: 1.65;
}

.center {
  text-align: center;
}

.center .sec-head,
.center .sec-lead {
  margin-left: auto;
  margin-right: auto;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.pcard {
  background: linear-gradient(180deg, var(--navy-card), var(--navy-card-2));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
}

.pcard h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 10px;
}

.pcard p {
  color: var(--ink-soft);
  font-size: 15px;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.cap {
  display: flex;
  gap: 16px;
  background: var(--navy-card-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}

.cap .num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.cap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.cap p {
  color: var(--ink-soft);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.step {
  background: linear-gradient(180deg, var(--navy-card), var(--navy-card-2));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 20px;
}

.step .sn {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: #0d1229;
  background: var(--gold-bright);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-soft);
  font-size: 14px;
}

.cta-band {
  margin: 0 auto;
  max-width: 960px;
  background: linear-gradient(150deg, var(--cta-bg), rgba(26, 184, 212, 0.04));
  border: 1px solid var(--cta-border);
  border-radius: 26px;
  padding: 56px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 50ch;
  margin: 0 auto 28px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  margin-top: 72px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.foot-brand p {
  color: var(--ink-mute);
  font-size: 14px;
  max-width: 34ch;
  margin-top: 14px;
}

.foot-col h5 {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.foot-col a {
  display: block;
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 10px;
}

.foot-col a:hover {
  color: var(--foot-hover);
}

.fineprint {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--ink-mute);
  font-size: 13px;
}

/* Auth */
.auth-form .form-container {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 20px 40px;
}

.auth-form .form-card {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 60px var(--preview-shadow);
}

.auth-form .form-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--heading);
  margin-bottom: 8px;
}

.auth-form .form-card > p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--navy-card-2);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px var(--pill-bg);
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--ink-mute);
  font-size: 14px;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-link {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 18px;
}

.form-link a {
  color: var(--gold-bright);
  font-weight: 600;
}

.form-error {
  color: var(--bad);
  font-size: 13px;
  margin-top: 8px;
}

.page-error {
  display: none;
  padding: 11px 14px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: rgba(236, 122, 106, 0.12);
  border: 1px solid rgba(236, 122, 106, 0.35);
  color: var(--bad);
  font-size: 14px;
}

.page-error.visible {
  display: block;
}

.auth-note {
  padding: 10px 14px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: rgba(242, 199, 92, 0.12);
  border: 1px solid rgba(242, 199, 92, 0.35);
  color: var(--ink-soft);
  font-size: 14px;
}

.auth-note strong {
  color: var(--warn);
}

.profile-row {
  display: flex;
  gap: 12px;
}

.profile-row .form-group {
  flex: 1;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 28px 20px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
  }

  .mobile-toggle {
    display: flex;
  }

  .kpis {
    grid-template-columns: repeat(2, 1fr);
  }

  .three,
  .cap-grid,
  .steps,
  .foot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-right .login {
    display: none;
  }

  .landing-ref-search__count {
    margin-left: 0;
    width: 100%;
  }

  .preview-url {
    max-width: calc(100vw - 140px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
