/* Adupia placeholder pages (adupia.com and the app.adupia.com reservation). Brand: brand/README.md.
   White on purple is 11.25:1; coral on purple (4.08:1) is only used for decoration. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
}

:root {
  --purple: #493159;
  --coral: #f2785c;
  --white: #ffffff;
  --text-soft: rgb(255 255 255 / 0.85);
  --text-muted: rgb(255 255 255 / 0.7);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--purple);
  color: var(--white);
  font-family: "Nunito", ui-rounded, system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main,
footer {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem 3rem;
}

.logo {
  display: block;
  width: 10.5rem;
  height: auto;
  margin-bottom: 3.5rem;
}

.accent {
  width: 3rem;
  height: 4px;
  border-radius: 2px;
  background: var(--coral);
  margin-bottom: 1.25rem;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 9vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 32rem;
  margin: 0 0 2.5rem;
  font-size: clamp(1.125rem, 3.2vw, 1.375rem);
  color: var(--text-soft);
}

.contact {
  margin: 0;
  color: var(--text-soft);
}

.contact a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact a:hover {
  text-decoration-thickness: 3px;
}

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

footer {
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}
