/* ============================================================
   Tekztec — Black & White Minimal Design System
   ============================================================ */

:root {
  /* 60 / 20 / 20 color system — white, black, amber accent */
  --bg: #ffffff;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --muted: #5c5c5c;
  --faint: #909090;
  --line: #e6e6e6;
  --line-2: #f1f1f1;
  --surface: #f7f7f7;
  --surface-2: #fafafa;
  --black: #000000;
  --white: #ffffff;
  --accent: #d97706;
  --accent-ink: #b45309;
  --accent-soft: rgba(217, 119, 6, 0.1);

  --font-body: "Inter", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", "Inter", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --container: 1120px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.05), 0 20px 48px -20px rgba(0, 0, 0, 0.22);
  --transition: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-black:hover {
  background: var(--ink-2);
  border-color: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--line);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03), 0 10px 30px -18px rgba(0, 0, 0, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--black);
  color: var(--white);
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 7px;
  transition: color var(--transition), background var(--transition);
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-link.active {
  color: var(--ink);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 49;
  border-bottom: 1px solid var(--line-2);
  background: var(--bg);
  padding: 10px 0 18px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.28);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  padding: 13px 24px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}

.mobile-menu a.active {
  background: var(--surface-2);
}

.mobile-menu .btn {
  margin: 14px 24px 4px;
}

/* ---------- Layout helpers ---------- */

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.overline::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-head.center .overline {
  justify-content: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.7;
}

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

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 118px 0 128px;
  background: #09090b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 25%, transparent 72%);
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.26;
  filter: grayscale(0.5);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 480px at 50% 10%, rgba(255, 255, 255, 0.07), transparent 64%),
    linear-gradient(180deg, rgba(9, 9, 11, 0.5), rgba(9, 9, 11, 0.94) 74%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 30px;
}

.hero-chip {
  background: var(--white);
  color: #0a0a0a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  border-radius: 100px;
  padding: 5px 13px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(40px, 6.6vw, 72px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}

.hero h1 em {
  font-style: normal;
  border-bottom: 3px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
}

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  align-items: center;
  margin-bottom: 44px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 30px;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.hero-btn-primary {
  background: var(--white);
  color: #0a0a0a;
  box-shadow: 0 14px 40px -14px rgba(255, 255, 255, 0.35);
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px -14px rgba(255, 255, 255, 0.42);
}

.hero-btn-ghost {
  color: rgba(255, 255, 255, 0.82);
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
}

.hero-btn-ghost:hover {
  color: var(--white);
  border-color: var(--white);
}

.hero-btn-ic {
  width: 16px;
  height: 16px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 30px;
  width: 100%;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 44px;
}

.hero-proof-item + .hero-proof-item {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-proof-num {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-proof-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Marquee ---------- */

/* ---------- Service cards ---------- */

.service-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--line-2);
}

.service-grid::-webkit-scrollbar {
  height: 6px;
}

.service-grid::-webkit-scrollbar-track {
  background: var(--line-2);
  border-radius: 6px;
}

.service-grid::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 6px;
}

.service-grid .service-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
}

.service-grid.carousel {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: auto;
  max-width: none;
  cursor: default;
}

.service-grid.carousel.in .service-card {
  animation: cardFanIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  opacity: 1;
}

.service-grid.carousel .service-card {
  flex-basis: 300px;
}

.svc-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.svc-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.svc-nav-btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.svc-nav-btn:active {
  transform: scale(0.94);
}

.svc-nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.35);
}

.sc-ph {
  position: relative;
  height: 176px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sc-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
  transform: scale(1.02);
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.5s ease;
}

.service-card:hover .sc-ph img {
  transform: scale(1.09);
  filter: saturate(1.05) contrast(1.02);
}

.sc-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.66) 100%);
}

.sc-num {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.sc-num::after {
  content: "";
  display: block;
  width: 26px;
  height: 3px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.sc-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 26px;
}

.service-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.service-card:hover .icon {
  background: var(--accent);
  border-color: var(--accent);
}

.service-card .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

.service-card h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  flex: 1;
}

.service-card .card-link {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.service-card .card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

.service-grid {
  perspective: 1400px;
}

.service-grid .service-card {
  opacity: 0;
}

.service-grid.in .service-card {
  animation: cardFanIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.service-grid.in .service-card:nth-child(1) { animation-delay: 0.02s; }
.service-grid.in .service-card:nth-child(2) { animation-delay: 0.08s; }
.service-grid.in .service-card:nth-child(3) { animation-delay: 0.14s; }
.service-grid.in .service-card:nth-child(4) { animation-delay: 0.2s; }
.service-grid.in .service-card:nth-child(5) { animation-delay: 0.26s; }
.service-grid.in .service-card:nth-child(6) { animation-delay: 0.32s; }
.service-grid.in .service-card:nth-child(7) { animation-delay: 0.38s; }
.service-grid.in .service-card:nth-child(8) { animation-delay: 0.44s; }

@keyframes cardFanIn {
  0% {
    opacity: 0;
    transform: translateY(60px) rotate(-8deg) scale(0.86);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.section-cta-link {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Why us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--ink);
}

.why-item .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faint);
  padding-top: 4px;
}

.why-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  position: relative;
  transition: var(--transition);
}

.process-item:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
}

.process-item .step {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 26px;
}

.process-item h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.process-item p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.work-thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.28) contrast(1.04);
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.work-card:hover .work-thumb img {
  transform: scale(1.05);
}

.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.2));
}

.work-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work-body h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.work-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.work-body .attrib {
  margin-top: 16px;
  font-size: 12px;
  color: var(--faint);
  border-top: 1px dashed var(--line-2);
  padding-top: 14px;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.faq-item summary .plus {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: var(--transition);
}

.faq-item summary .plus svg {
  width: 13px;
  height: 13px;
  transition: transform var(--transition);
}

.faq-item[open] summary .plus {
  background: var(--black);
  border-color: var(--black);
}

.faq-item[open] summary .plus svg {
  transform: rotate(45deg);
  stroke: var(--white);
}

.faq-item .faq-body {
  padding: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 0 0 100px;
}

.cta-inner {
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cta-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
  z-index: 2;
}

.cta-inner > * {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 14px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16.5px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- FAQ (premium minimal) ---------- */

.faq-wrap {
  max-width: 920px;
  margin: 0 auto;
  background: var(--black);
  border-radius: 26px;
  padding: 12px 36px 18px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 30px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  display: flex;
  align-items: baseline;
  gap: 22px;
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--white);
  transition: color 0.3s ease;
}

.faq-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.faq-item summary:hover .faq-num,
.faq-item[open] .faq-num {
  color: var(--accent);
}

.faq-item .plus {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item .plus svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item[open] .plus {
  background: var(--accent);
  border-color: var(--accent);
}

.faq-item[open] .plus svg {
  transform: rotate(45deg);
  stroke: var(--black);
}

.faq-ph {
  position: absolute;
  right: 44px;
  top: 50%;
  width: 150px;
  aspect-ratio: 0.86;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(14px) rotate(-1.5deg) scale(0.9);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.faq-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.faq-item summary:hover .faq-ph,
.faq-item[open] .faq-ph {
  opacity: 1;
  transform: translateY(-50%) translateX(0) rotate(0deg) scale(1);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.faq-item[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-inner p {
  padding: 0 92px 30px 44px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15.5px;
  line-height: 1.8;
  max-width: 640px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.45s 0.12s, transform 0.45s 0.12s;
}

.faq-item[open] .faq-inner p {
  opacity: 1;
  transform: none;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--muted);
}

.faq-cta a {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 72px 0 56px;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 48px 48px;
  border-bottom: 1px solid var(--line-2);
}

.page-hero .overline {
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.7;
}

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

.about-lead {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  max-width: 860px;
  margin-bottom: 32px;
}

.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.04);
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.22));
}

.about-media .cap {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--ink);
}

.value-card .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--faint);
  display: block;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- Service detail ---------- */

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.svc-hero-ph {
  position: relative;
  height: 280px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
}

.svc-hero-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.25) contrast(1.04);
}

.svc-hero-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.2));
}

.svc-body h2 {
  font-size: 22px;
  margin: 40px 0 16px;
}

.svc-body p {
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.7;
}

.svc-body ul.deliver {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 8px;
}

.svc-body ul.deliver li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-2);
}

.svc-body ul.deliver li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--ink);
}

.svc-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.svc-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--bg);
}

.svc-panel.black {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.svc-panel.black h3 {
  color: var(--white);
}

.svc-panel.black p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.svc-panel h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.svc-panel ul.clean {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-panel ul.clean li {
  font-size: 14.5px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-2);
}

.svc-panel ul.clean li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.svc-panel ul.clean li .lbl {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.svc-panel ul.clean li .val {
  font-size: 13.5px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: var(--bg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
}

.form-field .req {
  color: var(--faint);
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: var(--transition);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  grid-column: 1 / -1;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--black);
}

.form-note {
  font-size: 13px;
  color: var(--faint);
  margin-top: 14px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--ink);
}

.contact-card .label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  display: block;
}

.contact-card a,
.contact-card .value {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  display: block;
}

.contact-card a:hover {
  text-decoration: underline;
}

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

.site-footer {
  border-top: 1px solid var(--line-2);
  background: var(--surface-2);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 300px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  padding: 5px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--line-2);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--faint);
}

.footer-bottom .links {
  display: flex;
  gap: 20px;
}

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

/* ---------- Legal pages ---------- */

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 96px;
}

.legal-wrap h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 24px;
}

.legal-wrap .updated {
  font-size: 13.5px;
  color: var(--faint);
  margin-bottom: 40px;
  display: block;
}

.legal-wrap h2 {
  font-size: 19px;
  margin: 34px 0 12px;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-wrap ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-wrap a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.notfound .code {
  font-family: var(--font-head);
  font-size: clamp(80px, 20vw, 160px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.notfound h1 {
  font-size: 26px;
  margin-bottom: 12px;
}

.notfound p {
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 30px;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* ---------- Fly-in entrance (after preloader) ---------- */

body.is-loading {
  overflow: hidden;
}

.fly {
  opacity: 0;
}

body.is-loaded .fly {
  animation: flyUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.fly-1 {
  animation-delay: 0.05s;
}
.fly-2 {
  animation-delay: 0.15s;
}
.fly-3 {
  animation-delay: 0.28s;
}
.fly-4 {
  animation-delay: 0.42s;
}
.fly-5 {
  animation-delay: 0.56s;
}
.fly-6 {
  animation-delay: 0.7s;
}

@keyframes flyUp {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-inner {
  text-align: center;
  padding: 24px;
}

.pre-brand {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--white);
}

.pre-brand .pre-brand-dot {
  color: var(--accent);
}

.pre-counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: clamp(64px, 14vw, 118px);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin: 20px 0 24px;
  font-variant-numeric: tabular-nums;
}

.pre-counter .pre-pct {
  font-size: 0.32em;
  color: var(--accent);
}

.pre-bar {
  width: min(320px, 70vw);
  height: 2px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.pre-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

.pre-label {
  display: block;
  margin-top: 20px;
  font-family: var(--font-head);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

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

@media (max-width: 1020px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-detail-grid,
  .contact-grid,
  .about-split {
    grid-template-columns: 1fr;
  }
  .svc-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .svc-sidebar .svc-panel {
    flex: 1;
    min-width: 240px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .section {
    padding: 68px 0;
  }
.hero {
    padding: 84px 0 92px;
  }
  .work-grid,
  .why-grid,
  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .service-grid .service-card {
    flex-basis: 268px;
  }
  .faq-wrap {
    padding: 8px 20px 14px;
    border-radius: 20px;
  }
  .faq-ph {
    display: none;
  }
  .faq-q {
    font-size: 16.5px;
    gap: 16px;
  }
  .faq-inner p {
    padding: 0 8px 26px;
  }
  .svc-hero-ph {
    height: 200px;
  }
  .sc-ph {
    height: 158px;
  }
  .sc-body {
    padding: 20px 22px 24px;
  }
  .sc-num {
    font-size: 30px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-field.full {
    grid-column: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cta-inner {
    padding: 56px 28px;
  }
.contact-panel {
    padding: 24px;
  }
  .hero-proof {
    gap: 14px 0;
    flex-direction: column;
    align-items: center;
  }
  .hero-proof-item {
    padding: 12px 0;
    width: 100%;
  }
  .hero-proof-item + .hero-proof-item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
.reveal,
  .fly {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .service-grid .service-card {
    opacity: 1;
    animation: none;
  }
  .preloader {
    display: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Hero — responsive tweaks ---------- */

@media (min-width: 1021px) and (max-width: 1180px) {
  .hero {
    padding: 90px 0 100px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 88px 0 96px;
  }
  .hero-br {
    display: none;
  }
  .hero-meta {
    font-size: 11.5px;
  }
  .hero-btn {
    font-size: 14.5px;
    padding: 12px 22px;
  }
}

/* ---------- Auth (sign in / sign up) ---------- */

.auth {
  padding: 84px 0 104px;
  background: var(--surface-2);
  border-top: 1px solid var(--line-2);
  min-height: calc(100vh - 66px);
}

.auth .container {
  max-width: 460px;
}

.auth-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 34px 28px;
}

.auth-head {
  text-align: center;
  margin-bottom: 26px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border-radius: 100px;
  padding: 6px 13px;
  margin-bottom: 18px;
}

.auth-badge svg {
  width: 14px;
  height: 14px;
}

.auth-head h1 {
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.auth-head p {
  font-size: 14.5px;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tab {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab:hover {
  color: var(--ink);
}

.auth-tab.is-active {
  background: var(--black);
  color: var(--white);
  box-shadow: var(--shadow);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
}

.field .opt {
  color: var(--faint);
  font-weight: 400;
}

.ctrl {
  position: relative;
}

.ctrl-ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--faint);
  pointer-events: none;
}

.ctrl input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px 12px 42px;
  width: 100%;
  transition: var(--transition);
}

.ctrl input[type="password"] {
  padding-right: 46px;
}

.ctrl input::placeholder {
  color: var(--faint);
}

.ctrl input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--faint);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.eye:hover {
  color: var(--ink);
  background: var(--surface);
}

.eye svg {
  width: 18px;
  height: 18px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 15px;
  height: 15px;
  accent-color: var(--accent);
}

.forgot {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  white-space: nowrap;
}

.forgot:hover {
  color: var(--accent);
}

.auth-submit {
  margin-top: 6px;
}

.auth-submit svg {
  width: 16px;
  height: 16px;
}

.auth-switch {
  text-align: center;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 14px;
  color: var(--muted);
}

.auth-switch button {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-ink);
  cursor: pointer;
}

.auth-switch button:hover {
  color: var(--accent);
}

[hidden] {
  display: none !important;
}

.set-pass {
  animation: flyUp 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.set-pass-head {
  text-align: center;
  margin-bottom: 22px;
}

.set-pass-head h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.set-pass-head p {
  font-size: 14px;
  color: var(--muted);
}

.auth-notice {
  display: none;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  margin-bottom: 18px;
}

.auth-social {
  margin-bottom: 18px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.google-btn:hover {
  border-color: var(--ink);
  background: var(--surface-2);
}

.google-btn svg {
  width: 18px;
  height: 18px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-divider span {
  white-space: nowrap;
}

.auth-notice.show {
  display: flex;
}

.auth-notice.err {
  color: #9a3412;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.auth-notice.ok {
  color: #14532d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

@media (max-width: 640px) {
  .auth {
    padding: 56px 0 76px;
  }
  .auth-card {
    padding: 28px 22px 24px;
  }
}
