/* The tacomapa.app pages. Brand colors come from tokens.css, generated from the brand tokens. */

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

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

:root {
  --line: color-mix(in srgb, var(--color-warm-gray) 16%, transparent);
  --surface: #fff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  background: var(--color-cream);
}
body {
  font-family: Nunito, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-near-black);
}
a {
  color: var(--color-green);
  font-weight: 800;
  text-decoration: none;
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
header .logo img {
  display: block;
  width: 168px;
  height: auto;
}
header .lang {
  font-size: 15px;
}

/* Hero */
.hero {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 24px 0 56px;
}
.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-yellow);
  color: var(--color-near-black);
  font-weight: 800;
  font-size: 14px;
  line-height: 20px;
}
.hero h1 {
  margin-top: 16px;
  font-weight: 800;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.5px;
}
.hero .lead {
  margin-top: 16px;
  font-size: 19px;
  line-height: 28px;
  color: var(--color-warm-gray);
  max-width: 520px;
}
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-wrap::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--color-tortilla);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}
.phone {
  position: relative;
  width: 248px;
  border-radius: 40px;
  padding: 9px;
  background: var(--color-near-black);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--color-near-black) 22%, transparent);
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.hero-plain {
  display: block;
}

/* Two kinds of place */
.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.section h2 {
  font-weight: 800;
  font-size: 28px;
  line-height: 34px;
}
.section .sub {
  margin-top: 8px;
  color: var(--color-warm-gray);
  max-width: 600px;
}
.kinds {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.kind {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
}
.kind img {
  width: 36px;
  height: 48px;
  flex: none;
}
.kind h3,
.feature h3 {
  font-weight: 800;
  font-size: 18px;
  line-height: 24px;
}
.kind p,
.feature p {
  margin-top: 4px;
  color: var(--color-warm-gray);
  font-size: 16px;
  line-height: 23px;
}
.features {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.feature {
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
}
.icon-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-tortilla);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.icon-dot svg {
  width: 22px;
  height: 22px;
}
.soon-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--color-cream);
  color: var(--color-warm-gray);
  font-size: 12px;
  font-weight: 800;
  vertical-align: 2px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 14px;
  color: var(--color-warm-gray);
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* Notice */
.doc {
  display: grid;
  gap: 32px;
  padding: 16px 0 24px;
}
.doc h1 {
  font-weight: 800;
  font-size: 34px;
  line-height: 40px;
}
.doc .updated {
  margin-top: 6px;
  font-size: 15px;
  color: var(--color-warm-gray);
}
.toc {
  display: none;
}
.summary {
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface);
  border-left: 4px solid var(--color-green);
}
.summary h2 {
  font-weight: 800;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 8px;
}
.summary p + p {
  margin-top: 10px;
}
.summary .resp {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 20px;
  color: var(--color-warm-gray);
}
.notice {
  max-width: 680px;
}
.notice h2 {
  margin-top: 36px;
  font-weight: 800;
  font-size: 21px;
  line-height: 28px;
  scroll-margin-top: 16px;
}
.notice h2 .n {
  color: var(--color-green);
  margin-right: 6px;
}
.notice p,
.notice li {
  margin-top: 10px;
}
.notice ul {
  padding-left: 20px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 48px 0 80px;
  }
  .hero h1 {
    font-size: 60px;
    line-height: 64px;
    letter-spacing: -1px;
  }
  .hero .lead {
    font-size: 21px;
    line-height: 31px;
  }
  .phone {
    width: 280px;
  }
  .phone-wrap::before {
    width: 440px;
    height: 440px;
  }
  .kinds {
    grid-template-columns: 1fr 1fr;
  }
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  .doc {
    grid-template-columns: 220px 1fr;
    gap: 56px;
  }
  .toc {
    display: block;
    position: sticky;
    top: 24px;
    align-self: start;
    font-size: 14px;
    line-height: 20px;
  }
  .toc p {
    font-weight: 800;
    margin-bottom: 8px;
  }
  .toc ol {
    list-style: none;
    display: grid;
    gap: 8px;
  }
  .toc a {
    font-weight: 400;
    color: var(--color-warm-gray);
  }
}
