/* plaro.kr — company page. Design: Penpot "10 디자인 v3 — 회사 페이지" and
   "12 디자인 — 만든 사이트". tools/demo/build.py also copies this file to
   demo.plaro.kr for the list of example sites (the .lst rules). */

@font-face {
  font-family: "Pretendard";
  src: url("/assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #182230;
  --body: #4a5565;
  --muted: #6b7686;
  --line: #e5e8ec;
  --line-head: #eef0f3;
  --panel: #f5f7fa;
  --blue: #2b7fff;
  --btn-edge: #d5dae1;
  --card-sub: #aeb8c5;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Malgun Gothic", "Segoe UI", Roboto, "Noto Sans KR", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: keep-all;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

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

[id] {
  scroll-margin-top: 32px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Line breaks drawn by hand in the design.
   d  = desktop body text (column is exactly 1200 wide from 1280 up)
   mb = phone body text (drawn at 390; lines fit from 375 up)
   m  = phone-only heading break, j = heading break that the phone drawing drops */
@media (max-width: 374px) {
  br.mb {
    display: none;
  }
}
@media (min-width: 521px) {
  br.mb:not(.d),
  br.m {
    display: none;
  }
}
@media (min-width: 521px) and (max-width: 1279px) {
  br.d {
    display: none;
  }
}
@media (max-width: 520px) {
  br.d:not(.mb),
  br.j {
    display: none;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-ink {
  background: var(--ink);
  color: #fff;
}

.btn-ink:hover {
  background: #2a3545;
}

.btn-line {
  background: #fff;
  border-color: var(--btn-edge);
  color: var(--ink);
}

.btn-line:hover {
  background: var(--panel);
}

.btn-s {
  height: 36px;
  min-width: 108px;
  font-size: 14px;
}

.w-112 {
  min-width: 112px;
}

.w-124 {
  min-width: 124px;
}

.w-128 {
  min-width: 128px;
}

/* ---------- header ---------- */

.hd {
  position: relative;
  border-bottom: 1px solid var(--line-head);
  background: #fff;
}

.hd-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
}

.logo {
  justify-self: start;
}

.logo img {
  width: 90px;
  height: 28px;
}

.nav {
  display: flex;
  gap: 48px;
}

:lang(en) .nav {
  gap: 40px;
}

.nav a {
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.nav a:hover,
.ft-cols a:hover,
.ft-bot a:hover,
.lang:hover {
  color: var(--blue);
}

.hd-r {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 28px;
}

.lang {
  padding: 7px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  color: var(--muted);
}

.menu {
  display: none;
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 48.3333%);
  column-gap: 40px;
  align-items: center;
  padding-top: 55px;
}

.hero h1 {
  font-size: clamp(40px, 3.7vw, 52px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -1.4px;
}

.lead {
  max-width: 480px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

.btns {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.photo {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(24, 34, 48, 0.08);
  pointer-events: none;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-p {
  aspect-ratio: 580 / 520;
  border-radius: 20px;
}

/* ---------- sections ---------- */

.sec {
  margin-top: 128px;
}

.label {
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--muted);
}

.sec-t {
  margin-top: 8px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.8px;
}

/* 하는 일 */

.work .sec-t {
  line-height: 1.3;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 43px;
}

.panel {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 384 / 248;
  border-radius: 14px;
  background: var(--panel);
}

.dg {
  width: min(300px, calc(100% - 50px));
  height: auto;
}

.dg-w {
  width: min(324px, calc(100% - 26px));
}

.card h3 {
  margin-top: 28px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.3px;
}

.card p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body);
}

/* 회사 · 일하는 방식 */

.split {
  display: grid;
  grid-template-columns: 40% 60%;
}

.company .split {
  min-height: 256px;
}

.co-body {
  padding-top: 34px;
}

.co-body p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--body);
}

.co-body p + p {
  margin-top: 28px;
}

.how-p {
  width: 400px;
  max-width: calc(100% - 40px);
  margin-top: 40px;
  aspect-ratio: 400 / 234;
  border-radius: 14px;
}

.steps {
  border-bottom: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-content: start;
  min-height: 158px;
  padding: 29px 0 35px;
  border-top: 1px solid var(--line);
}

.step .no {
  padding-top: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: var(--blue);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.3px;
}

.step p {
  grid-column: 2;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}

/* 만든 사이트: cards that open an example site on demo.plaro.kr */

.made-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.made-head .sec-t {
  line-height: 1.3;
}

.made-all {
  flex: none;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
}

.made-all:hover,
.hd-link:hover {
  color: var(--blue);
}

.made-all-m {
  display: none;
}

.made-sub {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}

.mades {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
  margin-top: 40px;
}

.mades-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 56px;
}

.made {
  display: block;
}

.made-p {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.made-r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.made-n {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.3px;
}

.made-go {
  flex: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  color: var(--blue);
}

.made:hover .made-go {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.made-s {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 22px;
  color: var(--muted);
}

/* The list of every example site (demo.plaro.kr/) */

.hd-two {
  grid-template-columns: 1fr auto;
}

.hd-link {
  padding: 7px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.lst {
  padding-top: 72px;
}

.lst h1 {
  margin-top: 8px;
  font-size: 44px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: -1.1px;
}

.lst-lead {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

/* 문의 */

.cta {
  margin-top: 127px;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 264px;
  padding: 40px 64px;
  border-radius: 20px;
  background: var(--ink);
}

.cta h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -1px;
  color: #fff;
}

.cta p {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--card-sub);
}

.btn-mail {
  flex: none;
  height: 44px;
  min-width: 248px;
  padding: 0 24px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
  word-spacing: 4px;
}

.btn-mail:hover {
  background: #e9edf2;
}

/* ---------- footer ---------- */

.ft {
  margin-top: 96px;
}

.ft-top {
  display: flex;
  justify-content: space-between;
}

.ft-logo {
  width: 90px;
  height: 28px;
}

.ft-line {
  margin-top: 18px;
  font-size: 14px;
  line-height: 21px;
  color: var(--muted);
}

.ft-cols {
  display: grid;
  grid-template-columns: 180px 180px;
  padding-top: 2px;
}

.ft-co3 {
  grid-template-columns: 150px 200px 100px;
  row-gap: 24px;
}

.ft-h {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
}

.ft-cols li {
  margin-top: 7px;
  font-size: 14px;
  line-height: 21px;
  color: var(--body);
}

.ft-cols li:first-child {
  margin-top: 11px;
}

.ft-bot {
  display: flex;
  justify-content: space-between;
  margin-top: 39px;
  padding: 21px 0 39px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 19px;
  color: var(--muted);
}

/* ---------- 404 ---------- */

.page-nf {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.page-nf main {
  flex: 1;
}

.nf {
  padding-top: 103px;
  padding-bottom: 40px;
}

.nf h1 {
  margin-top: 8px;
  font-size: 44px;
  font-weight: 700;
  line-height: 58px;
  letter-spacing: -1.1px;
}

.nf-text {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

.nf .btns {
  margin-top: 29px;
}

.page-nf .ft {
  margin-top: 0;
}

.page-nf .ft-bot {
  margin-top: 0;
  padding-bottom: 19px;
}

/* ---------- below 1024: one column (drawn at 390) ---------- */

@media (max-width: 1023px) {
  .wrap {
    max-width: 560px;
    padding: 0 20px;
  }

  .hd-in {
    display: flex;
    justify-content: space-between;
    height: 60px;
  }

  .logo img {
    width: 77px;
    height: 24px;
  }

  .nav,
  .hd-r {
    display: none;
  }

  .menu {
    display: block;
  }

  .menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-right: -13px;
    list-style: none;
    cursor: pointer;
  }

  .menu summary::-webkit-details-marker {
    display: none;
  }

  .menu-i {
    position: relative;
    width: 18px;
    height: 9px;
    margin-top: -3px;
  }

  .menu-i::before,
  .menu-i::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.15s ease;
  }

  .menu-i::before {
    top: 0;
  }

  .menu-i::after {
    top: 7px;
  }

  .menu[open] .menu-i::before {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu[open] .menu-i::after {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .menu-p {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 10;
    border-top: 1px solid var(--line-head);
    border-bottom: 1px solid var(--line-head);
    background: #fff;
  }

  .menu-in {
    display: flex;
    flex-direction: column;
    max-width: 560px;
    margin: 0 auto;
    padding: 8px 20px 20px;
  }

  .menu-in > a:not(.btn) {
    padding: 13px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
  }

  .menu-in > .menu-lang {
    font-size: 14px;
    color: var(--muted);
  }

  .menu-in > .btn {
    margin-top: 8px;
  }

  .hero {
    display: block;
    padding-top: 39px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.25;
    letter-spacing: -1px;
  }

  .lead {
    max-width: none;
    margin-top: 20px;
    font-size: 16px;
  }

  .btns {
    gap: 8px;
    margin-top: 24px;
  }

  .btns .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
  }

  .hero-p {
    margin-top: 40px;
    aspect-ratio: 350 / 240;
    border-radius: 14px;
  }

  .sec {
    margin-top: 80px;
  }

  .label {
    font-size: 14px;
    line-height: 21px;
  }

  .sec-t,
  .work .sec-t {
    margin-top: 5px;
    font-size: 26px;
    line-height: 1.35;
    letter-spacing: -0.6px;
  }

  .cards {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    margin-top: 32px;
  }

  .panel {
    height: 226px;
    aspect-ratio: auto;
  }

  .card h3 {
    margin-top: 20px;
    font-size: 19px;
    line-height: 27px;
  }

  .card p {
    margin-top: 9px;
    font-size: 15px;
  }

  .split {
    display: block;
  }

  .company {
    padding-bottom: 28px;
  }

  .company .split {
    min-height: 0;
  }

  .co-body {
    padding-top: 24px;
  }

  .co-body p {
    font-size: 16px;
    line-height: 1.75;
  }

  .co-body p + p {
    margin-top: 20px;
  }

  .how-p {
    width: 100%;
    max-width: none;
    margin-top: 24px;
    aspect-ratio: 350 / 205;
  }

  .steps {
    margin-top: 32px;
  }

  .step {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 0;
    padding: 22px 0 23px;
  }

  .step .no {
    padding-top: 4px;
  }

  .step h3 {
    font-size: 18px;
    line-height: 26px;
  }

  .step p {
    grid-column: 1 / -1;
    margin-top: 11px;
    font-size: 15px;
  }

  .made-head {
    display: block;
  }

  .made-head .sec-t {
    line-height: 1.35;
  }

  .made-all {
    display: none;
  }

  .made-all-m {
    display: flex;
    margin-top: 32px;
  }

  .made-sub {
    font-size: 15px;
  }

  .mades,
  .mades-3 {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 32px;
  }

  .mades-3 {
    margin-top: 36px;
  }

  .made-r {
    margin-top: 16px;
  }

  .made-n {
    font-size: 19px;
    line-height: 27px;
  }

  .made-go {
    font-size: 14px;
  }

  .made-s {
    margin-top: 3px;
    font-size: 14px;
    line-height: 21px;
  }

  .lst {
    padding-top: 40px;
  }

  .lst h1 {
    margin-top: 3px;
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: -0.7px;
  }

  .lst-lead {
    margin-top: 12px;
    font-size: 16px;
  }

  .cta {
    margin-top: 63px;
  }

  .cta-card {
    display: block;
    min-height: 0;
    padding: 40px 24px 23px;
    border-radius: 18px;
  }

  .cta h2 {
    font-size: 26px;
    line-height: 1.35;
    letter-spacing: -0.6px;
  }

  .cta p {
    margin-top: 11px;
    font-size: 15px;
  }

  .btn-mail {
    display: flex;
    width: 100%;
    min-width: 0;
    margin-top: 14px;
  }

  .ft {
    margin-top: 64px;
  }

  .ft-top {
    display: block;
  }

  .ft-logo {
    width: 77px;
    height: 24px;
  }

  .ft-line {
    margin-top: 14px;
    font-size: 13px;
    line-height: 19px;
  }

  .ft-cols {
    grid-template-columns: 1fr 1fr;
    margin-top: 27px;
    padding-top: 0;
  }

  .ft-cols li {
    margin-top: 6px;
  }

  .ft-cols li:first-child {
    margin-top: 9px;
  }

  .ft-bot {
    margin-top: 25px;
    padding-top: 17px;
  }

  .nf {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .nf h1 {
    font-size: 30px;
    line-height: 1.35;
    letter-spacing: -0.7px;
  }

  .nf-text {
    font-size: 16px;
  }

  .nf .btns {
    margin-top: 24px;
  }
}

@media (max-width: 359px) {
  .hero h1 {
    font-size: 32px;
  }
}
