/* ==========================================================
   JayCode — site styles
   ========================================================== */

:root {
  --bg: #fff8f1;
  --bg-2: #ffefe3;
  --card: #ffffff;
  --ink: #4a3a33;
  --ink-2: #6e5c53;
  --muted: #a08f85;
  --line: #f3e1d4;

  --coral: #ef8a6f;
  --coral-deep: #e2714f;
  --coral-soft: #fde3d8;
  --peach: #ffe9da;
  --yellow: #ffd88a;
  --mint: #cfeadd;

  --btn-dark: #4a3a33;
  --btn-dark-ink: #fff8f1;

  --shadow: 0 2px 4px rgba(150, 90, 60, .05), 0 16px 40px -16px rgba(150, 90, 60, .22);

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --round: "Jua", "Pretendard Variable", sans-serif;
  --soft: "Gowun Dodum", "Pretendard Variable", sans-serif;
  --brand: "Poppins", "Pretendard Variable", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #221b18;
    --bg-2: #2b221e;
    --card: #2f2622;
    --ink: #f7ebe3;
    --ink-2: #dccbc0;
    --muted: #a8968b;
    --line: #3d322d;
    --coral-soft: #4a2f26;
    --peach: #3a2c25;
    --mint: #2c3a33;
    --btn-dark: #f7ebe3;
    --btn-dark-ink: #2b221e;
    --shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 16px 40px -16px rgba(0, 0, 0, .5);
  }
}

:root[data-theme="dark"] {
  --bg: #221b18;
  --bg-2: #2b221e;
  --card: #2f2622;
  --ink: #f7ebe3;
  --ink-2: #dccbc0;
  --muted: #a8968b;
  --line: #3d322d;
  --coral-soft: #4a2f26;
  --peach: #3a2c25;
  --mint: #2c3a33;
  --btn-dark: #f7ebe3;
  --btn-dark-ink: #2b221e;
  --shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 16px 40px -16px rgba(0, 0, 0, .5);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: -0.01em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }

::selection { background: var(--coral); color: #fff; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.ico {
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--brand);
  font-weight: 600;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}


.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 10px -4px rgba(74, 58, 51, .45);
  transition: transform .3s ease;
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }

.nav { display: flex; gap: 6px; }
.nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.nav a:hover { background: var(--coral-soft); color: var(--coral-deep); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; }

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(226, 113, 79, .7);
}
.btn-coral:hover { background: var(--coral-deep); }

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

.btn-soft {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--coral); }

.arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hl::after { opacity: .22; }
}
:root[data-theme="dark"] .hl::after { opacity: .22; }


.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 120px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hello {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 600;
  color: var(--coral-deep);
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--round);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.hl {
  position: relative;
  color: var(--coral-deep);
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 0.08em;
  height: 0.32em;
  border-radius: 999px;
  background: var(--yellow);
  opacity: .55;
  z-index: -1;
}

.hero-lede {
  margin: 24px 0 36px;
  max-width: 440px;
  font-size: 17px;
  color: var(--ink-2);
}

.hero-art {
  position: relative;
  aspect-ratio: 1 / 0.9;
  max-width: 500px;
  width: 100%;
  justify-self: center;
}

.blob {
  position: absolute;
  inset: 6% 4%;
  background: var(--peach);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
}

.float-icon {
  position: absolute;
  width: 40%;
  max-width: 192px;
  height: auto;
  border-radius: 24%;
  box-shadow: var(--shadow);
}
.fi-1 { left: 12%; top: 16%; transform: rotate(-9deg); animation: bob-a 5s ease-in-out infinite; }
.fi-2 { right: 10%; bottom: 14%; transform: rotate(8deg); animation: bob-b 5.6s ease-in-out infinite; }

@keyframes bob-a {
  0%, 100% { transform: rotate(-9deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-10px); }
}
@keyframes bob-b {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(-12px); }
}

.deco { position: absolute; }
.d-heart { width: 36px; height: 36px; fill: var(--coral); right: 16%; top: 12%; transform: rotate(12deg); }
.d-star { width: 32px; height: 32px; fill: var(--yellow); left: 10%; bottom: 18%; transform: rotate(-14deg); }
.d-sparkle { width: 26px; height: 26px; fill: var(--coral); right: 4%; top: 46%; }
.d-sparkle-sm { width: 16px; height: 16px; fill: var(--yellow); left: 50%; top: 6%; }
.dot { position: absolute; border-radius: 50%; }
.dot-1 { width: 12px; height: 12px; background: var(--mint); left: 4%; top: 42%; }
.dot-2 { width: 9px; height: 9px; background: var(--coral); left: 46%; bottom: 8%; }

/* ---------- Section heads ---------- */

.section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.section-head.center { text-align: center; }

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--round);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.35;
}

.section-sub {
  margin-top: 10px;
  color: var(--ink-2);
}

/* ---------- Apps ---------- */

.apps {
  background: var(--bg-2);
  padding: clamp(64px, 9vw, 112px) 0;
  border-radius: clamp(32px, 5vw, 56px);
  margin: 0 clamp(8px, 1.5vw, 20px);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

/* 두 카드의 아이콘·설명·정보·버튼·링크 줄 높이를 subgrid 로 맞춘다 */
.app-card {
  position: relative;
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 24px;
  background: var(--card);
  border-radius: 32px;
  padding: clamp(28px, 3.6vw, 44px);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .3s ease;
}
.app-card:hover { transform: translateY(-4px); }

.app-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  opacity: .7;
}
.app-card > :not(.card-deco) { position: relative; }
.card-piece::before { background: var(--coral-soft); }
.card-log::before { background: var(--peach); }

.card-deco {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 26px;
  height: 26px;
  fill: var(--coral);
  transform: rotate(12deg);
}
.card-log .card-deco { fill: var(--yellow); }

.app-top {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
/* 이름 영역 높이를 아이콘과 같게 두어, 아래 링크와 상관없이 아이콘 가운데에 맞춘다 */
.app-top > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
}

/* 열 폭은 아이콘 폭으로 고정하고, 링크는 오른쪽(이름 아래 빈 공간)으로 넘쳐도 되게 둔다 */
.app-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 96px;
  gap: 12px;
  flex-shrink: 0;
}

/* 아이콘 아래 소개 페이지 링크: 얇은 밑줄이 호버 시 코랄로 차오른다 */
.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 3px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--ink-2);
  background:
    linear-gradient(var(--coral), var(--coral)) left bottom / 0 2px no-repeat,
    linear-gradient(var(--line), var(--line)) left bottom / 100% 2px no-repeat;
  transition: color .2s ease, background-size .35s ease;
}
.intro-link:hover,
.intro-link:focus-visible {
  color: var(--coral-deep);
  background-size: 100% 2px, 100% 2px;
}
.intro-arrow {
  display: inline-block;
  font-size: 14px;
  transition: transform .25s ease;
}
.intro-link:hover .intro-arrow,
.intro-link:focus-visible .intro-arrow { transform: translateX(3px); }

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 10px 24px -10px rgba(150, 90, 60, .45);
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.app-card:hover .app-icon { transform: rotate(-6deg) scale(1.05); }

.app-name {
  font-family: var(--round);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.2;
}

.app-tagline {
  font-family: var(--soft);
  font-size: 17px;
  color: var(--coral-deep);
}

.app-desc { color: var(--ink-2); }

.info {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--bg);
}
.info > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.info dt {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding-top: 4px;
}
.info dd { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.actions {
  align-self: end;
  padding-top: 4px;
}

.store-buttons {
  display: flex;
  gap: 10px;
}
.store-buttons .btn { flex: 1 1 0; height: 46px; padding: 0 14px; white-space: nowrap; }

.fine-link {
  justify-self: start;
  align-self: start;
  margin-top: -10px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  transition: color .2s ease;
}
.fine-link:hover { color: var(--coral-deep); text-decoration-color: currentColor; }

@supports not (grid-template-rows: subgrid) {
  .app-card { display: flex; flex-direction: column; gap: 24px; }
  .actions { margin-top: auto; }
}

/* ---------- About ---------- */

.about { padding: clamp(80px, 11vw, 136px) 0; }

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

.value {
  background: var(--card);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .3s ease;
}
.value:hover { transform: translateY(-4px) rotate(-1deg); }

.value-ico {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.value-ico svg { width: 26px; height: 26px; }
.v-1 .value-ico { background: var(--coral-soft); color: var(--coral-deep); }
.v-2 .value-ico { background: var(--peach); fill: var(--coral); }
.v-3 .value-ico { background: var(--mint); fill: #e9b949; }
.v-2 .value-ico svg, .v-3 .value-ico svg { fill: inherit; }

.value h3 {
  font-family: var(--round);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 8px;
}
.value p { color: var(--ink-2); font-size: 15px; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-2);
  border-radius: clamp(32px, 5vw, 56px) clamp(32px, 5vw, 56px) 0 0;
  margin: 0 clamp(8px, 1.5vw, 20px);
  padding-top: clamp(48px, 7vw, 72px);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: clamp(40px, 6vw, 56px);
}

.footer-brand p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--soft);
  color: var(--ink-2);
}
.ico-heart { color: var(--coral); }

.footer-cols { display: flex; gap: clamp(40px, 7vw, 88px); }
.footer-cols h4 {
  font-family: var(--round);
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 10px;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-2);
  transition: color .2s ease;
}
.footer-cols a:hover { color: var(--coral-deep); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1.5px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--coral-deep); }

/* ---------- 앱 소개 페이지 공통 (dailypiece/, dailylog/) ---------- */

.logo-app {
  font-family: var(--round);
  font-weight: 400;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-family: var(--brand);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  transition: box-shadow .2s ease, color .2s ease;
}
.home-link .ico { width: 14px; height: 14px; transition: transform .2s ease; }
.home-link img { width: 20px; height: 20px; border-radius: 6px; }
.home-link:hover { box-shadow: inset 0 0 0 1.5px var(--coral); color: var(--coral-deep); }
.home-link:hover .ico { transform: translateX(-2px); }

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store-row.center { justify-content: center; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
}

.feature {
  padding: 28px 24px;
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature:nth-child(odd):hover { transform: translateY(-4px) rotate(-1deg); }
.feature:nth-child(even):hover { transform: translateY(-4px) rotate(1deg); }

.feature-ico {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 18px;
}
.feature-ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.t-coral .feature-ico { background: var(--coral-soft); color: var(--coral-deep); }
.t-peach .feature-ico { background: var(--peach); color: var(--coral); }
.t-yellow .feature-ico { background: color-mix(in srgb, var(--yellow) 45%, var(--card)); color: #c98a12; }
.t-mint .feature-ico { background: var(--mint); color: #3f8f6e; }

.feature h3 {
  font-family: var(--round);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.feature p { color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }

.closing { padding-bottom: clamp(64px, 9vw, 112px); }

.closing-card {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  border-radius: 40px;
  background: var(--peach);
  text-align: center;
  overflow: hidden;
}

.closing-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 24px;
  box-shadow: 0 10px 24px -10px rgba(150, 90, 60, .45);
  transform: rotate(-6deg);
}

.closing .section-sub { margin-bottom: 28px; }

.cd-star { width: 30px; height: 30px; fill: var(--yellow); left: 8%; top: 18%; transform: rotate(-14deg); }
.cd-heart { width: 28px; height: 28px; fill: var(--coral); right: 9%; bottom: 20%; transform: rotate(12deg); }

/* ---------- 언어 선택 (assets/i18n.js 가 만든다) ---------- */

.lang-switch { position: relative; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 10px 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line);
  color: var(--ink-2);
  font: 600 14px/1 var(--sans);
  cursor: pointer;
  transition: box-shadow .2s ease, color .2s ease;
}
.lang-btn:hover,
.lang-btn[aria-expanded="true"] { box-shadow: inset 0 0 0 1.5px var(--coral); color: var(--coral-deep); }

.lang-btn svg,
.lang-menu svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.lang-globe { width: 17px; height: 17px; }
.lang-chevron { width: 14px; height: 14px; transition: transform .2s ease; }
.lang-btn[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.lang-short { display: none; }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 168px;
  padding: 6px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow);
  animation: lang-in .18s ease-out;
}
.lang-menu[hidden] { display: none; }

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: var(--ink-2);
  font: 500 15px/1.3 var(--sans);
  text-align: left;
  cursor: pointer;
}
.lang-menu button:hover,
.lang-menu button:focus-visible { background: var(--coral-soft); color: var(--coral-deep); outline: none; }
.lang-menu button[aria-checked="true"] { color: var(--coral-deep); font-weight: 700; }
.lang-check { width: 16px; height: 16px; visibility: hidden; }
.lang-menu button[aria-checked="true"] .lang-check { visibility: visible; }

@keyframes lang-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* 한국어가 아닌 언어: 중·일 문장은 글자 단위로 줄바꿈하고, 둥근 제목체는 각 언어 글꼴로 이어 받는다 */
html:not(:lang(ko)) body { word-break: normal; overflow-wrap: break-word; }
html:lang(ja) body { word-break: auto-phrase; }
/* Jua 에는 á·ñ 같은 악센트 글자가 없어 스페인어 제목은 같은 둥근 느낌의 Fredoka 로 쓴다 */
html:lang(es) { --round: "Fredoka", "Pretendard Variable", sans-serif; }
html:lang(ja) { --round: "Jua", "Hiragino Maru Gothic ProN", "Zen Maru Gothic", "Pretendard Variable", sans-serif; }

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; }
  .app-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav a { padding: 8px 10px; font-size: 14px; }
  .main-nav { display: none; }
  .logo { font-size: 20px; }
  .lang-btn { gap: 4px; padding: 0 8px 0 10px; }
  .lang-label { display: none; }
  .lang-short { display: inline; }
  .app-icon { width: 76px; height: 76px; border-radius: 20px; }
  .app-top > div:last-child { min-height: 76px; }
  .app-brand { width: 76px; }
  .btn { flex: 1 1 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .closing-card { border-radius: 32px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
  .logo { gap: 8px; }
  .header-right { gap: 6px; }
  .home-link { padding: 0 10px; }
  .home-label { display: none; }
  .lang-chevron { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
