* {
  box-sizing: border-box;
}

:root {
  --blue: #0b63d8;
  --blue2: #8be0ff;
  --ink: #06172d;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 0%, #ffffff 0%, #dceefb 48%, #aacce7 100%);
  display: grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  overflow: hidden;
  padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
}

/* Desktop/email-link mode: full card centered, no scrolling */
.card-stage {
  position: relative;
  width: min(92vw, calc((100svh - 20px) * 0.6667));
  max-width: 760px;
  margin: auto;
}

.card-bg {
  width: 100%;
  display: block;
  border-radius: 28px;
}

/* Exact implant area over the empty command strip */
.action-dock {
  position: absolute;
  left: 2.75%;
  right: 2.75%;
  top: 44.95%;
  height: 12.65%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.82%;
  padding: 0.72% 0.88%;
  align-items: stretch;
  border-radius: 22px;
}

/* Icon-only premium dock tiles */
.dock-btn {
  position: relative;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
  color: #06172d;

  clip-path: polygon(
    13% 0%,
    87% 0%,
    100% 14%,
    100% 86%,
    87% 100%,
    13% 100%,
    0% 86%,
    0% 14%
  );

  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,1), rgba(255,255,255,.58) 36%, transparent 64%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(232,244,253,.91));

  box-shadow:
    0 10px 17px rgba(24, 64, 105, .18),
    0 3px 7px rgba(10, 38, 72, .11),
    inset 0 0 0 1.5px rgba(255,255,255,.98),
    inset 0 0 0 3.5px rgba(67,145,224,.15),
    inset 0 -13px 22px rgba(42,126,224,.11);
}

.dock-btn::before {
  content: "";
  position: absolute;
  inset: 5px;
  clip-path: inherit;
  border: 1px solid rgba(255,255,255,.9);
  background:
    linear-gradient(135deg, rgba(255,255,255,.65), transparent 34%, rgba(92,160,228,.10)),
    radial-gradient(circle at 50% 100%, rgba(14,109,226,.23), transparent 42%);
  pointer-events: none;
}

.dock-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50%;
  height: 4px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #006fff, #91f1ff, #006fff, transparent);
  box-shadow:
    0 0 12px rgba(20,118,239,.72),
    0 0 22px rgba(0,183,255,.34);
  opacity: .84;
}

.dock-icon {
  position: relative;
  z-index: 2;
  width: clamp(42px, 6.1vw, 82px);
  height: clamp(42px, 6.1vw, 82px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(28px, 3.85vw, 52px);
  font-weight: 900;
  color: #0b63d8;
  background:
    radial-gradient(circle at 35% 23%, #ffffff, #eef7fd 56%, #c9dff1);
  box-shadow:
    0 9px 15px rgba(38,86,132,.22),
    inset 0 0 0 1.6px rgba(255,255,255,.98),
    inset 0 0 0 3.4px rgba(65,142,222,.16);
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.linkedin,
.info {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(32px, 4.1vw, 56px);
}

.phone-icon {
  font-size: clamp(33px, 4.3vw, 58px);
}

.email-icon {
  font-size: clamp(30px, 3.85vw, 52px);
}

.contact-icon {
  font-size: clamp(32px, 4.1vw, 56px);
  color: #0b63d8;
  font-family: Arial, Helvetica, sans-serif;
}

.whatsapp .dock-icon {
  color: #118447;
}

/* Real WhatsApp icon */
.whatsapp-icon {
  color: transparent !important;
  overflow: visible;
}

.wa-svg {
  width: 74%;
  height: 74%;
  display: block;
  filter:
    drop-shadow(0 2px 2px rgba(0, 70, 35, .18))
    drop-shadow(0 0 5px rgba(24, 168, 79, .18));
}

/* ABOUT ME curiosity emphasis */
.about-btn {
  background:
    radial-gradient(circle at 50% 16%, rgba(255,255,255,1), rgba(231,245,255,.78) 48%, rgba(193,226,249,.64)),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(224,241,254,.94));

  box-shadow:
    0 12px 20px rgba(0, 98, 216, .34),
    0 0 0 2.5px rgba(10,111,255,.88),
    0 0 0 6px rgba(89,200,255,.35),
    0 0 28px rgba(0,174,255,.52),
    0 0 58px rgba(0,146,255,.44),
    inset 0 0 0 1.6px rgba(255,255,255,1),
    inset 0 0 0 5.5px rgba(31,132,246,.34),
    inset 0 -14px 24px rgba(35,126,229,.20);
}

.about-btn::before {
  inset: 4px;
  border: 1.6px solid rgba(255,255,255,.98);
}

.about-btn::after {
  height: 5px;
  width: 56%;
  opacity: 1;
  background: linear-gradient(90deg, transparent, #0074ff, #a5ecff, #0074ff, transparent);
  box-shadow:
    0 0 14px rgba(0,150,255,.95),
    0 0 30px rgba(0,150,255,.58);
}

.about-btn .dock-icon {
  color: #0d63d8;
  box-shadow:
    0 11px 19px rgba(17,105,213,.34),
    0 0 20px rgba(34,151,255,.34),
    inset 0 0 0 1.6px rgba(255,255,255,1),
    inset 0 0 0 4.4px rgba(65,142,222,.26);
}

.dock-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.035) saturate(1.05);
}

.about-btn:hover {
  filter: brightness(1.06) saturate(1.10);
}

.dock-btn:active {
  transform: translateY(1px) scale(.992);
}

/* ABOUT MINI SCREEN */
.about-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(3, 14, 30, .46);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 50;
}

.about-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.about-panel {
  position: relative;
  width: min(720px, 94vw);
  max-height: 86vh;
  overflow: auto;
  padding: 34px;
  color: #07192f;

  clip-path: polygon(5% 0%, 95% 0%, 100% 7%, 100% 93%, 95% 100%, 5% 100%, 0% 93%, 0% 7%);

  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.98), rgba(235,246,255,.94) 54%, rgba(211,233,249,.90)),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(229,243,253,.92));

  box-shadow:
    0 34px 70px rgba(0, 24, 60, .35),
    0 0 0 2px rgba(255,255,255,.86),
    0 0 0 5px rgba(42,136,238,.23),
    0 0 42px rgba(25,133,245,.32),
    inset 0 0 0 2px rgba(255,255,255,.86),
    inset 0 -24px 44px rgba(44,126,224,.10);
}

.about-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  color: #0b63d8;
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 0 0 1px rgba(11,99,216,.22);
}

.about-header {
  text-align: center;
  padding: 8px 44px 22px;
}

.about-mark {
  display: inline-block;
  margin-bottom: 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
  color: #0b63d8;
}

.about-header h1 {
  margin: 0;
  font-size: 36px;
  letter-spacing: .03em;
}

.about-header p {
  margin: 8px 0 0;
  color: #34597d;
  font-weight: 700;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 8px 0 24px;
}

.tab {
  border: 0;
  cursor: pointer;
  padding: 13px 16px;
  font-weight: 850;
  letter-spacing: .08em;
  color: #194466;
  background: rgba(255,255,255,.56);
  box-shadow: inset 0 0 0 1px rgba(11,99,216,.18);
}

.tab.active {
  color: #06172d;
  background: rgba(255,255,255,.88);
  box-shadow:
    inset 0 0 0 1px rgba(11,99,216,.34),
    0 0 20px rgba(20,118,239,.16);
}





.tab-content h2 {
  margin: 0 0 15px;
  font-size: 24px;
}






@media (max-width: 720px) {
  body {
    min-height: 100svh;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding:
      max(6px, env(safe-area-inset-top))
      max(6px, env(safe-area-inset-right))
      max(6px, env(safe-area-inset-bottom))
      max(6px, env(safe-area-inset-left));
  }

  /* Mobile NFC mode: centered, no distortion, fits small and large screens */
  .card-stage {
    width: min(calc(100vw - 12px), calc((100svh - 12px) * 0.6667));
    max-width: none;
    margin: auto;
  }

  .card-bg {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
  }

  .action-dock {
    left: 2.75%;
    right: 2.75%;
    top: 44.95%;
    height: 12.65%;
    gap: 0.82%;
    padding: 0.72% 0.88%;
  }

  .dock-icon {
    width: clamp(24px, 8vw, 44px);
    height: clamp(24px, 8vw, 44px);
    font-size: clamp(16px, 5vw, 29px);
  }

  .phone-icon {
    font-size: clamp(17px, 5.3vw, 31px);
  }

  .email-icon {
    font-size: clamp(15px, 4.8vw, 28px);
  }

  .linkedin,
  .info,
  .contact-icon {
    font-size: clamp(17px, 5.3vw, 31px);
  }

  .wa-svg {
    width: 76%;
    height: 76%;
  }

  .about-panel {
    width: min(94vw, 680px);
    max-height: 82svh;
    padding: 28px 22px;
  }
}

@media (max-height: 720px) and (orientation: landscape) {
  .card-stage {
    width: min(92vw, calc((100svh - 16px) * 0.6667));
  }
}





/* FINAL ABOUT TAB FIX — one language visible at a time */
.about-overlay {
  display: grid;
  place-items: center;
}

.about-panel {
  margin: auto;
}

.tab-content {
  display: none !important;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.tab-content.active {
  display: block !important;
}

.tab-content p {
  margin: 0 auto 16px;
  max-width: 92%;
  color: #173655;
  font-size: 17px;
  line-height: 1.58;
  font-weight: 560;
  text-align: center;
}

.rtl {
  direction: rtl;
  text-align: center;
}

.rtl p {
  text-align: center;
}

@media (max-width: 720px) {
  .about-overlay {
    display: grid;
    place-items: center;
    padding: 16px;
  }

  .about-panel {
    width: min(92vw, 680px);
    max-height: 78svh;
    margin: auto;
    overflow-y: auto;
  }

  .tab-content p {
    font-size: 15.5px;
    line-height: 1.5;
    max-width: 94%;
  }
}


@media (max-width: 720px) {
  .ecosystem-hotspots {
    top: 61.45%;
    height: 19.2%;
  }

  .ecosystem-zoom-card {
    width: min(88vw, 520px);
    min-height: 300px;
    padding: 30px 24px 28px;
  }

  .eco-icon-large {
    width: 74px;
    height: 74px;
    font-size: 42px;
    margin-bottom: 14px;
  }
}


/* ECOSYSTEM CARD CLICK ZONES */
.ecosystem-hotspots {
  position: absolute;
  left: 2.4%;
  right: 2.4%;
  top: 61.45%;
  height: 19.2%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1%;
  z-index: 8;
  pointer-events: none;
}

.eco-hotspot {
  pointer-events: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
}

.eco-hotspot:hover {
  background: rgba(50, 145, 255, .055);
  box-shadow: 0 0 18px rgba(0, 125, 255, .18);
}

/* ECOSYSTEM PREMIUM ZOOM CARD */
.ecosystem-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 15, 30, .52);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.ecosystem-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.ecosystem-close {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  color: #0b63d8;
  background: rgba(248, 253, 255, .92);
  box-shadow:
    0 10px 24px rgba(0, 30, 70, .20),
    inset 0 0 0 1px rgba(11,99,216,.24);
  z-index: 72;
}

.ecosystem-zoom-card {
  width: min(760px, 90vw);
  min-height: 430px;
  padding: 0;
  color: #06172d;
  text-align: center;
  position: relative;
  overflow: hidden;

  clip-path: polygon(5% 0%, 95% 0%, 100% 8%, 100% 92%, 95% 100%, 5% 100%, 0% 92%, 0% 8%);

  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,.98), rgba(232,244,253,.96) 52%, rgba(209,231,248,.92)),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(225,240,252,.92));

  box-shadow:
    0 36px 74px rgba(0, 22, 55, .36),
    0 0 0 2px rgba(255,255,255,.92),
    0 0 0 5px rgba(42,136,238,.24),
    0 0 46px rgba(25,133,245,.34),
    inset 0 0 0 2px rgba(255,255,255,.88),
    inset 0 -26px 44px rgba(44,126,224,.10);

  transform: scale(.94);
  transition: transform .22s ease;
}

.ecosystem-overlay.open .ecosystem-zoom-card {
  transform: scale(1);
}

.ecosystem-zoom-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 46%;
  height: 8px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #006fff, #91f1ff, #006fff, transparent);
  box-shadow: 0 0 28px rgba(0,150,255,.72);
}

.eco-card-shell {
  position: relative;
  padding: 34px 34px 0;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.eco-card-shell::before {
  content: "";
  position: absolute;
  inset: 16px;
  clip-path: polygon(5% 0%, 95% 0%, 100% 8%, 100% 92%, 95% 100%, 5% 100%, 0% 92%, 0% 8%);
  border: 1px solid rgba(255,255,255,.88);
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), transparent 36%, rgba(92,160,228,.11)),
    radial-gradient(circle at 50% 100%, rgba(14,109,226,.20), transparent 40%);
  pointer-events: none;
}

.eco-icon-large {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 52px;
  font-weight: 900;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 35% 23%, #ffffff, #eef7fd 56%, #c9dff1);
  box-shadow:
    0 16px 30px rgba(38,86,132,.24),
    inset 0 0 0 2px rgba(255,255,255,.98),
    inset 0 0 0 5px rgba(65,142,222,.18);
}

.ecosystem-zoom-card h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  letter-spacing: .08em;
  line-height: 1;
  color: #06172d;
}

.ecosystem-zoom-card .subtitle {
  position: relative;
  z-index: 2;
  margin: 13px auto 18px;
  max-width: 560px;
  font-size: clamp(16px, 2.1vw, 21px);
  line-height: 1.35;
  font-weight: 850;
  color: #173655;
  text-transform: uppercase;
}

.ecosystem-zoom-card p {
  position: relative;
  z-index: 2;
  margin: 0 auto 24px;
  max-width: 590px;
  font-size: clamp(16px, 1.95vw, 19px);
  line-height: 1.5;
  color: #284b70;
  font-weight: 620;
}

.eco-visual {
  position: relative;
  z-index: 2;
  margin: auto -34px 0;
  min-height: 132px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.72);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(4,20,48,.10)),
    radial-gradient(circle at 50% 100%, rgba(0,120,255,.34), transparent 44%);
}

.eco-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 18%, rgba(255,255,255,.18) 19%, transparent 21%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.20) 0 2px, transparent 2px 22px),
    radial-gradient(circle at 20% 80%, var(--eco-a), transparent 30%),
    radial-gradient(circle at 80% 80%, var(--eco-b), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(4,16,38,.78) 100%);
  opacity: .95;
}

.eco-visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56%;
  background:
    linear-gradient(145deg, transparent 0 8%, rgba(255,255,255,.22) 9%, transparent 10%),
    repeating-linear-gradient(120deg, rgba(255,255,255,.18) 0 1px, transparent 1px 18px);
  opacity: .9;
}

.eco-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 62px;
  height: 62px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  clip-path: polygon(50% 0%, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  color: white;
  font-size: 28px;
  font-weight: 900;
  z-index: 4;
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,.95), transparent 18%),
    linear-gradient(180deg, var(--eco-main), #061b3b);
  box-shadow:
    0 10px 22px rgba(0, 20, 60, .28),
    0 0 24px var(--eco-glow),
    inset 0 0 0 2px rgba(255,255,255,.72);
}

.ecosystem-zoom-card.odin {
  --eco-main: #0b63d8;
  --eco-a: rgba(0,120,255,.58);
  --eco-b: rgba(0,225,255,.42);
  --eco-glow: rgba(0,120,255,.65);
}

.ecosystem-zoom-card.thor {
  --eco-main: #b77a00;
  --eco-a: rgba(255,162,0,.58);
  --eco-b: rgba(0,90,255,.30);
  --eco-glow: rgba(255,162,0,.62);
}

.ecosystem-zoom-card.raven {
  --eco-main: #5728d9;
  --eco-a: rgba(118,44,255,.62);
  --eco-b: rgba(0,205,255,.38);
  --eco-glow: rgba(118,44,255,.62);
}

.ecosystem-zoom-card.odin .eco-icon-large { color: #0b63d8; }
.ecosystem-zoom-card.thor .eco-icon-large { color: #b77a00; }
.ecosystem-zoom-card.raven .eco-icon-large { color: #5728d9; }

@media (max-width: 720px) {
  .ecosystem-hotspots {
    top: 61.45%;
    height: 19.2%;
  }

  .ecosystem-zoom-card {
    width: min(90vw, 520px);
    min-height: 390px;
  }

  .eco-card-shell {
    padding: 28px 24px 0;
    min-height: 390px;
  }

  .eco-icon-large {
    width: 78px;
    height: 78px;
    font-size: 42px;
    margin-bottom: 12px;
  }

  .ecosystem-zoom-card p {
    margin-bottom: 18px;
  }

  .eco-visual {
    margin-left: -24px;
    margin-right: -24px;
    min-height: 112px;
  }
}


/* FINAL ECOSYSTEM ICON CONSISTENCY */
.ecosystem-zoom-card.odin .eco-icon-large,
.ecosystem-zoom-card.odin .eco-badge {
  color: #0b63d8;
}

.ecosystem-zoom-card.thor .eco-icon-large,
.ecosystem-zoom-card.thor .eco-badge {
  color: #b77a00;
}

.ecosystem-zoom-card.raven .eco-icon-large,
.ecosystem-zoom-card.raven .eco-badge {
  color: #5728d9;
}

.ecosystem-zoom-card.raven .eco-icon-large,
.ecosystem-zoom-card.raven .eco-badge {
  font-size: 48px;
}

.ecosystem-zoom-card .eco-icon-large {
  background:
    radial-gradient(circle at 35% 23%, #ffffff, #eef7fd 56%, #c9dff1);
}


/* Disable old ecosystem modal card */
.ecosystem-overlay,
.ecosystem-zoom-card,
.ecosystem-close {
  display: none !important;
}

/* PRESS & HOLD ZOOM FOR ODIN / THOR / RAVEN */
.ecosystem-hotspots {
  position: absolute;
  left: 2.4%;
  right: 2.4%;
  top: 61.45%;
  height: 19.2%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.1%;
  z-index: 12;
  pointer-events: none;
}

.eco-hotspot {
  pointer-events: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.eco-hotspot:active {
  background: rgba(40, 140, 255, .05);
}

.press-zoom-lens {
  position: fixed;
  z-index: 80;
  display: none;
  pointer-events: none;
  background-image: url("../assets/card-background.png");
  background-repeat: no-repeat;
  border-radius: 18px;
  box-shadow:
    0 26px 56px rgba(0, 24, 60, .38),
    0 0 0 2px rgba(255,255,255,.92),
    0 0 0 5px rgba(42,136,238,.22),
    0 0 34px rgba(25,133,245,.30);
  transform-origin: center center;
  overflow: hidden;
}

.press-zoom-lens.active {
  display: block;
  animation: zoomIn .14s ease-out forwards;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .ecosystem-hotspots {
    left: 2.4%;
    right: 2.4%;
    top: 61.45%;
    height: 19.2%;
    gap: 2.1%;
  }

  .press-zoom-lens {
    border-radius: 14px;
  }
}


/* Prevent iOS image/context menu during press zoom */
.card-bg,
.press-zoom-lens,
.eco-hotspot,
.ecosystem-hotspots {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.card-bg {
  pointer-events: none;
}

.eco-hotspot {
  touch-action: manipulation;
}


/* FINAL ABOUT FIT — no internal scroll, all text visible */
.about-overlay {
  padding: 8px !important;
  place-items: center !important;
}

.about-panel {
  width: min(760px, 96vw) !important;
  max-height: 88svh !important;
  overflow: hidden !important;
  padding: 28px 30px 24px !important;
  justify-content: flex-start !important;
}

.about-header {
  padding: 4px 44px 16px !important;
}

.about-mark {
  margin-bottom: 8px !important;
  font-size: 11px !important;
}

.about-header h1 {
  font-size: clamp(34px, 6.2vw, 48px) !important;
}

.about-header p {
  margin-top: 6px !important;
  font-size: clamp(18px, 3.6vw, 24px) !important;
}

.tabs {
  margin: 4px auto 18px !important;
}

.tab {
  padding: 11px 14px !important;
}

.tab-content p {
  font-size: clamp(15px, 3.55vw, 19px) !important;
  line-height: 1.42 !important;
  margin-bottom: 12px !important;
  max-width: 96% !important;
}

@media (max-width: 720px) {
  .about-overlay {
    padding:
      max(6px, env(safe-area-inset-top))
      max(8px, env(safe-area-inset-right))
      max(6px, env(safe-area-inset-bottom))
      max(8px, env(safe-area-inset-left)) !important;
  }

  .about-panel {
    width: 96vw !important;
    max-height: 84svh !important;
    padding: 24px 18px 20px !important;
  }

  .about-close {
    top: 13px !important;
    right: 16px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 28px !important;
  }

  .about-header {
    padding: 2px 42px 14px !important;
  }

  .about-mark {
    font-size: 10px !important;
    margin-bottom: 7px !important;
  }

  .about-header h1 {
    font-size: clamp(32px, 8vw, 42px) !important;
    line-height: 1 !important;
  }

  .about-header p {
    font-size: clamp(17px, 4.4vw, 23px) !important;
    margin-top: 5px !important;
  }

  .tabs {
    gap: 10px !important;
    margin: 2px auto 16px !important;
  }

  .tab {
    padding: 10px 12px !important;
    font-size: 13px !important;
  }

  .tab-content p {
    font-size: clamp(14px, 3.95vw, 17px) !important;
    line-height: 1.36 !important;
    margin-bottom: 10px !important;
    max-width: 98% !important;
  }
}

@media (max-height: 720px) {
  .about-panel {
    max-height: 90svh !important;
    padding-top: 18px !important;
    padding-bottom: 16px !important;
  }

  .about-header {
    padding-bottom: 10px !important;
  }

  .tabs {
    margin-bottom: 12px !important;
  }

  .tab-content p {
    font-size: clamp(13px, 3.4vw, 16px) !important;
    line-height: 1.32 !important;
    margin-bottom: 8px !important;
  }
}
